snake.toolkit.cli.config
#
Configuration of SNAKE using Hydra.
Module Contents#
Classes#
Engine configuration for SNAKE. |
|
PhantomConfig. |
|
Statistical configuration for SNAKE. |
|
Configuration for SNAKE. |
Functions#
Validate the simulation configuration. |
|
Get Custom resolver for OmegaConf to get handler name. |
|
Get Custom resolver for OmegaConf to get handler name. |
|
Cleanup CUDA. |
|
Create a Hydra CLI for the function. |
Data#
API#
- class snake.toolkit.cli.config.PhantomConfig[source]#
PhantomConfig.
- tissue_file: str | snake.core.phantom.static.TissueFile = None#
- class snake.toolkit.cli.config.ConfigSNAKE[source]#
Configuration for SNAKE.
- sim_conf: snake.core.simulation.SimConfig = 'SimConfig(...)'#
- engine: snake.toolkit.cli.config.EngineConfig = 'EngineConfig(...)'#
- phantom: snake.toolkit.cli.config.PhantomConfig = 'PhantomConfig(...)'#
- stats: snake.toolkit.cli.config.StatConfig = 'StatConfig(...)'#
- cache_dir: pathlib.Path = '${oc.env:PWD}/cache'#
- result_dir: pathlib.Path = '${oc.env:PWD}/results'#
- filename: pathlib.Path = 'test.mrd'#
- snake.toolkit.cli.config.conf_validator(cfg: omegaconf.DictConfig) snake.toolkit.cli.config.ConfigSNAKE [source]#
Validate the simulation configuration.
- snake.toolkit.cli.config.snake_handler_resolver(name: str) str [source]#
Get Custom resolver for OmegaConf to get handler name.
- snake.toolkit.cli.config.snake_sampler_resolver(name: str) str [source]#
Get Custom resolver for OmegaConf to get handler name.
- snake.toolkit.cli.config.cs = 'instance(...)'#