iblrig.base_choice_world.ChoiceWorldTrialData

Inheritance diagram of ChoiceWorldTrialData

class iblrig.base_choice_world.ChoiceWorldTrialData[source]

Pydantic Model for Trial Data.

contrast: Annotated[float, Interval(gt=None, ge=0.0, lt=None, le=1.0)]
model_config: ClassVar[ConfigDict] = {'extra': 'allow'}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

pause_duration: Annotated[float, Ge(ge=0)]
position: float
quiescent_period: Annotated[float, Ge(ge=0)]
response_side: Annotated[int, Interval(gt=None, ge=0, lt=None, le=0)]
response_time: Annotated[float, Predicate(func=isnan)]
reward_amount: Annotated[float, Ge(ge=0)]
reward_valve_time: Annotated[float, Ge(ge=0)]
stim_angle: Annotated[float, Interval(gt=None, ge=-180.0, lt=None, le=180.0)]
stim_freq: Annotated[float, Ge(ge=0)]
stim_gain: float
stim_phase: Annotated[float, Interval(gt=None, ge=0.0, lt=None, le=6.283185307179586)]
stim_probability_left: Annotated[float, Interval(gt=None, ge=0.0, lt=None, le=1.0)]
stim_reverse: bool
stim_sigma: float
trial_correct: Annotated[bool, Interval(gt=None, ge=0, lt=None, le=0)]
trial_num: Annotated[int, Ge(ge=0)]