pyXenium.mechanostress.AxisStrengthConfig#

class AxisStrengthConfig(er_threshold=2.0, radii_um=(5.0, 10.0, 20.0, 30.0, 50.0, 75.0, 100.0, 150.0, 200.0, 300.0, 400.0, 500.0), groupby=('cluster',), local_k=15, angle_col='axis_angle_radians', x_col='centroid_x', y_col='centroid_y', cell_query=None)#

Bases: object

Configuration for axial orientation and ANE density analysis.

Parameters:
__init__(er_threshold=2.0, radii_um=(5.0, 10.0, 20.0, 30.0, 50.0, 75.0, 100.0, 150.0, 200.0, 300.0, 400.0, 500.0), groupby=('cluster',), local_k=15, angle_col='axis_angle_radians', x_col='centroid_x', y_col='centroid_y', cell_query=None)#
Parameters:
Return type:

None

Methods

__init__([er_threshold, radii_um, groupby, ...])

copy_with(**updates)

to_dict()

Attributes

er_threshold: float = 2.0#
radii_um: tuple[float, ...] = (5.0, 10.0, 20.0, 30.0, 50.0, 75.0, 100.0, 150.0, 200.0, 300.0, 400.0, 500.0)#
groupby: tuple[str, ...] = ('cluster',)#
local_k: int = 15#
angle_col: str = 'axis_angle_radians'#
x_col: str = 'centroid_x'#
y_col: str = 'centroid_y'#
cell_query: str | None = None#
to_dict()#
Return type:

dict[str, Any]

copy_with(**updates)#
Parameters:

updates (Any)

Return type:

AxisStrengthConfig