bpod_core.fsm.GlobalTimer

class bpod_core.fsm.GlobalTimer

Bases: BaseModel

A global timer in the state machine.

channel: Optional[Annotated[str]]
duration: Annotated[float]
loop: Annotated[int]
loop_interval: Annotated[float]
model_config: ClassVar[ConfigDict] = {'title': 'Global Timer', 'validate_assignment': True}

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

onset_delay: Annotated[float]
onset_trigger: Annotated[int]
send_events: Annotated[bool]
value_off: Annotated[int]
value_on: Annotated[int]