generate_voronoi_tessellation#

Workflow for generating Voronoi tessellation images.

For each condition, a Voronoi tessellation is applied to the nuclear segmentation to approximate the cell shape. The number of iterations and the target height can be used to refine the tessellation to produce realistic cell volumes.

Flows

run_flow

Main generate voronoi tessellation flow.

run_flow(context: ContextConfig, series: SeriesConfig, parameters: ParametersConfig) None[source]#

Main generate voronoi tessellation flow.

Configs

ContextConfig

Context configuration for generate voronoi tessellation flow.

ParametersConfig

Parameter configuration for generate voronoi tessellation flow.

SeriesConfig

Series configuration for generate voronoi tessellation flow.

class ContextConfig[source]#

Context configuration for generate voronoi tessellation flow.

working_location: str#

Location for input and output files (local path or S3 bucket).

class ParametersConfig[source]#

Parameter configuration for generate voronoi tessellation flow.

channel: int#

Image channel.

iterations: int#

Number of boundary estimation steps.

target_height: int#

Target height in voxels.

class SeriesConfig[source]#

Series configuration for generate voronoi tessellation flow.

name: str#

Name of the simulation series.

conditions: list[dict]#

List of series condition dictionaries (must include unique condition “key”).