Data classes#
See Data objects for an introduction. The methods for
pupil and gaze data are in the namespaces d.pupil (Pupil methods (d.pupil)) and
d.gaze (Gaze methods (d.gaze)), the plots in d.plot (Plotting (d.plot)).
Main class#
EyeData holds the data. Its methods for any channel (crop,
downsample, masks and layers, events, intervals, segments, saving, …) are
listed on its page.
Class for eye-tracking and pupillometric data: pupil size and/or gaze position (x, y) of one or two eyes. |
Channels, layers and mask policies#
The time series (d["left_pupil"]) and their mask layers are stored in
an EyeDataDict (d.data). A MaskPolicy says which
layers make a sample unusable ("default", "strict", "raw").
A dictionary that contains 1-dimensional ndarrays of equal length and with the same datatype (float). |
|
Which samples count as unusable (masked). |
Head-mounted eye trackers#
HeadMountedEyeData holds recordings of eye-tracking glasses (see
Loading and saving data): the gaze position in the scene video,
additional channels in d.aux (e.g. the motion sensors) and the methods
for the scene video in the namespace d.scene (as pipeline steps:
pp.scene.<method>(...)).
Data from a head-mounted eye tracker (eye-tracking glasses). |
|
Methods for the scene video and the motion sensors of a head-mounted eye tracker, accessed as |
History#
Simulated data (SimEyeData) are listed under
Simulated data: pp.sim.
Decorator that records a method call in the history of the returned object. |
Quality report#
Data-quality report for an eyedata object. |
|
Quality reports of several recordings (e.g., of a dataset). |
|
A single quality measure. |
Tables#
Some results are dicts that are displayed as a table
(pandas.DataFrame):
results with one row per event or trial (e.g.,
Events.to_table(),SegmentedEyeData.gaze.dwell_time) are aTable, a dict of numpy columnsresults per channel (e.g.,
EyeData.layer_stats(): channel -> layer -> statistics) and the list of example datasets are aRecordDict, a dict of records
A table: a dict of columns (column name -> numpy array), all of the same length (one value per row). |
|
A dict of records that is displayed as a table. |