exclusion_factoryο
- bapsf_motion.motion_builder.exclusions.helpers.exclusion_factory(ds: Dataset, *, ex_type: str, **settings)ο
Factory function for calling and instantiating motion exclusion classes from the registry.
- Parameters:
ds (
DataSet) β TheDataSetbeing used to construction the motion list.ex_type (str) β Name of the motion exclusion type.
settings β Keyword arguments to be passed to the retrieved motion exclusion class.
- Returns:
Instantiated motion exclusion class associated with
ex_type.- Return type: