Parameters
Warning
This module is not mature
- class byotrack.api.parameters.ParameterRange
Bases:
ABCDefine a range of validity for parameters
- class byotrack.api.parameters.ParameterBound(low: float, high: float)
Bases:
ParameterRangeBounded parameters between low and high values
- class byotrack.api.parameters.ParameterEnum(values: Set)
Bases:
ParameterRangeParameters that can have only a set of predefined value
- class byotrack.api.parameters.ParametrizedObjectMixin
Bases:
objectObjects with hyper parameters
The child classes have to define the parameters dict that describes all their parameters with a ParameterRange. When the instance tries to set a parameter value, this range is used to validate the value.
(See an implementation with SpotDetector)
- parametrized
Registered child ParametrizedObjectMixin ParametrizedObjectMixin attributes are automatically registered.
- Type:
Dict[str, ParametrizedObjectMixin]
- parameters
Defined range for parameters
- Type:
Dict[str, ParameterRange]