api.task_logic

pydantic model aind_behavior_device_water_tuner.task_logic.AindBehaviorWaterTunerParameters[source]

Bases: TaskParameters

Config:
  • extra: str = allow

  • validate_assignment: bool = True

  • validate_default: bool = True

  • strict: bool = True

  • str_strip_whitespace: bool = True

Fields:
Validators:

field repeat_count: int = 200[source]

Number of times the valve opened per measure valve_open_time entry

Constraints:
  • ge = 1

field valve_open_interval: float = 0.2[source]

Time between two consecutive valve openings (s)

Constraints:
  • gt = 0

field valve_open_time: list[float] [Required][source]

An array with the times (s) the valve is open during calibration

Constraints:
  • min_length = 1

pydantic model aind_behavior_device_water_tuner.task_logic.AindBehaviorWaterTunerTaskLogic[source]

Bases: AindBehaviorTaskLogicModel

WaterTuner operation control model that is used to run a calibration data acquisition workflow

Config:
  • extra: str = forbid

  • validate_assignment: bool = True

  • validate_default: bool = True

  • strict: bool = True

  • str_strip_whitespace: bool = True

Fields:
Validators:
field name: str = 'WaterValveCalibrationLogic'[source]
field task_parameters: AindBehaviorWaterTunerParameters [Required][source]
field version: Literal['0.2.0'] = '0.2.0'[source]
Validated by:
  • coerce_version