pymovements.events.events.Fixation.__init__#

Fixation.__init__(onset: int, offset: int, position: tuple[float, float])[source]#
Parameters:
  • onset (int) – Starting index of event (included).

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

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

Examples

>>> fixation = Fixation(
...    onset=5,
...    offset=10,
...    position=(125.1, 852.3),
... )
>>> print(fixation)
Fixation(name=fixation, onset=5, offset=10, position=(125.1, 852.3))