neuralset.events.etypes.Action

class neuralset.events.etypes.Action(*, start: float, timeline: str, duration: Annotated[float, Ge(ge=0)] = 0.0, extra: dict[str, Any] = {}, code: int = -100, description: str = '')[source][source]

Event indicating the participant performed (or imagined) an action.

This includes motor executions (e.g., finger tapping, arm movement) and imaginations. Unlike stimulus events which are presented to the participant, actions are performed by the participant.

Parameters:
  • code (int, optional) – Action code or trigger value. Default: -100 (ignored by CrossEntropyLoss)

  • description (str, optional) – Human-readable description of the action. Default: “”