larvaworld

Larvaworld : A Drosophila larva behavioral analysis and simulation platform

Submodules

Attributes

ROOT_DIR

Root directory of the larvaworld package.

DATA_DIR

Path to the data directory (data/ relative to package root).

SIM_DIR

Path to the simulation data directory (data/SimGroup/ relative to package root).

BATCH_DIR

Path to the batch runs directory (data/SimGroup/batch_runs/ relative to package root).

CONF_DIR

Path to the configuration dictionaries directory (lib/reg/confDicts/ relative to package root).

TEST_DIR

Path to the tests directory (../../tests relative to package root).

SIMTYPES

List of available simulation types for CLI and API usage.

CONFTYPES

List of available configuration types in the registry.

Functions

vprint(→ None)

Print text if the verbosity level is greater than or equal to the global VERBOSE level.

Package Contents

larvaworld.vprint(text: str = '', verbose: int = 0) None

Print text if the verbosity level is greater than or equal to the global VERBOSE level.

Parameters

text (str): The text to print. verbose (int): The verbosity level of the message.

larvaworld.ROOT_DIR: str

Root directory of the larvaworld package.

larvaworld.DATA_DIR: str = 'Uninferable/data'

Path to the data directory (data/ relative to package root).

larvaworld.SIM_DIR: str = 'Uninferable/data/SimGroup'

Path to the simulation data directory (data/SimGroup/ relative to package root).

larvaworld.BATCH_DIR: str = 'Uninferable/data/SimGroup/batch_runs'

Path to the batch runs directory (data/SimGroup/batch_runs/ relative to package root).

larvaworld.CONF_DIR: str = 'Uninferable/lib/reg/confDicts'

Path to the configuration dictionaries directory (lib/reg/confDicts/ relative to package root).

larvaworld.TEST_DIR: str = 'Uninferable/../../tests'

Path to the tests directory (../../tests relative to package root).

larvaworld.SIMTYPES: list[str] = ['Exp', 'Batch', 'Ga', 'Eval', 'Replay']

List of available simulation types for CLI and API usage.

larvaworld.CONFTYPES: list[str] = ['Env', 'LabFormat', 'Ref', 'Model', 'Trial', 'Exp', 'Batch', 'Ga']

List of available configuration types in the registry.