setup_snicar module
This module sets up BioSNICAR by creating instances of all the relevant classes using the data provided in inputs.yaml
.
setup_snicar
Calls internal functions and returns class instances as expected by BioSNICAR model.
Args
None
Returns
ice
: instance of Ice classillumination
: instance of Illumination classrt_config
: instance of RTConfig classmodel_config
: instance of ModelConfig classplot_config
: instance of PlotConfig classdisplay_config
: instance of DisplayConfig class
build_classes
Instantiates classes according to config in yaml file.
Args
None
Returns
ice
: instance of Ice classillumination
: instance of Illumination classrt_config
: instance of RTConfig classmodel_config
: instance of ModelConfig classplot_config
: instance of PlotConfig classdisplay_config
: instance of DisplayConfig class
build_impurities_array
Creates an array of instances of Impurity with properties defined in yaml file.
Args:
None
Returns:
impurities
: array of instances of Impurity