convert_physicell_format#
Workflow for converting PhysiCell simulations to other formats.
Working location structure:
(name)
├── converted
│ └── converted.SIMULARIUM
│ └── (name)_(key)_(seed).simularium
└── data
└── (name)_(key)_(seed).tar.xz
Formatted data are saved to converted.
Flows
Main convert PhysiCell format flow. |
|
Convert PhysiCell format subflow for Simularium. |
- run_flow(context: ContextConfig, series: SeriesConfig, parameters: ParametersConfig) None [source]#
Main convert PhysiCell format flow.
- run_flow_convert_to_simularium(context: ContextConfig, series: SeriesConfig, parameters: ParametersConfig) None [source]#
Convert PhysiCell format subflow for Simularium.
Configs
Context configuration for convert PhysiCell format flow. |
|
Parameter configuration for convert PhysiCell format flow. |
|
Series configuration for convert PhysiCell format flow. |
- class ContextConfig[source]#
Context configuration for convert PhysiCell format flow.
- working_location: str#
Location for input and output files (local path or S3 bucket).
- class ParametersConfig[source]#
Parameter configuration for convert PhysiCell format flow.
- box_size: tuple[float, float, float] = (1.0, 1.0, 1.0)#
Size of bounding box.
- timestep: float = 1.0#
Simulation timestep.
- formats: list[str]#
List of convert formats.
- substrate_color: str = '#d0c5c8'#
Color for substrate.
- cell_colors: list[str]#
Colors for individual cells.
- frame_spec: tuple[int, int, int] = (0, 1, 1)#
Specification for simulation ticks to use for converting to simularium.