pymovements.events.base.Fixation

class pymovements.events.base.Fixation(onset: int, offset: int, position: tuple[float, float])[source]

Fixation class.

Parameters
  • onset (int) – Starting index of event (included).

  • offset (int) – Ending index of event (excluded).

  • position (tuple[float, float]) – (x, y) position of fixation

name

Name of event.

Type

str

onset

Starting index of event (included).

Type

int

offset

Ending index of event (excluded).

Type

int

position

(x, y) position of fixation

Type

tuple[float, float]

__init__(onset: int, offset: int, position: tuple[float, float])[source]

Methods

__init__(onset, offset, position)

Attributes

duration

Get sample duration of event.