cellcoloc.ColocalizationRunResult

class cellcoloc.ColocalizationRunResult(cell_masks, marker_masks, positive_cell_masks, tables, optional_region_masks=None, analysis_z_bounds=None, cell_refinement_context=None, marker_refinement_context=None, optional_region_refinement_context=None)[source]

Bundle label masks and tables generated by one completed analysis run.

cell_masks, marker_masks, positive_cell_masks

Full-stack label images for the primary cell channel, the marker channel, and the subset of marker-positive cells.

tables

Detailed, per-cell summary, and per-ROI overview tables.

optional_region_masks

Optional third-channel label image when such a channel was segmented.

analysis_z_bounds

Optional global z interval actually used for internal segmentation and quantification. Arrays remain full-stack sized even when this is set.

cell_refinement_context, marker_refinement_context,
optional_region_refinement_context

Optional cached Cellpose network outputs that allow later threshold-only refinement without rerunning the neural network forward pass.

__init__(cell_masks, marker_masks, positive_cell_masks, tables, optional_region_masks=None, analysis_z_bounds=None, cell_refinement_context=None, marker_refinement_context=None, optional_region_refinement_context=None)

Methods

__init__(cell_masks,Β marker_masks,Β ...[,Β ...])

Attributes

cell_masks

marker_masks

positive_cell_masks

tables

optional_region_masks

analysis_z_bounds

cell_refinement_context

marker_refinement_context

optional_region_refinement_context