sierra.core.pipeline.stage4.model_runner

Classes for running project-specific Models.

class sierra.core.pipeline.stage4.model_runner.IntraExpModelRunner(cmdopts: Dict[str, Any], to_run: List[Union[IConcreteIntraExpModel1D, IConcreteIntraExpModel2D]])[source]

Runs all enabled intra-experiment models for all experiments in a batch.

Inheritance

Inheritance diagram of IntraExpModelRunner
__call__(main_config: Dict[str, Any], criteria: IConcreteBatchCriteria) None[source]

Call self as a function.

__dict__ = mappingproxy({'__module__': 'sierra.core.pipeline.stage4.model_runner', '__doc__': '\n    Runs all enabled intra-experiment models for all experiments in a batch.\n    ', '__init__': <function IntraExpModelRunner.__init__>, '__call__': <function IntraExpModelRunner.__call__>, '_run_models_in_exp': <function IntraExpModelRunner._run_models_in_exp>, '_run_model_in_exp': <function IntraExpModelRunner._run_model_in_exp>, '__dict__': <attribute '__dict__' of 'IntraExpModelRunner' objects>, '__weakref__': <attribute '__weakref__' of 'IntraExpModelRunner' objects>, '__annotations__': {}})
__doc__ = '\n    Runs all enabled intra-experiment models for all experiments in a batch.\n    '
__init__(cmdopts: Dict[str, Any], to_run: List[Union[IConcreteIntraExpModel1D, IConcreteIntraExpModel2D]]) None[source]
__module__ = 'sierra.core.pipeline.stage4.model_runner'
__weakref__

list of weak references to the object (if defined)

_run_model_in_exp(criteria: IConcreteBatchCriteria, cmdopts: Dict[str, Any], exp_index: int, model: Union[IConcreteIntraExpModel1D, IConcreteIntraExpModel2D]) None[source]
_run_models_in_exp(criteria: IConcreteBatchCriteria, exp_dirnames: List[Path], exp: Path) None[source]
class sierra.core.pipeline.stage4.model_runner.InterExpModelRunner(cmdopts: Dict[str, Any], to_run: List[IConcreteInterExpModel1D])[source]

Runs all enabled inter-experiment models in a batch.

Inheritance

Inheritance diagram of InterExpModelRunner
__call__(main_config: Dict[str, Any], criteria: IConcreteBatchCriteria) None[source]

Call self as a function.

__dict__ = mappingproxy({'__module__': 'sierra.core.pipeline.stage4.model_runner', '__doc__': '\n    Runs all enabled inter-experiment models in a batch.\n    ', '__init__': <function InterExpModelRunner.__init__>, '__call__': <function InterExpModelRunner.__call__>, '__dict__': <attribute '__dict__' of 'InterExpModelRunner' objects>, '__weakref__': <attribute '__weakref__' of 'InterExpModelRunner' objects>, '__annotations__': {}})
__doc__ = '\n    Runs all enabled inter-experiment models in a batch.\n    '
__init__(cmdopts: Dict[str, Any], to_run: List[IConcreteInterExpModel1D]) None[source]
__module__ = 'sierra.core.pipeline.stage4.model_runner'
__weakref__

list of weak references to the object (if defined)