pymovements.Gaze.map_to_aois#

Gaze.map_to_aois(aoi_dataframe: TextStimulus, *, eye: str = 'auto', gaze_type: str = 'pixel') None[source]#

Map gaze data to aois.

We map each gaze point to an aoi, considering the boundary still part of the area of interest.

Parameters:
  • aoi_dataframe (pm.stimulus.TextStimulus) – Area of interest dataframe.

  • eye (str) – String specificer for inferring eye components. Supported values are: auto, mono, left right, cyclops. Default: auto.

  • gaze_type (str) – String specificer for whether to use position or pixel coordinates for mapping. Default: pixel.