api.task_logic¶
- pydantic model aind_behavior_device_olfactometer.task_logic.OlfactometerCalibrationLogic[source]¶
Bases:
AindBehaviorTaskLogicModel
Olfactometer operation control model that is used to run a calibration data acquisition workflow
- Config:
extra: str = forbid
validate_assignment: bool = True
validate_defaults: bool = True
strict: bool = True
str_strip_whitespace: bool = True
- Fields:
- Validators:
coerce_version
»version
- field task_parameters: OlfactometerCalibrationParameters [Required][source]¶
- pydantic model aind_behavior_device_olfactometer.task_logic.OlfactometerCalibrationParameters[source]¶
Bases:
TaskParameters
- Config:
extra: str = allow
validate_assignment: bool = True
validate_defaults: bool = True
strict: bool = True
str_strip_whitespace: bool = True
- Fields:
- Validators:
- field channel_config: Dict[OlfactometerChannel, OlfactometerChannelConfig] = {}[source]¶
Configuration of olfactometer channels
- field full_flow_rate: float = 1000[source]¶
Full flow rate of the olfactometer
- Constraints:
ge = 0
le = 1000