calculate_positions#

Workflow for calculating voxel positions.

Working location structure:

(name)
├── data
│   └── data.LOCATIONS
│       └── (name)_(key)_(seed).LOCATIONS.tar.xz
└── calculations
    └── calculations.POSITIONS
        └── (name)_(key)_(seed)_(tick).POSITIONS.csv

Data from data.LOCATIONS are used to calculate positions, which are saved to calculations.POSITIONS.

Flows

run_flow

Main calculate positions flow.

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

Main calculate positions flow.

Configs

ContextConfig

Context configuration for calculate positions flow.

ParametersConfig

Parameter configuration for calculate positions flow.

SeriesConfig

Series configuration for calculate positions flow.

class ContextConfig[source]#

Context configuration for calculate positions flow.

working_location: str#

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

class ParametersConfig[source]#

Parameter configuration for calculate positions flow.

key: str#

Simulation key to calculate.

seed: int#

Simulation random seed to calculate.

tick: int#

Simulation tick to calculate.

class SeriesConfig[source]#

Series configuration for calculate positions flow.

name: str#

Name of the simulation series.