Handling Gaze Events#
What you will learn in this tutorial:#
how to detect different events using different algorithms like IDT, IVT and microsaccades
how to compute event properties like peak velocity and amplitude
how to save and load your event data
Preparations#
At first, we import pymovements as the alias pm for convenience.
import pymovements as pm
Then we download a dataset ToyDataset and load its data:
dataset = pm.Dataset('ToyDataset', path='data/ToyDataset')
dataset.download()
dataset.load()
INFO:pymovements.dataset.dataset:
You are downloading the pymovements Toy Dataset. Please be aware that pymovements does not
host or distribute any dataset resources and only provides a convenient interface to
download the public dataset resources that were published by their respective authors.
Please cite the referenced publication if you intend to use the dataset in your research.
Downloading https://github.com/pymovements/pymovements-toy-dataset/archive/refs/heads/main.zip to data/ToyDataset/downloads/pymovements-toy-dataset.zip
Checking integrity of pymovements-toy-dataset.zip
Extracting pymovements-toy-dataset.zip to data/ToyDataset/raw
Extracting archive: 0%| | 0/23 [00:00<?, ?file/s]
Extracting archive: 100%|██████████| 23/23 [00:00<00:00, 381.95file/s]
-
DatasetDefinitionDatasetDefinition
-
NoneNone
-
NoneNone
-
NoneNone
-
NoneNone
-
ExperimentExperiment
-
EyeTrackerEyeTracker
-
NoneNone
-
NoneNone
-
NoneNone
-
NoneNone
-
10001000
-
NoneNone
-
NoneNone
-
-
10001000
-
ScreenScreen
-
6868
-
30.230.2
-
10241024
-
'upper left''upper left'
-
3838
-
12801280
-
15.59938648778295315.599386487782953
-
-15.599386487782953-15.599386487782953
-
12.50804441088254612.508044410882546
-
-12.508044410882546-12.508044410882546
-
-
-
NoneNone
-
dict (1 items)
-
'trial_{text_id:d}_{page_id:d}.csv''trial_{text_id:d}_{page_id:d}.csv'
-
-
dict (1 items)
-
dict (2 items)
-
<class 'int'><class 'int'>
-
<class 'int'><class 'int'>
-
-
-
TrueTrue
-
'pymovements Toy Dataset''pymovements Toy Dataset'
-
dict (0 items)
-
'ToyDataset''ToyDataset'
-
NoneNone
-
NoneNone
-
list (1 items)
-
ResourceDefinition
-
'gaze''gaze'
-
'pymovements-toy-dataset.zip''pymovements-toy-dataset.zip'
-
'trial_{text_id:d}_{page_id:d}.csv''trial_{text_id:d}_{page_id:d}.csv'
-
dict (2 items)
-
<class 'int'><class 'int'>
-
<class 'int'><class 'int'>
-
-
NoneNone
-
dict (4 items)
-
'timestamp''timestamp'
-
'ms''ms'
- (2 more)
-
-
'256901852c1c07581d375eef705855d6''256901852c1c07581d375eef705855d6'
-
NoneNone
-
str'https://github.com/pymovements/pymovements-toy-dataset/archive/refs/heads/main.zip'
-
-
ResourceDefinition
-
NoneNone
-
NoneNone
-
NoneNone
-
NoneNone
-
-
tuple(shape: (0, 4) ┌──────┬───────┬────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════╪═══════╪════════╪══════════╡ └──────┴───────┴────────┴──────────┘, shape: (0, 4) ┌──────┬───────┬────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════╪═══════╪════════╪══════════╡ └──────┴───────┴────────┴──────────┘, shape: (0, 4) ┌──────┬───────┬────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════╪═══════╪════════╪══════════╡ └──────┴───────┴────────┴──────────┘, shape: (0, 4) ┌──────┬───────┬────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════╪═══════╪════════╪══════════╡ └──────┴───────┴────────┴──────────┘, shape: (0, 4) ┌──────┬───────┬────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════╪═══════╪════════╪══════════╡ └──────┴───────┴────────┴──────────┘, shape: (0, 4) ┌──────┬───────┬────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════╪═══════╪════════╪══════════╡ └──────┴───────┴────────┴──────────┘, shape: (0, 4) ┌──────┬───────┬────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════╪═══════╪════════╪══════════╡ └──────┴───────┴────────┴──────────┘, shape: (0, 4) ┌──────┬───────┬────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════╪═══════╪════════╪══════════╡ └──────┴───────┴────────┴──────────┘, shape: (0, 4) ┌──────┬───────┬────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════╪═══════╪════════╪══════════╡ └──────┴───────┴────────┴──────────┘, shape: (0, 4) ┌──────┬───────┬────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════╪═══════╪════════╪══════════╡ └──────┴───────┴────────┴──────────┘, shape: (0, 4) ┌──────┬───────┬────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════╪═══════╪════════╪══════════╡ └──────┴───────┴────────┴──────────┘, shape: (0, 4) ┌──────┬───────┬────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════╪═══════╪════════╪══════════╡ └──────┴───────┴────────┴──────────┘, shape: (0, 4) ┌──────┬───────┬────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════╪═══════╪════════╪══════════╡ └──────┴───────┴────────┴──────────┘, shape: (0, 4) ┌──────┬───────┬────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════╪═══════╪════════╪══════════╡ └──────┴───────┴────────┴──────────┘, shape: (0, 4) ┌──────┬───────┬────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════╪═══════╪════════╪══════════╡ └──────┴───────┴────────┴──────────┘, shape: (0, 4) ┌──────┬───────┬────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════╪═══════╪════════╪══════════╡ └──────┴───────┴────────┴──────────┘, shape: (0, 4) ┌──────┬───────┬────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════╪═══════╪════════╪══════════╡ └──────┴───────┴────────┴──────────┘, shape: (0, 4) ┌──────┬───────┬────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════╪═══════╪════════╪══════════╡ └──────┴───────┴────────┴──────────┘, shape: (0, 4) ┌──────┬───────┬────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════╪═══════╪════════╪══════════╡ └──────┴───────┴────────┴──────────┘, shape: (0, 4) ┌──────┬───────┬────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════╪═══════╪════════╪══════════╡ └──────┴───────┴────────┴──────────┘)
-
dict (1 items)
-
DataFrame (3 columns, 20 rows)shape: (20, 3)
text_id page_id filepath i64 i64 str 0 1 "pymovements-toy-dataset-main/d… 0 2 "pymovements-toy-dataset-main/d… 0 3 "pymovements-toy-dataset-main/d… 0 4 "pymovements-toy-dataset-main/d… 0 5 "pymovements-toy-dataset-main/d… … … … 3 1 "pymovements-toy-dataset-main/d… 3 2 "pymovements-toy-dataset-main/d… 3 3 "pymovements-toy-dataset-main/d… 3 4 "pymovements-toy-dataset-main/d… 3 5 "pymovements-toy-dataset-main/d…
-
-
list (20 items)
-
Gaze
-
DataFrame (4 columns, 17223 rows)shape: (17_223, 4)
time stimuli_x stimuli_y pixel i64 f64 f64 list[f64] 1988145 -1.0 -1.0 [206.8, 152.4] 1988146 -1.0 -1.0 [206.9, 152.1] 1988147 -1.0 -1.0 [207.0, 151.8] 1988148 -1.0 -1.0 [207.1, 151.7] 1988149 -1.0 -1.0 [207.0, 151.5] … … … … 2005363 -1.0 -1.0 [361.0, 415.4] 2005364 -1.0 -1.0 [358.0, 414.5] 2005365 -1.0 -1.0 [355.8, 413.8] 2005366 -1.0 -1.0 [353.1, 413.2] 2005367 -1.0 -1.0 [351.2, 412.9] -
EventsEvents
-
DataFrame (4 columns, 0 rows)shape: (0, 4)
name onset offset duration str i64 i64 i64 -
NoneNone
-
-
NoneNone
-
ExperimentExperiment
-
EyeTrackerEyeTracker
-
NoneNone
-
NoneNone
-
NoneNone
-
NoneNone
-
10001000
-
NoneNone
-
NoneNone
-
-
10001000
-
ScreenScreen
-
6868
-
30.230.2
-
10241024
-
'upper left''upper left'
-
3838
-
12801280
-
15.59938648778295315.599386487782953
-
-15.599386487782953-15.599386487782953
-
12.50804441088254612.508044410882546
-
-12.508044410882546-12.508044410882546
-
-
-
-
Gaze
-
DataFrame (4 columns, 29799 rows)shape: (29_799, 4)
time stimuli_x stimuli_y pixel i64 f64 f64 list[f64] 2008305 -1.0 -1.0 [141.4, 153.6] 2008306 -1.0 -1.0 [141.1, 153.2] 2008307 -1.0 -1.0 [140.7, 152.8] 2008308 -1.0 -1.0 [140.6, 152.7] 2008309 -1.0 -1.0 [140.5, 152.6] … … … … 2038099 -1.0 -1.0 [273.8, 773.8] 2038100 -1.0 -1.0 [273.8, 774.1] 2038101 -1.0 -1.0 [273.9, 774.5] 2038102 -1.0 -1.0 [274.0, 774.4] 2038103 -1.0 -1.0 [274.0, 773.9] -
EventsEvents
-
DataFrame (4 columns, 0 rows)shape: (0, 4)
name onset offset duration str i64 i64 i64 -
NoneNone
-
-
NoneNone
-
ExperimentExperiment
-
EyeTrackerEyeTracker
-
NoneNone
-
NoneNone
-
NoneNone
-
NoneNone
-
10001000
-
NoneNone
-
NoneNone
-
-
10001000
-
ScreenScreen
-
6868
-
30.230.2
-
10241024
-
'upper left''upper left'
-
3838
-
12801280
-
15.59938648778295315.599386487782953
-
-15.599386487782953-15.599386487782953
-
12.50804441088254612.508044410882546
-
-12.508044410882546-12.508044410882546
-
-
-
- (18 more)
-
Gaze
-
PosixPath('data/ToyDataset')PosixPath('data/ToyDataset')
-
DatasetPathsDatasetPaths
-
PosixPath('data/ToyDataset')PosixPath('data/ToyDataset')
-
PosixPath('data/ToyDataset/downloads')PosixPath('data/ToyDataset/downloads')
-
PosixPath('data/ToyDataset/events')PosixPath('data/ToyDataset/events')
-
PosixPath('data/ToyDataset/precomputed_events')PosixPath('data/ToyDataset/precomputed_events')
-
PosixPathPosixPath('data/ToyDataset/precomputed_reading_measures')
-
PosixPath('data/ToyDataset/preprocessed')PosixPath('data/ToyDataset/preprocessed')
-
PosixPath('data/ToyDataset/raw')PosixPath('data/ToyDataset/raw')
-
PosixPath('data/ToyDataset')PosixPath('data/ToyDataset')
-
-
list (0 items)
-
list (0 items)
The dataset consists of gaze data in 20 files (check Dataset/gaze above). Every Gaze has some samples with six columns (check Gaze/samples): [time, stimuli_x, stimuli_y, text_id, page_id, pixel]. The Gaze/events DataFrame is empty so far. To be able to calculate events, we need to do some basic preprocessing, which will add new columns to the dataset samples DataFrame:
Dataset.pix2deg(): addspositioncolumn with degrees from the screen center needed by theidtalgorithmDataset.pos2vel(): addsvelocitycolumn with gaze velocities needed bymicrosaccadesandivtalgorithms
dataset.pix2deg()
dataset.pos2vel('smooth')
dataset.gaze[0]
-
DataFrame (6 columns, 17223 rows)shape: (17_223, 6)
time stimuli_x stimuli_y pixel position velocity i64 f64 f64 list[f64] list[f64] list[f64] 1988145 -1.0 -1.0 [206.8, 152.4] [-10.697598, -8.852399] [null, null] 1988146 -1.0 -1.0 [206.9, 152.1] [-10.695183, -8.859678] [null, null] 1988147 -1.0 -1.0 [207.0, 151.8] [-10.692768, -8.866956] [1.610194, -5.256267] 1988148 -1.0 -1.0 [207.1, 151.7] [-10.690352, -8.869381] [0.402548, -4.447465] 1988149 -1.0 -1.0 [207.0, 151.5] [-10.692768, -8.874233] [0.402561, -3.234462] … … … … … … 2005363 -1.0 -1.0 [361.0, 415.4] [-6.932438, -2.386672] [-63.266374, -21.085616] 2005364 -1.0 -1.0 [358.0, 414.5] [-7.006376, -2.408998] [-63.249652, -19.431326] 2005365 -1.0 -1.0 [355.8, 413.8] [-7.060582, -2.426362] [-60.359624, -15.710061] 2005366 -1.0 -1.0 [353.1, 413.2] [-7.12709, -2.441245] [null, null] 2005367 -1.0 -1.0 [351.2, 412.9] [-7.173881, -2.448686] [null, null] -
EventsEvents
-
DataFrame (4 columns, 0 rows)shape: (0, 4)
name onset offset duration str i64 i64 i64 -
NoneNone
-
-
NoneNone
-
ExperimentExperiment
-
EyeTrackerEyeTracker
-
NoneNone
-
NoneNone
-
NoneNone
-
NoneNone
-
10001000
-
NoneNone
-
NoneNone
-
-
10001000
-
ScreenScreen
-
6868
-
30.230.2
-
10241024
-
'upper left''upper left'
-
3838
-
12801280
-
15.59938648778295315.599386487782953
-
-15.599386487782953-15.599386487782953
-
12.50804441088254612.508044410882546
-
-12.508044410882546-12.508044410882546
-
-
Now every Gaze/samples DataFrame has two more columns: position and velocity which will be used by the event detection algorithms.
Detecting Events#
pymovements provides a range of event detection methods for several types of gaze events.
See the reference for Events to get an overview of all the supported methods.
For this tutorial we will use the I-DT and I-VT (idt and ivt) algorithms for detecting fixations and the microsaccades algorithm for detecting saccades.
Let’s start with fixations detection using the idt algorithm with the dispersion_threshold equal to 2.7:
dataset.detect_events('idt', dispersion_threshold=2.7)
-
DatasetDefinitionDatasetDefinition
-
NoneNone
-
NoneNone
-
NoneNone
-
NoneNone
-
ExperimentExperiment
-
EyeTrackerEyeTracker
-
NoneNone
-
NoneNone
-
NoneNone
-
NoneNone
-
10001000
-
NoneNone
-
NoneNone
-
-
10001000
-
ScreenScreen
-
6868
-
30.230.2
-
10241024
-
'upper left''upper left'
-
3838
-
12801280
-
15.59938648778295315.599386487782953
-
-15.599386487782953-15.599386487782953
-
12.50804441088254612.508044410882546
-
-12.508044410882546-12.508044410882546
-
-
-
NoneNone
-
dict (1 items)
-
'trial_{text_id:d}_{page_id:d}.csv''trial_{text_id:d}_{page_id:d}.csv'
-
-
dict (1 items)
-
dict (2 items)
-
<class 'int'><class 'int'>
-
<class 'int'><class 'int'>
-
-
-
TrueTrue
-
'pymovements Toy Dataset''pymovements Toy Dataset'
-
dict (0 items)
-
'ToyDataset''ToyDataset'
-
NoneNone
-
NoneNone
-
list (1 items)
-
ResourceDefinition
-
'gaze''gaze'
-
'pymovements-toy-dataset.zip''pymovements-toy-dataset.zip'
-
'trial_{text_id:d}_{page_id:d}.csv''trial_{text_id:d}_{page_id:d}.csv'
-
dict (2 items)
-
<class 'int'><class 'int'>
-
<class 'int'><class 'int'>
-
-
NoneNone
-
dict (4 items)
-
'timestamp''timestamp'
-
'ms''ms'
- (2 more)
-
-
'256901852c1c07581d375eef705855d6''256901852c1c07581d375eef705855d6'
-
NoneNone
-
str'https://github.com/pymovements/pymovements-toy-dataset/archive/refs/heads/main.zip'
-
-
ResourceDefinition
-
NoneNone
-
NoneNone
-
NoneNone
-
NoneNone
-
-
tuple(shape: (56, 4) ┌──────────┬─────────┬─────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════════╪═════════╪═════════╪══════════╡ │ fixation ┆ 1988145 ┆ 1988563 ┆ 418 │ │ fixation ┆ 1988564 ┆ 1988750 ┆ 186 │ │ fixation ┆ 1988751 ┆ 1989178 ┆ 427 │ │ fixation ┆ 1989179 ┆ 1989436 ┆ 257 │ │ fixation ┆ 1989437 ┆ 1989600 ┆ 163 │ │ … ┆ … ┆ … ┆ … │ │ fixation ┆ 2003929 ┆ 2004090 ┆ 161 │ │ fixation ┆ 2004091 ┆ 2004363 ┆ 272 │ │ fixation ┆ 2004364 ┆ 2004883 ┆ 519 │ │ fixation ┆ 2004885 ┆ 2005116 ┆ 231 │ │ fixation ┆ 2005117 ┆ 2005298 ┆ 181 │ └──────────┴─────────┴─────────┴──────────┘, shape: (94, 4) ┌──────────┬─────────┬─────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════════╪═════════╪═════════╪══════════╡ │ fixation ┆ 2008305 ┆ 2008621 ┆ 316 │ │ fixation ┆ 2008622 ┆ 2008821 ┆ 199 │ │ fixation ┆ 2008822 ┆ 2009214 ┆ 392 │ │ fixation ┆ 2009215 ┆ 2009433 ┆ 218 │ │ fixation ┆ 2009434 ┆ 2009704 ┆ 270 │ │ … ┆ … ┆ … ┆ … │ │ fixation ┆ 2036840 ┆ 2037175 ┆ 335 │ │ fixation ┆ 2037176 ┆ 2037424 ┆ 248 │ │ fixation ┆ 2037462 ┆ 2037644 ┆ 182 │ │ fixation ┆ 2037645 ┆ 2037824 ┆ 179 │ │ fixation ┆ 2037825 ┆ 2038103 ┆ 278 │ └──────────┴─────────┴─────────┴──────────┘, shape: (90, 4) ┌──────────┬─────────┬─────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════════╪═════════╪═════════╪══════════╡ │ fixation ┆ 2041029 ┆ 2041360 ┆ 331 │ │ fixation ┆ 2041361 ┆ 2041563 ┆ 202 │ │ fixation ┆ 2041564 ┆ 2041761 ┆ 197 │ │ fixation ┆ 2041762 ┆ 2041945 ┆ 183 │ │ fixation ┆ 2041946 ┆ 2042314 ┆ 368 │ │ … ┆ … ┆ … ┆ … │ │ fixation ┆ 2066245 ┆ 2066571 ┆ 326 │ │ fixation ┆ 2066572 ┆ 2066767 ┆ 195 │ │ fixation ┆ 2066768 ┆ 2066974 ┆ 206 │ │ fixation ┆ 2066975 ┆ 2067307 ┆ 332 │ │ fixation ┆ 2067308 ┆ 2067590 ┆ 282 │ └──────────┴─────────┴─────────┴──────────┘, shape: (113, 4) ┌──────────┬─────────┬─────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════════╪═════════╪═════════╪══════════╡ │ fixation ┆ 2070587 ┆ 2070931 ┆ 344 │ │ fixation ┆ 2070932 ┆ 2071140 ┆ 208 │ │ fixation ┆ 2071141 ┆ 2071532 ┆ 391 │ │ fixation ┆ 2071533 ┆ 2071744 ┆ 211 │ │ fixation ┆ 2071745 ┆ 2072028 ┆ 283 │ │ … ┆ … ┆ … ┆ … │ │ fixation ┆ 2101831 ┆ 2102067 ┆ 236 │ │ fixation ┆ 2102068 ┆ 2102655 ┆ 587 │ │ fixation ┆ 2102656 ┆ 2102780 ┆ 124 │ │ fixation ┆ 2102828 ┆ 2103015 ┆ 187 │ │ fixation ┆ 2103016 ┆ 2103190 ┆ 174 │ └──────────┴─────────┴─────────┴──────────┘, shape: (103, 4) ┌──────────┬─────────┬─────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════════╪═════════╪═════════╪══════════╡ │ fixation ┆ 2105893 ┆ 2106270 ┆ 377 │ │ fixation ┆ 2106271 ┆ 2106700 ┆ 429 │ │ fixation ┆ 2106701 ┆ 2106958 ┆ 257 │ │ fixation ┆ 2106959 ┆ 2107189 ┆ 230 │ │ fixation ┆ 2107190 ┆ 2107488 ┆ 298 │ │ … ┆ … ┆ … ┆ … │ │ fixation ┆ 2137360 ┆ 2137564 ┆ 204 │ │ fixation ┆ 2137565 ┆ 2137903 ┆ 338 │ │ fixation ┆ 2137904 ┆ 2138343 ┆ 439 │ │ fixation ┆ 2138344 ┆ 2138536 ┆ 192 │ │ fixation ┆ 2138537 ┆ 2138966 ┆ 429 │ └──────────┴─────────┴─────────┴──────────┘, shape: (84, 4) ┌──────────┬─────────┬─────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════════╪═════════╪═════════╪══════════╡ │ fixation ┆ 2415266 ┆ 2415669 ┆ 403 │ │ fixation ┆ 2415670 ┆ 2415857 ┆ 187 │ │ fixation ┆ 2415858 ┆ 2416221 ┆ 363 │ │ fixation ┆ 2416222 ┆ 2416431 ┆ 209 │ │ fixation ┆ 2416432 ┆ 2416833 ┆ 401 │ │ … ┆ … ┆ … ┆ … │ │ fixation ┆ 2436951 ┆ 2437160 ┆ 209 │ │ fixation ┆ 2437161 ┆ 2437319 ┆ 158 │ │ fixation ┆ 2437320 ┆ 2437565 ┆ 245 │ │ fixation ┆ 2437566 ┆ 2438090 ┆ 524 │ │ fixation ┆ 2438091 ┆ 2438319 ┆ 228 │ └──────────┴─────────┴─────────┴──────────┘, shape: (69, 4) ┌──────────┬─────────┬─────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════════╪═════════╪═════════╪══════════╡ │ fixation ┆ 2440987 ┆ 2441199 ┆ 212 │ │ fixation ┆ 2441201 ┆ 2441540 ┆ 339 │ │ fixation ┆ 2441541 ┆ 2441735 ┆ 194 │ │ fixation ┆ 2441736 ┆ 2442222 ┆ 486 │ │ fixation ┆ 2442223 ┆ 2442432 ┆ 209 │ │ … ┆ … ┆ … ┆ … │ │ fixation ┆ 2461640 ┆ 2462102 ┆ 462 │ │ fixation ┆ 2462103 ┆ 2462343 ┆ 240 │ │ fixation ┆ 2462344 ┆ 2462719 ┆ 375 │ │ fixation ┆ 2462720 ┆ 2462957 ┆ 237 │ │ fixation ┆ 2462958 ┆ 2463278 ┆ 320 │ └──────────┴─────────┴─────────┴──────────┘, shape: (91, 4) ┌──────────┬─────────┬─────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════════╪═════════╪═════════╪══════════╡ │ fixation ┆ 2466370 ┆ 2466713 ┆ 343 │ │ fixation ┆ 2466714 ┆ 2466931 ┆ 217 │ │ fixation ┆ 2466932 ┆ 2467210 ┆ 278 │ │ fixation ┆ 2467211 ┆ 2467634 ┆ 423 │ │ fixation ┆ 2467635 ┆ 2467847 ┆ 212 │ │ … ┆ … ┆ … ┆ … │ │ fixation ┆ 2493977 ┆ 2494408 ┆ 431 │ │ fixation ┆ 2494416 ┆ 2494725 ┆ 309 │ │ fixation ┆ 2494728 ┆ 2495138 ┆ 410 │ │ fixation ┆ 2495141 ┆ 2495544 ┆ 403 │ │ fixation ┆ 2495555 ┆ 2495757 ┆ 202 │ └──────────┴─────────┴─────────┴──────────┘, shape: (107, 4) ┌──────────┬─────────┬─────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════════╪═════════╪═════════╪══════════╡ │ fixation ┆ 2498476 ┆ 2498820 ┆ 344 │ │ fixation ┆ 2498821 ┆ 2499287 ┆ 466 │ │ fixation ┆ 2499288 ┆ 2499810 ┆ 522 │ │ fixation ┆ 2499811 ┆ 2500103 ┆ 292 │ │ fixation ┆ 2500104 ┆ 2500284 ┆ 180 │ │ … ┆ … ┆ … ┆ … │ │ fixation ┆ 2531473 ┆ 2531773 ┆ 300 │ │ fixation ┆ 2531774 ┆ 2532136 ┆ 362 │ │ fixation ┆ 2532137 ┆ 2532447 ┆ 310 │ │ fixation ┆ 2532448 ┆ 2532816 ┆ 368 │ │ fixation ┆ 2532817 ┆ 2532945 ┆ 128 │ └──────────┴─────────┴─────────┴──────────┘, shape: (79, 4) ┌──────────┬─────────┬─────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════════╪═════════╪═════════╪══════════╡ │ fixation ┆ 2535732 ┆ 2536093 ┆ 361 │ │ fixation ┆ 2536094 ┆ 2536624 ┆ 530 │ │ fixation ┆ 2536628 ┆ 2536852 ┆ 224 │ │ fixation ┆ 2536853 ┆ 2537086 ┆ 233 │ │ fixation ┆ 2537087 ┆ 2537493 ┆ 406 │ │ … ┆ … ┆ … ┆ … │ │ fixation ┆ 2558103 ┆ 2558303 ┆ 200 │ │ fixation ┆ 2558304 ┆ 2558520 ┆ 216 │ │ fixation ┆ 2558521 ┆ 2558833 ┆ 312 │ │ fixation ┆ 2558834 ┆ 2559152 ┆ 318 │ │ fixation ┆ 2559153 ┆ 2559324 ┆ 171 │ └──────────┴─────────┴─────────┴──────────┘, shape: (90, 4) ┌──────────┬─────────┬─────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════════╪═════════╪═════════╪══════════╡ │ fixation ┆ 1788369 ┆ 1788627 ┆ 258 │ │ fixation ┆ 1788628 ┆ 1788968 ┆ 340 │ │ fixation ┆ 1788969 ┆ 1789139 ┆ 170 │ │ fixation ┆ 1789140 ┆ 1789319 ┆ 179 │ │ fixation ┆ 1789320 ┆ 1789594 ┆ 274 │ │ … ┆ … ┆ … ┆ … │ │ fixation ┆ 1816429 ┆ 1816673 ┆ 244 │ │ fixation ┆ 1816718 ┆ 1816873 ┆ 155 │ │ fixation ┆ 1816874 ┆ 1817199 ┆ 325 │ │ fixation ┆ 1817200 ┆ 1817538 ┆ 338 │ │ fixation ┆ 1817539 ┆ 1818028 ┆ 489 │ └──────────┴─────────┴─────────┴──────────┘, shape: (97, 4) ┌──────────┬─────────┬─────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════════╪═════════╪═════════╪══════════╡ │ fixation ┆ 1821110 ┆ 1821608 ┆ 498 │ │ fixation ┆ 1821609 ┆ 1822344 ┆ 735 │ │ fixation ┆ 1822345 ┆ 1822843 ┆ 498 │ │ fixation ┆ 1822844 ┆ 1823142 ┆ 298 │ │ fixation ┆ 1823143 ┆ 1823381 ┆ 238 │ │ … ┆ … ┆ … ┆ … │ │ fixation ┆ 1852871 ┆ 1853147 ┆ 276 │ │ fixation ┆ 1853148 ┆ 1853348 ┆ 200 │ │ fixation ┆ 1853397 ┆ 1853600 ┆ 203 │ │ fixation ┆ 1853601 ┆ 1853794 ┆ 193 │ │ fixation ┆ 1853795 ┆ 1854202 ┆ 407 │ └──────────┴─────────┴─────────┴──────────┘, shape: (91, 4) ┌──────────┬─────────┬─────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════════╪═════════╪═════════╪══════════╡ │ fixation ┆ 1857182 ┆ 1857905 ┆ 723 │ │ fixation ┆ 1857906 ┆ 1858241 ┆ 335 │ │ fixation ┆ 1858242 ┆ 1858669 ┆ 427 │ │ fixation ┆ 1858670 ┆ 1858930 ┆ 260 │ │ fixation ┆ 1858931 ┆ 1859166 ┆ 235 │ │ … ┆ … ┆ … ┆ … │ │ fixation ┆ 1886622 ┆ 1886977 ┆ 355 │ │ fixation ┆ 1886978 ┆ 1887259 ┆ 281 │ │ fixation ┆ 1887260 ┆ 1887759 ┆ 499 │ │ fixation ┆ 1887760 ┆ 1888172 ┆ 412 │ │ fixation ┆ 1888173 ┆ 1888586 ┆ 413 │ └──────────┴─────────┴─────────┴──────────┘, shape: (89, 4) ┌──────────┬─────────┬─────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════════╪═════════╪═════════╪══════════╡ │ fixation ┆ 1892056 ┆ 1892406 ┆ 350 │ │ fixation ┆ 1892407 ┆ 1892889 ┆ 482 │ │ fixation ┆ 1892890 ┆ 1893069 ┆ 179 │ │ fixation ┆ 1893070 ┆ 1893225 ┆ 155 │ │ fixation ┆ 1893311 ┆ 1893517 ┆ 206 │ │ … ┆ … ┆ … ┆ … │ │ fixation ┆ 1920089 ┆ 1920313 ┆ 224 │ │ fixation ┆ 1920314 ┆ 1920658 ┆ 344 │ │ fixation ┆ 1920659 ┆ 1921187 ┆ 528 │ │ fixation ┆ 1921188 ┆ 1921473 ┆ 285 │ │ fixation ┆ 1921474 ┆ 1921833 ┆ 359 │ └──────────┴─────────┴─────────┴──────────┘, shape: (78, 4) ┌──────────┬─────────┬─────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════════╪═════════╪═════════╪══════════╡ │ fixation ┆ 1925919 ┆ 1926303 ┆ 384 │ │ fixation ┆ 1926304 ┆ 1926910 ┆ 606 │ │ fixation ┆ 1926911 ┆ 1927269 ┆ 358 │ │ fixation ┆ 1927270 ┆ 1927726 ┆ 456 │ │ fixation ┆ 1927727 ┆ 1928262 ┆ 535 │ │ … ┆ … ┆ … ┆ … │ │ fixation ┆ 1950803 ┆ 1951093 ┆ 290 │ │ fixation ┆ 1951094 ┆ 1951305 ┆ 211 │ │ fixation ┆ 1951306 ┆ 1951959 ┆ 653 │ │ fixation ┆ 1951960 ┆ 1952155 ┆ 195 │ │ fixation ┆ 1952156 ┆ 1952633 ┆ 477 │ └──────────┴─────────┴─────────┴──────────┘, shape: (91, 4) ┌──────────┬─────────┬─────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════════╪═════════╪═════════╪══════════╡ │ fixation ┆ 2199265 ┆ 2199661 ┆ 396 │ │ fixation ┆ 2199662 ┆ 2200378 ┆ 716 │ │ fixation ┆ 2200379 ┆ 2200686 ┆ 307 │ │ fixation ┆ 2200687 ┆ 2201153 ┆ 466 │ │ fixation ┆ 2201154 ┆ 2201403 ┆ 249 │ │ … ┆ … ┆ … ┆ … │ │ fixation ┆ 2224686 ┆ 2225111 ┆ 425 │ │ fixation ┆ 2225112 ┆ 2225413 ┆ 301 │ │ fixation ┆ 2225414 ┆ 2225621 ┆ 207 │ │ fixation ┆ 2225665 ┆ 2225846 ┆ 181 │ │ fixation ┆ 2225847 ┆ 2226170 ┆ 323 │ └──────────┴─────────┴─────────┴──────────┘, shape: (88, 4) ┌──────────┬─────────┬─────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════════╪═════════╪═════════╪══════════╡ │ fixation ┆ 2228730 ┆ 2229180 ┆ 450 │ │ fixation ┆ 2229181 ┆ 2229369 ┆ 188 │ │ fixation ┆ 2229370 ┆ 2229774 ┆ 404 │ │ fixation ┆ 2229775 ┆ 2229997 ┆ 222 │ │ fixation ┆ 2229998 ┆ 2230196 ┆ 198 │ │ … ┆ … ┆ … ┆ … │ │ fixation ┆ 2254390 ┆ 2254921 ┆ 531 │ │ fixation ┆ 2254922 ┆ 2255107 ┆ 185 │ │ fixation ┆ 2255158 ┆ 2255325 ┆ 167 │ │ fixation ┆ 2255326 ┆ 2255522 ┆ 196 │ │ fixation ┆ 2255523 ┆ 2255760 ┆ 237 │ └──────────┴─────────┴─────────┴──────────┘, shape: (90, 4) ┌──────────┬─────────┬─────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════════╪═════════╪═════════╪══════════╡ │ fixation ┆ 2258387 ┆ 2258821 ┆ 434 │ │ fixation ┆ 2258822 ┆ 2259026 ┆ 204 │ │ fixation ┆ 2259027 ┆ 2259474 ┆ 447 │ │ fixation ┆ 2259475 ┆ 2259715 ┆ 240 │ │ fixation ┆ 2259716 ┆ 2260414 ┆ 698 │ │ … ┆ … ┆ … ┆ … │ │ fixation ┆ 2285578 ┆ 2285879 ┆ 301 │ │ fixation ┆ 2285880 ┆ 2286034 ┆ 154 │ │ fixation ┆ 2286081 ┆ 2286219 ┆ 138 │ │ fixation ┆ 2286220 ┆ 2286546 ┆ 326 │ │ fixation ┆ 2286547 ┆ 2286962 ┆ 415 │ └──────────┴─────────┴─────────┴──────────┘, shape: (101, 4) ┌──────────┬─────────┬─────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════════╪═════════╪═════════╪══════════╡ │ fixation ┆ 2289654 ┆ 2290027 ┆ 373 │ │ fixation ┆ 2290028 ┆ 2290269 ┆ 241 │ │ fixation ┆ 2290270 ┆ 2290536 ┆ 266 │ │ fixation ┆ 2290537 ┆ 2290959 ┆ 422 │ │ fixation ┆ 2290960 ┆ 2291270 ┆ 310 │ │ … ┆ … ┆ … ┆ … │ │ fixation ┆ 2319260 ┆ 2319959 ┆ 699 │ │ fixation ┆ 2319960 ┆ 2320267 ┆ 307 │ │ fixation ┆ 2320322 ┆ 2320565 ┆ 243 │ │ fixation ┆ 2320566 ┆ 2320859 ┆ 293 │ │ fixation ┆ 2320860 ┆ 2321201 ┆ 341 │ └──────────┴─────────┴─────────┴──────────┘, shape: (94, 4) ┌──────────┬─────────┬─────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════════╪═════════╪═════════╪══════════╡ │ fixation ┆ 2323912 ┆ 2324303 ┆ 391 │ │ fixation ┆ 2324304 ┆ 2324735 ┆ 431 │ │ fixation ┆ 2324736 ┆ 2325103 ┆ 367 │ │ fixation ┆ 2325104 ┆ 2325347 ┆ 243 │ │ fixation ┆ 2325348 ┆ 2325597 ┆ 249 │ │ … ┆ … ┆ … ┆ … │ │ fixation ┆ 2352383 ┆ 2352581 ┆ 198 │ │ fixation ┆ 2352584 ┆ 2352797 ┆ 213 │ │ fixation ┆ 2352798 ┆ 2353409 ┆ 611 │ │ fixation ┆ 2353410 ┆ 2353635 ┆ 225 │ │ fixation ┆ 2353636 ┆ 2353777 ┆ 141 │ └──────────┴─────────┴─────────┴──────────┘)
-
dict (1 items)
-
DataFrame (3 columns, 20 rows)shape: (20, 3)
text_id page_id filepath i64 i64 str 0 1 "pymovements-toy-dataset-main/d… 0 2 "pymovements-toy-dataset-main/d… 0 3 "pymovements-toy-dataset-main/d… 0 4 "pymovements-toy-dataset-main/d… 0 5 "pymovements-toy-dataset-main/d… … … … 3 1 "pymovements-toy-dataset-main/d… 3 2 "pymovements-toy-dataset-main/d… 3 3 "pymovements-toy-dataset-main/d… 3 4 "pymovements-toy-dataset-main/d… 3 5 "pymovements-toy-dataset-main/d…
-
-
list (20 items)
-
Gaze
-
DataFrame (6 columns, 17223 rows)shape: (17_223, 6)
time stimuli_x stimuli_y pixel position velocity i64 f64 f64 list[f64] list[f64] list[f64] 1988145 -1.0 -1.0 [206.8, 152.4] [-10.697598, -8.852399] [null, null] 1988146 -1.0 -1.0 [206.9, 152.1] [-10.695183, -8.859678] [null, null] 1988147 -1.0 -1.0 [207.0, 151.8] [-10.692768, -8.866956] [1.610194, -5.256267] 1988148 -1.0 -1.0 [207.1, 151.7] [-10.690352, -8.869381] [0.402548, -4.447465] 1988149 -1.0 -1.0 [207.0, 151.5] [-10.692768, -8.874233] [0.402561, -3.234462] … … … … … … 2005363 -1.0 -1.0 [361.0, 415.4] [-6.932438, -2.386672] [-63.266374, -21.085616] 2005364 -1.0 -1.0 [358.0, 414.5] [-7.006376, -2.408998] [-63.249652, -19.431326] 2005365 -1.0 -1.0 [355.8, 413.8] [-7.060582, -2.426362] [-60.359624, -15.710061] 2005366 -1.0 -1.0 [353.1, 413.2] [-7.12709, -2.441245] [null, null] 2005367 -1.0 -1.0 [351.2, 412.9] [-7.173881, -2.448686] [null, null] -
EventsEvents
-
DataFrame (4 columns, 56 rows)shape: (56, 4)
name onset offset duration str i64 i64 i64 "fixation" 1988145 1988563 418 "fixation" 1988564 1988750 186 "fixation" 1988751 1989178 427 "fixation" 1989179 1989436 257 "fixation" 1989437 1989600 163 … … … … "fixation" 2003929 2004090 161 "fixation" 2004091 2004363 272 "fixation" 2004364 2004883 519 "fixation" 2004885 2005116 231 "fixation" 2005117 2005298 181 -
NoneNone
-
-
NoneNone
-
ExperimentExperiment
-
EyeTrackerEyeTracker
-
NoneNone
-
NoneNone
-
NoneNone
-
NoneNone
-
10001000
-
NoneNone
-
NoneNone
-
-
10001000
-
ScreenScreen
-
6868
-
30.230.2
-
10241024
-
'upper left''upper left'
-
3838
-
12801280
-
15.59938648778295315.599386487782953
-
-15.599386487782953-15.599386487782953
-
12.50804441088254612.508044410882546
-
-12.508044410882546-12.508044410882546
-
-
-
-
Gaze
-
DataFrame (6 columns, 29799 rows)shape: (29_799, 6)
time stimuli_x stimuli_y pixel position velocity i64 f64 f64 list[f64] list[f64] list[f64] 2008305 -1.0 -1.0 [141.4, 153.6] [-12.268583, -8.823284] [null, null] 2008306 -1.0 -1.0 [141.1, 153.2] [-12.275749, -8.832989] [null, null] 2008307 -1.0 -1.0 [140.7, 152.8] [-12.285302, -8.842695] [-5.572617, -6.065816] 2008308 -1.0 -1.0 [140.6, 152.7] [-12.28769, -8.845121] [-3.582268, -4.043733] 2008309 -1.0 -1.0 [140.5, 152.6] [-12.290078, -8.847547] [-2.388085, -2.021821] … … … … … … 2038099 -1.0 -1.0 [273.8, 773.8] [-9.071149, 6.490168] [1.21962, 1.635403] 2038100 -1.0 -1.0 [273.8, 774.1] [-9.071149, 6.497527] [1.626175, 4.497406] 2038101 -1.0 -1.0 [273.9, 774.5] [-9.06871, 6.50734] [1.626186, 1.635423] 2038102 -1.0 -1.0 [274.0, 774.4] [-9.066271, 6.504886] [null, null] 2038103 -1.0 -1.0 [274.0, 773.9] [-9.066271, 6.492621] [null, null] -
EventsEvents
-
DataFrame (4 columns, 94 rows)shape: (94, 4)
name onset offset duration str i64 i64 i64 "fixation" 2008305 2008621 316 "fixation" 2008622 2008821 199 "fixation" 2008822 2009214 392 "fixation" 2009215 2009433 218 "fixation" 2009434 2009704 270 … … … … "fixation" 2036840 2037175 335 "fixation" 2037176 2037424 248 "fixation" 2037462 2037644 182 "fixation" 2037645 2037824 179 "fixation" 2037825 2038103 278 -
NoneNone
-
-
NoneNone
-
ExperimentExperiment
-
EyeTrackerEyeTracker
-
NoneNone
-
NoneNone
-
NoneNone
-
NoneNone
-
10001000
-
NoneNone
-
NoneNone
-
-
10001000
-
ScreenScreen
-
6868
-
30.230.2
-
10241024
-
'upper left''upper left'
-
3838
-
12801280
-
15.59938648778295315.599386487782953
-
-15.599386487782953-15.599386487782953
-
12.50804441088254612.508044410882546
-
-12.508044410882546-12.508044410882546
-
-
-
- (18 more)
-
Gaze
-
PosixPath('data/ToyDataset')PosixPath('data/ToyDataset')
-
DatasetPathsDatasetPaths
-
PosixPath('data/ToyDataset')PosixPath('data/ToyDataset')
-
PosixPath('data/ToyDataset/downloads')PosixPath('data/ToyDataset/downloads')
-
PosixPath('data/ToyDataset/events')PosixPath('data/ToyDataset/events')
-
PosixPath('data/ToyDataset/precomputed_events')PosixPath('data/ToyDataset/precomputed_events')
-
PosixPathPosixPath('data/ToyDataset/precomputed_reading_measures')
-
PosixPath('data/ToyDataset/preprocessed')PosixPath('data/ToyDataset/preprocessed')
-
PosixPath('data/ToyDataset/raw')PosixPath('data/ToyDataset/raw')
-
PosixPath('data/ToyDataset')PosixPath('data/ToyDataset')
-
-
list (0 items)
-
list (0 items)
The detected events are added as rows with the name fixation to the event dataframe:
dataset.events[0]
-
DataFrame (4 columns, 56 rows)shape: (56, 4)
name onset offset duration str i64 i64 i64 "fixation" 1988145 1988563 418 "fixation" 1988564 1988750 186 "fixation" 1988751 1989178 427 "fixation" 1989179 1989436 257 "fixation" 1989437 1989600 163 … … … … "fixation" 2003929 2004090 161 "fixation" 2004091 2004363 272 "fixation" 2004364 2004883 519 "fixation" 2004885 2005116 231 "fixation" 2005117 2005298 181 -
NoneNone
As you can see, 56 fixations were found for the first file.
Now let’s try another algorithm ivt with velocity_threshold=20. Because we don’t want to mix fixations found by different algorithms we add name parameter with ‘fixation.ivt’
dataset.detect_events('ivt', velocity_threshold=20, name='fixation.ivt')
dataset.events[0]
-
DataFrame (4 columns, 129 rows)shape: (129, 4)
name onset offset duration str i64 i64 i64 "fixation" 1988145 1988563 418 "fixation" 1988564 1988750 186 "fixation" 1988751 1989178 427 "fixation" 1989179 1989436 257 "fixation" 1989437 1989600 163 … … … … "fixation.ivt" 2004132 2004331 199 "fixation.ivt" 2004399 2004687 288 "fixation.ivt" 2004714 2004878 164 "fixation.ivt" 2004931 2005109 178 "fixation.ivt" 2005138 2005287 149 -
NoneNone
Now we have additional rows with name=’fixations.ivt’.
Let’s try to use the microsaccades algorithm to detect fixations.
dataset.detect_events('microsaccades', minimum_duration=12)
-
DatasetDefinitionDatasetDefinition
-
NoneNone
-
NoneNone
-
NoneNone
-
NoneNone
-
ExperimentExperiment
-
EyeTrackerEyeTracker
-
NoneNone
-
NoneNone
-
NoneNone
-
NoneNone
-
10001000
-
NoneNone
-
NoneNone
-
-
10001000
-
ScreenScreen
-
6868
-
30.230.2
-
10241024
-
'upper left''upper left'
-
3838
-
12801280
-
15.59938648778295315.599386487782953
-
-15.599386487782953-15.599386487782953
-
12.50804441088254612.508044410882546
-
-12.508044410882546-12.508044410882546
-
-
-
NoneNone
-
dict (1 items)
-
'trial_{text_id:d}_{page_id:d}.csv''trial_{text_id:d}_{page_id:d}.csv'
-
-
dict (1 items)
-
dict (2 items)
-
<class 'int'><class 'int'>
-
<class 'int'><class 'int'>
-
-
-
TrueTrue
-
'pymovements Toy Dataset''pymovements Toy Dataset'
-
dict (0 items)
-
'ToyDataset''ToyDataset'
-
NoneNone
-
NoneNone
-
list (1 items)
-
ResourceDefinition
-
'gaze''gaze'
-
'pymovements-toy-dataset.zip''pymovements-toy-dataset.zip'
-
'trial_{text_id:d}_{page_id:d}.csv''trial_{text_id:d}_{page_id:d}.csv'
-
dict (2 items)
-
<class 'int'><class 'int'>
-
<class 'int'><class 'int'>
-
-
NoneNone
-
dict (4 items)
-
'timestamp''timestamp'
-
'ms''ms'
- (2 more)
-
-
'256901852c1c07581d375eef705855d6''256901852c1c07581d375eef705855d6'
-
NoneNone
-
str'https://github.com/pymovements/pymovements-toy-dataset/archive/refs/heads/main.zip'
-
-
ResourceDefinition
-
NoneNone
-
NoneNone
-
NoneNone
-
NoneNone
-
-
tuple(shape: (222, 4) ┌──────────┬─────────┬─────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════════╪═════════╪═════════╪══════════╡ │ fixation ┆ 1988145 ┆ 1988563 ┆ 418 │ │ fixation ┆ 1988564 ┆ 1988750 ┆ 186 │ │ fixation ┆ 1988751 ┆ 1989178 ┆ 427 │ │ fixation ┆ 1989179 ┆ 1989436 ┆ 257 │ │ fixation ┆ 1989437 ┆ 1989600 ┆ 163 │ │ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2004373 ┆ 2004385 ┆ 12 │ │ saccade ┆ 2004688 ┆ 2004704 ┆ 16 │ │ saccade ┆ 2004879 ┆ 2004901 ┆ 22 │ │ saccade ┆ 2005110 ┆ 2005126 ┆ 16 │ │ saccade ┆ 2005288 ┆ 2005345 ┆ 57 │ └──────────┴─────────┴─────────┴──────────┘, shape: (366, 4) ┌──────────┬─────────┬─────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════════╪═════════╪═════════╪══════════╡ │ fixation ┆ 2008305 ┆ 2008621 ┆ 316 │ │ fixation ┆ 2008622 ┆ 2008821 ┆ 199 │ │ fixation ┆ 2008822 ┆ 2009214 ┆ 392 │ │ fixation ┆ 2009215 ┆ 2009433 ┆ 218 │ │ fixation ┆ 2009434 ┆ 2009704 ┆ 270 │ │ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2036849 ┆ 2036861 ┆ 12 │ │ saccade ┆ 2037161 ┆ 2037188 ┆ 27 │ │ saccade ┆ 2037412 ┆ 2037503 ┆ 91 │ │ saccade ┆ 2037638 ┆ 2037654 ┆ 16 │ │ saccade ┆ 2037812 ┆ 2037830 ┆ 18 │ └──────────┴─────────┴─────────┴──────────┘, shape: (326, 4) ┌──────────┬─────────┬─────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════════╪═════════╪═════════╪══════════╡ │ fixation ┆ 2041029 ┆ 2041360 ┆ 331 │ │ fixation ┆ 2041361 ┆ 2041563 ┆ 202 │ │ fixation ┆ 2041564 ┆ 2041761 ┆ 197 │ │ fixation ┆ 2041762 ┆ 2041945 ┆ 183 │ │ fixation ┆ 2041946 ┆ 2042314 ┆ 368 │ │ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2066555 ┆ 2066582 ┆ 27 │ │ saccade ┆ 2066749 ┆ 2066770 ┆ 21 │ │ saccade ┆ 2066959 ┆ 2066987 ┆ 28 │ │ saccade ┆ 2067294 ┆ 2067311 ┆ 17 │ │ saccade ┆ 2067313 ┆ 2067330 ┆ 17 │ └──────────┴─────────┴─────────┴──────────┘, shape: (406, 4) ┌──────────┬─────────┬─────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════════╪═════════╪═════════╪══════════╡ │ fixation ┆ 2070587 ┆ 2070931 ┆ 344 │ │ fixation ┆ 2070932 ┆ 2071140 ┆ 208 │ │ fixation ┆ 2071141 ┆ 2071532 ┆ 391 │ │ fixation ┆ 2071533 ┆ 2071744 ┆ 211 │ │ fixation ┆ 2071745 ┆ 2072028 ┆ 283 │ │ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2102362 ┆ 2102378 ┆ 16 │ │ saccade ┆ 2102646 ┆ 2102670 ┆ 24 │ │ saccade ┆ 2102673 ┆ 2102685 ┆ 12 │ │ saccade ┆ 2102771 ┆ 2102842 ┆ 71 │ │ saccade ┆ 2103011 ┆ 2103024 ┆ 13 │ └──────────┴─────────┴─────────┴──────────┘, shape: (405, 4) ┌──────────┬─────────┬─────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════════╪═════════╪═════════╪══════════╡ │ fixation ┆ 2105893 ┆ 2106270 ┆ 377 │ │ fixation ┆ 2106271 ┆ 2106700 ┆ 429 │ │ fixation ┆ 2106701 ┆ 2106958 ┆ 257 │ │ fixation ┆ 2106959 ┆ 2107189 ┆ 230 │ │ fixation ┆ 2107190 ┆ 2107488 ┆ 298 │ │ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2138132 ┆ 2138148 ┆ 16 │ │ saccade ┆ 2138336 ┆ 2138354 ┆ 18 │ │ saccade ┆ 2138523 ┆ 2138543 ┆ 20 │ │ saccade ┆ 2138545 ┆ 2138557 ┆ 12 │ │ saccade ┆ 2138845 ┆ 2138860 ┆ 15 │ └──────────┴─────────┴─────────┴──────────┘, shape: (312, 4) ┌──────────┬─────────┬─────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════════╪═════════╪═════════╪══════════╡ │ fixation ┆ 2415266 ┆ 2415669 ┆ 403 │ │ fixation ┆ 2415670 ┆ 2415857 ┆ 187 │ │ fixation ┆ 2415858 ┆ 2416221 ┆ 363 │ │ fixation ┆ 2416222 ┆ 2416431 ┆ 209 │ │ fixation ┆ 2416432 ┆ 2416833 ┆ 401 │ │ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2437301 ┆ 2437319 ┆ 18 │ │ saccade ┆ 2437549 ┆ 2437566 ┆ 17 │ │ saccade ┆ 2437569 ┆ 2437583 ┆ 14 │ │ saccade ┆ 2437856 ┆ 2437872 ┆ 16 │ │ saccade ┆ 2438084 ┆ 2438099 ┆ 15 │ └──────────┴─────────┴─────────┴──────────┘, shape: (268, 4) ┌──────────┬─────────┬─────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════════╪═════════╪═════════╪══════════╡ │ fixation ┆ 2440987 ┆ 2441199 ┆ 212 │ │ fixation ┆ 2441201 ┆ 2441540 ┆ 339 │ │ fixation ┆ 2441541 ┆ 2441735 ┆ 194 │ │ fixation ┆ 2441736 ┆ 2442222 ┆ 486 │ │ fixation ┆ 2442223 ┆ 2442432 ┆ 209 │ │ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2462097 ┆ 2462115 ┆ 18 │ │ saccade ┆ 2462337 ┆ 2462354 ┆ 17 │ │ saccade ┆ 2462705 ┆ 2462726 ┆ 21 │ │ saccade ┆ 2462728 ┆ 2462742 ┆ 14 │ │ saccade ┆ 2462941 ┆ 2462961 ┆ 20 │ └──────────┴─────────┴─────────┴──────────┘, shape: (361, 4) ┌──────────┬─────────┬─────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════════╪═════════╪═════════╪══════════╡ │ fixation ┆ 2466370 ┆ 2466713 ┆ 343 │ │ fixation ┆ 2466714 ┆ 2466931 ┆ 217 │ │ fixation ┆ 2466932 ┆ 2467210 ┆ 278 │ │ fixation ┆ 2467211 ┆ 2467634 ┆ 423 │ │ fixation ┆ 2467635 ┆ 2467847 ┆ 212 │ │ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2494745 ┆ 2494757 ┆ 12 │ │ saccade ┆ 2494904 ┆ 2494929 ┆ 25 │ │ saccade ┆ 2495128 ┆ 2495168 ┆ 40 │ │ saccade ┆ 2495349 ┆ 2495365 ┆ 16 │ │ saccade ┆ 2495538 ┆ 2495586 ┆ 48 │ └──────────┴─────────┴─────────┴──────────┘, shape: (410, 4) ┌──────────┬─────────┬─────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════════╪═════════╪═════════╪══════════╡ │ fixation ┆ 2498476 ┆ 2498820 ┆ 344 │ │ fixation ┆ 2498821 ┆ 2499287 ┆ 466 │ │ fixation ┆ 2499288 ┆ 2499810 ┆ 522 │ │ fixation ┆ 2499811 ┆ 2500103 ┆ 292 │ │ fixation ┆ 2500104 ┆ 2500284 ┆ 180 │ │ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2531758 ┆ 2531777 ┆ 19 │ │ saccade ┆ 2531781 ┆ 2531795 ┆ 14 │ │ saccade ┆ 2532123 ┆ 2532140 ┆ 17 │ │ saccade ┆ 2532430 ┆ 2532455 ┆ 25 │ │ saccade ┆ 2532803 ┆ 2532827 ┆ 24 │ └──────────┴─────────┴─────────┴──────────┘, shape: (289, 4) ┌──────────┬─────────┬─────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════════╪═════════╪═════════╪══════════╡ │ fixation ┆ 2535732 ┆ 2536093 ┆ 361 │ │ fixation ┆ 2536094 ┆ 2536624 ┆ 530 │ │ fixation ┆ 2536628 ┆ 2536852 ┆ 224 │ │ fixation ┆ 2536853 ┆ 2537086 ┆ 233 │ │ fixation ┆ 2537087 ┆ 2537493 ┆ 406 │ │ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2558117 ┆ 2558129 ┆ 12 │ │ saccade ┆ 2558288 ┆ 2558318 ┆ 30 │ │ saccade ┆ 2558503 ┆ 2558521 ┆ 18 │ │ saccade ┆ 2558819 ┆ 2558860 ┆ 41 │ │ saccade ┆ 2559141 ┆ 2559170 ┆ 29 │ └──────────┴─────────┴─────────┴──────────┘, shape: (329, 4) ┌──────────┬─────────┬─────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════════╪═════════╪═════════╪══════════╡ │ fixation ┆ 1788369 ┆ 1788627 ┆ 258 │ │ fixation ┆ 1788628 ┆ 1788968 ┆ 340 │ │ fixation ┆ 1788969 ┆ 1789139 ┆ 170 │ │ fixation ┆ 1789140 ┆ 1789319 ┆ 179 │ │ fixation ┆ 1789320 ┆ 1789594 ┆ 274 │ │ … ┆ … ┆ … ┆ … │ │ saccade ┆ 1816417 ┆ 1816437 ┆ 20 │ │ saccade ┆ 1816662 ┆ 1816731 ┆ 69 │ │ saccade ┆ 1816870 ┆ 1816902 ┆ 32 │ │ saccade ┆ 1817186 ┆ 1817220 ┆ 34 │ │ saccade ┆ 1817528 ┆ 1817542 ┆ 14 │ └──────────┴─────────┴─────────┴──────────┘, shape: (374, 4) ┌──────────┬─────────┬─────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════════╪═════════╪═════════╪══════════╡ │ fixation ┆ 1821110 ┆ 1821608 ┆ 498 │ │ fixation ┆ 1821609 ┆ 1822344 ┆ 735 │ │ fixation ┆ 1822345 ┆ 1822843 ┆ 498 │ │ fixation ┆ 1822844 ┆ 1823142 ┆ 298 │ │ fixation ┆ 1823143 ┆ 1823381 ┆ 238 │ │ … ┆ … ┆ … ┆ … │ │ saccade ┆ 1853339 ┆ 1853410 ┆ 71 │ │ saccade ┆ 1853423 ┆ 1853439 ┆ 16 │ │ saccade ┆ 1853778 ┆ 1853795 ┆ 17 │ │ saccade ┆ 1853798 ┆ 1853811 ┆ 13 │ │ saccade ┆ 1853963 ┆ 1853980 ┆ 17 │ └──────────┴─────────┴─────────┴──────────┘, shape: (370, 4) ┌──────────┬─────────┬─────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════════╪═════════╪═════════╪══════════╡ │ fixation ┆ 1857182 ┆ 1857905 ┆ 723 │ │ fixation ┆ 1857906 ┆ 1858241 ┆ 335 │ │ fixation ┆ 1858242 ┆ 1858669 ┆ 427 │ │ fixation ┆ 1858670 ┆ 1858930 ┆ 260 │ │ fixation ┆ 1858931 ┆ 1859166 ┆ 235 │ │ … ┆ … ┆ … ┆ … │ │ saccade ┆ 1886962 ┆ 1886980 ┆ 18 │ │ saccade ┆ 1887245 ┆ 1887274 ┆ 29 │ │ saccade ┆ 1887748 ┆ 1887779 ┆ 31 │ │ saccade ┆ 1888164 ┆ 1888180 ┆ 16 │ │ saccade ┆ 1888402 ┆ 1888416 ┆ 14 │ └──────────┴─────────┴─────────┴──────────┘, shape: (347, 4) ┌──────────┬─────────┬─────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════════╪═════════╪═════════╪══════════╡ │ fixation ┆ 1892056 ┆ 1892406 ┆ 350 │ │ fixation ┆ 1892407 ┆ 1892889 ┆ 482 │ │ fixation ┆ 1892890 ┆ 1893069 ┆ 179 │ │ fixation ┆ 1893070 ┆ 1893225 ┆ 155 │ │ fixation ┆ 1893311 ┆ 1893517 ┆ 206 │ │ … ┆ … ┆ … ┆ … │ │ saccade ┆ 1920666 ┆ 1920680 ┆ 14 │ │ saccade ┆ 1920931 ┆ 1920948 ┆ 17 │ │ saccade ┆ 1921180 ┆ 1921204 ┆ 24 │ │ saccade ┆ 1921465 ┆ 1921481 ┆ 16 │ │ saccade ┆ 1921484 ┆ 1921497 ┆ 13 │ └──────────┴─────────┴─────────┴──────────┘, shape: (315, 4) ┌──────────┬─────────┬─────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════════╪═════════╪═════════╪══════════╡ │ fixation ┆ 1925919 ┆ 1926303 ┆ 384 │ │ fixation ┆ 1926304 ┆ 1926910 ┆ 606 │ │ fixation ┆ 1926911 ┆ 1927269 ┆ 358 │ │ fixation ┆ 1927270 ┆ 1927726 ┆ 456 │ │ fixation ┆ 1927727 ┆ 1928262 ┆ 535 │ │ … ┆ … ┆ … ┆ … │ │ saccade ┆ 1951311 ┆ 1951323 ┆ 12 │ │ saccade ┆ 1951578 ┆ 1951596 ┆ 18 │ │ saccade ┆ 1951951 ┆ 1951979 ┆ 28 │ │ saccade ┆ 1952141 ┆ 1952157 ┆ 16 │ │ saccade ┆ 1952350 ┆ 1952366 ┆ 16 │ └──────────┴─────────┴─────────┴──────────┘, shape: (327, 4) ┌──────────┬─────────┬─────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════════╪═════════╪═════════╪══════════╡ │ fixation ┆ 2199265 ┆ 2199661 ┆ 396 │ │ fixation ┆ 2199662 ┆ 2200378 ┆ 716 │ │ fixation ┆ 2200379 ┆ 2200686 ┆ 307 │ │ fixation ┆ 2200687 ┆ 2201153 ┆ 466 │ │ fixation ┆ 2201154 ┆ 2201403 ┆ 249 │ │ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2225401 ┆ 2225423 ┆ 22 │ │ saccade ┆ 2225425 ┆ 2225437 ┆ 12 │ │ saccade ┆ 2225612 ┆ 2225689 ┆ 77 │ │ saccade ┆ 2225694 ┆ 2225708 ┆ 14 │ │ saccade ┆ 2226159 ┆ 2226193 ┆ 34 │ └──────────┴─────────┴─────────┴──────────┘, shape: (337, 4) ┌──────────┬─────────┬─────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════════╪═════════╪═════════╪══════════╡ │ fixation ┆ 2228730 ┆ 2229180 ┆ 450 │ │ fixation ┆ 2229181 ┆ 2229369 ┆ 188 │ │ fixation ┆ 2229370 ┆ 2229774 ┆ 404 │ │ fixation ┆ 2229775 ┆ 2229997 ┆ 222 │ │ fixation ┆ 2229998 ┆ 2230196 ┆ 198 │ │ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2255320 ┆ 2255334 ┆ 14 │ │ saccade ┆ 2255338 ┆ 2255350 ┆ 12 │ │ saccade ┆ 2255512 ┆ 2255531 ┆ 19 │ │ saccade ┆ 2255537 ┆ 2255549 ┆ 12 │ │ saccade ┆ 2255751 ┆ 2255800 ┆ 49 │ └──────────┴─────────┴─────────┴──────────┘, shape: (336, 4) ┌──────────┬─────────┬─────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════════╪═════════╪═════════╪══════════╡ │ fixation ┆ 2258387 ┆ 2258821 ┆ 434 │ │ fixation ┆ 2258822 ┆ 2259026 ┆ 204 │ │ fixation ┆ 2259027 ┆ 2259474 ┆ 447 │ │ fixation ┆ 2259475 ┆ 2259715 ┆ 240 │ │ fixation ┆ 2259716 ┆ 2260414 ┆ 698 │ │ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2285868 ┆ 2285891 ┆ 23 │ │ saccade ┆ 2286025 ┆ 2286106 ┆ 81 │ │ saccade ┆ 2286236 ┆ 2286248 ┆ 12 │ │ saccade ┆ 2286532 ┆ 2286563 ┆ 31 │ │ saccade ┆ 2286742 ┆ 2286754 ┆ 12 │ └──────────┴─────────┴─────────┴──────────┘, shape: (364, 4) ┌──────────┬─────────┬─────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════════╪═════════╪═════════╪══════════╡ │ fixation ┆ 2289654 ┆ 2290027 ┆ 373 │ │ fixation ┆ 2290028 ┆ 2290269 ┆ 241 │ │ fixation ┆ 2290270 ┆ 2290536 ┆ 266 │ │ fixation ┆ 2290537 ┆ 2290959 ┆ 422 │ │ fixation ┆ 2290960 ┆ 2291270 ┆ 310 │ │ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2319977 ┆ 2319990 ┆ 13 │ │ saccade ┆ 2320256 ┆ 2320336 ┆ 80 │ │ saccade ┆ 2320536 ┆ 2320552 ┆ 16 │ │ saccade ┆ 2320842 ┆ 2320859 ┆ 17 │ │ saccade ┆ 2320861 ┆ 2320874 ┆ 13 │ └──────────┴─────────┴─────────┴──────────┘, shape: (361, 4) ┌──────────┬─────────┬─────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════════╪═════════╪═════════╪══════════╡ │ fixation ┆ 2323912 ┆ 2324303 ┆ 391 │ │ fixation ┆ 2324304 ┆ 2324735 ┆ 431 │ │ fixation ┆ 2324736 ┆ 2325103 ┆ 367 │ │ fixation ┆ 2325104 ┆ 2325347 ┆ 243 │ │ fixation ┆ 2325348 ┆ 2325597 ┆ 249 │ │ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2352570 ┆ 2352601 ┆ 31 │ │ saccade ┆ 2352791 ┆ 2352807 ┆ 16 │ │ saccade ┆ 2353040 ┆ 2353055 ┆ 15 │ │ saccade ┆ 2353394 ┆ 2353436 ┆ 42 │ │ saccade ┆ 2353622 ┆ 2353643 ┆ 21 │ └──────────┴─────────┴─────────┴──────────┘)
-
dict (1 items)
-
DataFrame (3 columns, 20 rows)shape: (20, 3)
text_id page_id filepath i64 i64 str 0 1 "pymovements-toy-dataset-main/d… 0 2 "pymovements-toy-dataset-main/d… 0 3 "pymovements-toy-dataset-main/d… 0 4 "pymovements-toy-dataset-main/d… 0 5 "pymovements-toy-dataset-main/d… … … … 3 1 "pymovements-toy-dataset-main/d… 3 2 "pymovements-toy-dataset-main/d… 3 3 "pymovements-toy-dataset-main/d… 3 4 "pymovements-toy-dataset-main/d… 3 5 "pymovements-toy-dataset-main/d…
-
-
list (20 items)
-
Gaze
-
DataFrame (6 columns, 17223 rows)shape: (17_223, 6)
time stimuli_x stimuli_y pixel position velocity i64 f64 f64 list[f64] list[f64] list[f64] 1988145 -1.0 -1.0 [206.8, 152.4] [-10.697598, -8.852399] [null, null] 1988146 -1.0 -1.0 [206.9, 152.1] [-10.695183, -8.859678] [null, null] 1988147 -1.0 -1.0 [207.0, 151.8] [-10.692768, -8.866956] [1.610194, -5.256267] 1988148 -1.0 -1.0 [207.1, 151.7] [-10.690352, -8.869381] [0.402548, -4.447465] 1988149 -1.0 -1.0 [207.0, 151.5] [-10.692768, -8.874233] [0.402561, -3.234462] … … … … … … 2005363 -1.0 -1.0 [361.0, 415.4] [-6.932438, -2.386672] [-63.266374, -21.085616] 2005364 -1.0 -1.0 [358.0, 414.5] [-7.006376, -2.408998] [-63.249652, -19.431326] 2005365 -1.0 -1.0 [355.8, 413.8] [-7.060582, -2.426362] [-60.359624, -15.710061] 2005366 -1.0 -1.0 [353.1, 413.2] [-7.12709, -2.441245] [null, null] 2005367 -1.0 -1.0 [351.2, 412.9] [-7.173881, -2.448686] [null, null] -
EventsEvents
-
DataFrame (4 columns, 222 rows)shape: (222, 4)
name onset offset duration str i64 i64 i64 "fixation" 1988145 1988563 418 "fixation" 1988564 1988750 186 "fixation" 1988751 1989178 427 "fixation" 1989179 1989436 257 "fixation" 1989437 1989600 163 … … … … "saccade" 2004373 2004385 12 "saccade" 2004688 2004704 16 "saccade" 2004879 2004901 22 "saccade" 2005110 2005126 16 "saccade" 2005288 2005345 57 -
NoneNone
-
-
NoneNone
-
ExperimentExperiment
-
EyeTrackerEyeTracker
-
NoneNone
-
NoneNone
-
NoneNone
-
NoneNone
-
10001000
-
NoneNone
-
NoneNone
-
-
10001000
-
ScreenScreen
-
6868
-
30.230.2
-
10241024
-
'upper left''upper left'
-
3838
-
12801280
-
15.59938648778295315.599386487782953
-
-15.599386487782953-15.599386487782953
-
12.50804441088254612.508044410882546
-
-12.508044410882546-12.508044410882546
-
-
-
-
Gaze
-
DataFrame (6 columns, 29799 rows)shape: (29_799, 6)
time stimuli_x stimuli_y pixel position velocity i64 f64 f64 list[f64] list[f64] list[f64] 2008305 -1.0 -1.0 [141.4, 153.6] [-12.268583, -8.823284] [null, null] 2008306 -1.0 -1.0 [141.1, 153.2] [-12.275749, -8.832989] [null, null] 2008307 -1.0 -1.0 [140.7, 152.8] [-12.285302, -8.842695] [-5.572617, -6.065816] 2008308 -1.0 -1.0 [140.6, 152.7] [-12.28769, -8.845121] [-3.582268, -4.043733] 2008309 -1.0 -1.0 [140.5, 152.6] [-12.290078, -8.847547] [-2.388085, -2.021821] … … … … … … 2038099 -1.0 -1.0 [273.8, 773.8] [-9.071149, 6.490168] [1.21962, 1.635403] 2038100 -1.0 -1.0 [273.8, 774.1] [-9.071149, 6.497527] [1.626175, 4.497406] 2038101 -1.0 -1.0 [273.9, 774.5] [-9.06871, 6.50734] [1.626186, 1.635423] 2038102 -1.0 -1.0 [274.0, 774.4] [-9.066271, 6.504886] [null, null] 2038103 -1.0 -1.0 [274.0, 773.9] [-9.066271, 6.492621] [null, null] -
EventsEvents
-
DataFrame (4 columns, 366 rows)shape: (366, 4)
name onset offset duration str i64 i64 i64 "fixation" 2008305 2008621 316 "fixation" 2008622 2008821 199 "fixation" 2008822 2009214 392 "fixation" 2009215 2009433 218 "fixation" 2009434 2009704 270 … … … … "saccade" 2036849 2036861 12 "saccade" 2037161 2037188 27 "saccade" 2037412 2037503 91 "saccade" 2037638 2037654 16 "saccade" 2037812 2037830 18 -
NoneNone
-
-
NoneNone
-
ExperimentExperiment
-
EyeTrackerEyeTracker
-
NoneNone
-
NoneNone
-
NoneNone
-
NoneNone
-
10001000
-
NoneNone
-
NoneNone
-
-
10001000
-
ScreenScreen
-
6868
-
30.230.2
-
10241024
-
'upper left''upper left'
-
3838
-
12801280
-
15.59938648778295315.599386487782953
-
-15.599386487782953-15.599386487782953
-
12.50804441088254612.508044410882546
-
-12.508044410882546-12.508044410882546
-
-
-
- (18 more)
-
Gaze
-
PosixPath('data/ToyDataset')PosixPath('data/ToyDataset')
-
DatasetPathsDatasetPaths
-
PosixPath('data/ToyDataset')PosixPath('data/ToyDataset')
-
PosixPath('data/ToyDataset/downloads')PosixPath('data/ToyDataset/downloads')
-
PosixPath('data/ToyDataset/events')PosixPath('data/ToyDataset/events')
-
PosixPath('data/ToyDataset/precomputed_events')PosixPath('data/ToyDataset/precomputed_events')
-
PosixPathPosixPath('data/ToyDataset/precomputed_reading_measures')
-
PosixPath('data/ToyDataset/preprocessed')PosixPath('data/ToyDataset/preprocessed')
-
PosixPath('data/ToyDataset/raw')PosixPath('data/ToyDataset/raw')
-
PosixPath('data/ToyDataset')PosixPath('data/ToyDataset')
-
-
list (0 items)
-
list (0 items)
The detected events are added as rows with the name saccade to the event dataframe:
dataset.events[0]
-
DataFrame (4 columns, 222 rows)shape: (222, 4)
name onset offset duration str i64 i64 i64 "fixation" 1988145 1988563 418 "fixation" 1988564 1988750 186 "fixation" 1988751 1989178 427 "fixation" 1989179 1989436 257 "fixation" 1989437 1989600 163 … … … … "saccade" 2004373 2004385 12 "saccade" 2004688 2004704 16 "saccade" 2004879 2004901 22 "saccade" 2005110 2005126 16 "saccade" 2005288 2005345 57 -
NoneNone
Now there are three sets of events in the dataset.events DataFrame with different values in the ‘name’ column:
set(dataset.events[0].frame['name'])
{'fixation', 'fixation.ivt', 'saccade'}
Computing Event Properties#
pymovements provides a range of event properties.
See the reference for Events to get an overview of all the supported properties.
For this tutorial we will compute several properties of saccades.
We start out with the peak velocity:
dataset.compute_event_properties("peak_velocity")
dataset.events[0]
-
DataFrame (5 columns, 222 rows)shape: (222, 5)
name onset offset duration peak_velocity str i64 i64 i64 f64 "fixation" 1988145 1988563 418 200.144558 "fixation" 1988564 1988750 186 249.67823 "fixation" 1988751 1989178 427 211.598748 "fixation" 1989179 1989436 257 189.183243 "fixation" 1989437 1989600 163 255.077509 … … … … … "saccade" 2004373 2004385 12 70.374183 "saccade" 2004688 2004704 16 175.646379 "saccade" 2004879 2004901 22 209.46361 "saccade" 2005110 2005126 16 137.917594 "saccade" 2005288 2005345 57 352.550667 -
NoneNone
Check above that a new column with the name peak_velocity has appeared in the event DataFrame.
We can also pass a list of properties. Let’s add the amplitude and dispersion:
dataset.compute_event_properties(["amplitude", "dispersion"])
dataset.events[0]
-
DataFrame (7 columns, 222 rows)shape: (222, 7)
name onset offset duration peak_velocity amplitude dispersion str i64 i64 i64 f64 f64 f64 "fixation" 1988145 1988563 418 200.144558 2.492864 2.712569 "fixation" 1988564 1988750 186 249.67823 2.651198 2.865026 "fixation" 1988751 1989178 427 211.598748 2.585906 2.779518 "fixation" 1989179 1989436 257 189.183243 2.614347 2.77424 "fixation" 1989437 1989600 163 255.077509 2.594651 2.729391 … … … … … … … "saccade" 2004373 2004385 12 70.374183 0.7073 0.766684 "saccade" 2004688 2004704 16 175.646379 1.807485 1.875716 "saccade" 2004879 2004901 22 209.46361 2.933818 3.086169 "saccade" 2005110 2005126 16 137.917594 1.405354 1.501217 "saccade" 2005288 2005345 57 352.550667 14.682541 16.101153 -
NoneNone
This way we can compute all of our desired properties in a single run.
Saving Event Data#
Saving your event data is as simple as:
dataset.save_events()
-
DatasetDefinitionDatasetDefinition
-
NoneNone
-
NoneNone
-
NoneNone
-
NoneNone
-
ExperimentExperiment
-
EyeTrackerEyeTracker
-
NoneNone
-
NoneNone
-
NoneNone
-
NoneNone
-
10001000
-
NoneNone
-
NoneNone
-
-
10001000
-
ScreenScreen
-
6868
-
30.230.2
-
10241024
-
'upper left''upper left'
-
3838
-
12801280
-
15.59938648778295315.599386487782953
-
-15.599386487782953-15.599386487782953
-
12.50804441088254612.508044410882546
-
-12.508044410882546-12.508044410882546
-
-
-
NoneNone
-
dict (1 items)
-
'trial_{text_id:d}_{page_id:d}.csv''trial_{text_id:d}_{page_id:d}.csv'
-
-
dict (1 items)
-
dict (2 items)
-
<class 'int'><class 'int'>
-
<class 'int'><class 'int'>
-
-
-
TrueTrue
-
'pymovements Toy Dataset''pymovements Toy Dataset'
-
dict (0 items)
-
'ToyDataset''ToyDataset'
-
NoneNone
-
NoneNone
-
list (1 items)
-
ResourceDefinition
-
'gaze''gaze'
-
'pymovements-toy-dataset.zip''pymovements-toy-dataset.zip'
-
'trial_{text_id:d}_{page_id:d}.csv''trial_{text_id:d}_{page_id:d}.csv'
-
dict (2 items)
-
<class 'int'><class 'int'>
-
<class 'int'><class 'int'>
-
-
NoneNone
-
dict (4 items)
-
'timestamp''timestamp'
-
'ms''ms'
- (2 more)
-
-
'256901852c1c07581d375eef705855d6''256901852c1c07581d375eef705855d6'
-
NoneNone
-
str'https://github.com/pymovements/pymovements-toy-dataset/archive/refs/heads/main.zip'
-
-
ResourceDefinition
-
NoneNone
-
NoneNone
-
NoneNone
-
NoneNone
-
-
tuple(shape: (222, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 1988145 ┆ 1988563 ┆ 418 ┆ 200.144558 ┆ 2.492864 ┆ 2.712569 │ │ fixation ┆ 1988564 ┆ 1988750 ┆ 186 ┆ 249.67823 ┆ 2.651198 ┆ 2.865026 │ │ fixation ┆ 1988751 ┆ 1989178 ┆ 427 ┆ 211.598748 ┆ 2.585906 ┆ 2.779518 │ │ fixation ┆ 1989179 ┆ 1989436 ┆ 257 ┆ 189.183243 ┆ 2.614347 ┆ 2.77424 │ │ fixation ┆ 1989437 ┆ 1989600 ┆ 163 ┆ 255.077509 ┆ 2.594651 ┆ 2.729391 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2004373 ┆ 2004385 ┆ 12 ┆ 70.374183 ┆ 0.7073 ┆ 0.766684 │ │ saccade ┆ 2004688 ┆ 2004704 ┆ 16 ┆ 175.646379 ┆ 1.807485 ┆ 1.875716 │ │ saccade ┆ 2004879 ┆ 2004901 ┆ 22 ┆ 209.46361 ┆ 2.933818 ┆ 3.086169 │ │ saccade ┆ 2005110 ┆ 2005126 ┆ 16 ┆ 137.917594 ┆ 1.405354 ┆ 1.501217 │ │ saccade ┆ 2005288 ┆ 2005345 ┆ 57 ┆ 352.550667 ┆ 14.682541 ┆ 16.101153 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (366, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 2008305 ┆ 2008621 ┆ 316 ┆ 167.343877 ┆ 2.283024 ┆ 2.706135 │ │ fixation ┆ 2008622 ┆ 2008821 ┆ 199 ┆ 314.396904 ┆ 2.578854 ┆ 2.79657 │ │ fixation ┆ 2008822 ┆ 2009214 ┆ 392 ┆ 305.525917 ┆ 2.612895 ┆ 2.908934 │ │ fixation ┆ 2009215 ┆ 2009433 ┆ 218 ┆ 216.195201 ┆ 2.612208 ┆ 2.765062 │ │ fixation ┆ 2009434 ┆ 2009704 ┆ 270 ┆ 208.05132 ┆ 2.566305 ┆ 2.70311 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2036849 ┆ 2036861 ┆ 12 ┆ 54.743137 ┆ 0.472141 ┆ 0.529715 │ │ saccade ┆ 2037161 ┆ 2037188 ┆ 27 ┆ 223.056103 ┆ 2.358604 ┆ 2.587752 │ │ saccade ┆ 2037412 ┆ 2037503 ┆ 91 ┆ 406.701444 ┆ 16.94863 ┆ 18.346458 │ │ saccade ┆ 2037638 ┆ 2037654 ┆ 16 ┆ 138.382767 ┆ 1.411621 ┆ 1.827761 │ │ saccade ┆ 2037812 ┆ 2037830 ┆ 18 ┆ 240.193236 ┆ 2.739312 ┆ 3.024326 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (326, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 2041029 ┆ 2041360 ┆ 331 ┆ 190.000116 ┆ 2.258261 ┆ 2.773856 │ │ fixation ┆ 2041361 ┆ 2041563 ┆ 202 ┆ 190.807608 ┆ 2.660793 ┆ 2.760701 │ │ fixation ┆ 2041564 ┆ 2041761 ┆ 197 ┆ 208.493896 ┆ 2.467824 ┆ 2.702754 │ │ fixation ┆ 2041762 ┆ 2041945 ┆ 183 ┆ 235.733579 ┆ 2.586355 ┆ 2.723235 │ │ fixation ┆ 2041946 ┆ 2042314 ┆ 368 ┆ 214.025649 ┆ 2.471878 ┆ 2.726531 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2066555 ┆ 2066582 ┆ 27 ┆ 205.889312 ┆ 2.279216 ┆ 2.447532 │ │ saccade ┆ 2066749 ┆ 2066770 ┆ 21 ┆ 205.174294 ┆ 2.349622 ┆ 2.5722 │ │ saccade ┆ 2066959 ┆ 2066987 ┆ 28 ┆ 243.952023 ┆ 3.466837 ┆ 3.686236 │ │ saccade ┆ 2067294 ┆ 2067311 ┆ 17 ┆ 216.129545 ┆ 2.222811 ┆ 2.449043 │ │ saccade ┆ 2067313 ┆ 2067330 ┆ 17 ┆ 48.729134 ┆ 0.550928 ┆ 0.667745 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (406, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 2070587 ┆ 2070931 ┆ 344 ┆ 208.588265 ┆ 2.34928 ┆ 2.746814 │ │ fixation ┆ 2070932 ┆ 2071140 ┆ 208 ┆ 215.417017 ┆ 2.574966 ┆ 2.700412 │ │ fixation ┆ 2071141 ┆ 2071532 ┆ 391 ┆ 182.484098 ┆ 2.583867 ┆ 2.764127 │ │ fixation ┆ 2071533 ┆ 2071744 ┆ 211 ┆ 181.511767 ┆ 2.610372 ┆ 2.740545 │ │ fixation ┆ 2071745 ┆ 2072028 ┆ 283 ┆ 191.994715 ┆ 2.716683 ┆ 2.802719 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2102362 ┆ 2102378 ┆ 16 ┆ 188.831648 ┆ 1.823945 ┆ 1.891607 │ │ saccade ┆ 2102646 ┆ 2102670 ┆ 24 ┆ 206.620251 ┆ 2.668639 ┆ 2.892367 │ │ saccade ┆ 2102673 ┆ 2102685 ┆ 12 ┆ 78.194142 ┆ 0.711673 ┆ 0.817991 │ │ saccade ┆ 2102771 ┆ 2102842 ┆ 71 ┆ 420.339852 ┆ 20.377873 ┆ 22.024862 │ │ saccade ┆ 2103011 ┆ 2103024 ┆ 13 ┆ 108.73988 ┆ 1.060841 ┆ 1.156531 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (405, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 2105893 ┆ 2106270 ┆ 377 ┆ 186.950507 ┆ 2.141267 ┆ 2.845746 │ │ fixation ┆ 2106271 ┆ 2106700 ┆ 429 ┆ 192.048302 ┆ 2.585451 ┆ 2.774287 │ │ fixation ┆ 2106701 ┆ 2106958 ┆ 257 ┆ 212.862308 ┆ 2.663816 ┆ 2.84176 │ │ fixation ┆ 2106959 ┆ 2107189 ┆ 230 ┆ 206.349522 ┆ 2.584391 ┆ 2.741767 │ │ fixation ┆ 2107190 ┆ 2107488 ┆ 298 ┆ 204.239186 ┆ 2.599624 ┆ 2.766116 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2138132 ┆ 2138148 ┆ 16 ┆ 167.640083 ┆ 1.891174 ┆ 2.028105 │ │ saccade ┆ 2138336 ┆ 2138354 ┆ 18 ┆ 150.451587 ┆ 1.733027 ┆ 1.846729 │ │ saccade ┆ 2138523 ┆ 2138543 ┆ 20 ┆ 208.089007 ┆ 2.577622 ┆ 2.697297 │ │ saccade ┆ 2138545 ┆ 2138557 ┆ 12 ┆ 80.043242 ┆ 0.671885 ┆ 0.709981 │ │ saccade ┆ 2138845 ┆ 2138860 ┆ 15 ┆ 206.468876 ┆ 2.024392 ┆ 2.072815 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (312, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 2415266 ┆ 2415669 ┆ 403 ┆ 190.93254 ┆ 2.497585 ┆ 2.788265 │ │ fixation ┆ 2415670 ┆ 2415857 ┆ 187 ┆ 231.548882 ┆ 2.693592 ┆ 2.918287 │ │ fixation ┆ 2415858 ┆ 2416221 ┆ 363 ┆ 198.893701 ┆ 2.635425 ┆ 2.799598 │ │ fixation ┆ 2416222 ┆ 2416431 ┆ 209 ┆ 211.381897 ┆ 2.604419 ┆ 2.759405 │ │ fixation ┆ 2416432 ┆ 2416833 ┆ 401 ┆ 185.502928 ┆ 2.567497 ┆ 2.828558 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2437301 ┆ 2437319 ┆ 18 ┆ 194.42556 ┆ 2.217956 ┆ 2.291074 │ │ saccade ┆ 2437549 ┆ 2437566 ┆ 17 ┆ 199.6514 ┆ 2.27464 ┆ 2.371605 │ │ saccade ┆ 2437569 ┆ 2437583 ┆ 14 ┆ 50.311365 ┆ 0.510947 ┆ 0.555863 │ │ saccade ┆ 2437856 ┆ 2437872 ┆ 16 ┆ 174.220425 ┆ 2.001192 ┆ 2.146633 │ │ saccade ┆ 2438084 ┆ 2438099 ┆ 15 ┆ 185.858552 ┆ 1.869065 ┆ 1.977237 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (268, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 2440987 ┆ 2441199 ┆ 212 ┆ 189.202107 ┆ 2.364492 ┆ 2.632858 │ │ fixation ┆ 2441201 ┆ 2441540 ┆ 339 ┆ 185.003536 ┆ 2.56821 ┆ 2.756967 │ │ fixation ┆ 2441541 ┆ 2441735 ┆ 194 ┆ 213.965014 ┆ 2.582866 ┆ 2.710494 │ │ fixation ┆ 2441736 ┆ 2442222 ┆ 486 ┆ 180.824101 ┆ 2.54781 ┆ 2.711919 │ │ fixation ┆ 2442223 ┆ 2442432 ┆ 209 ┆ 222.144076 ┆ 2.435807 ┆ 2.700725 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2462097 ┆ 2462115 ┆ 18 ┆ 288.607481 ┆ 3.312494 ┆ 3.521621 │ │ saccade ┆ 2462337 ┆ 2462354 ┆ 17 ┆ 177.151196 ┆ 2.108927 ┆ 2.198865 │ │ saccade ┆ 2462705 ┆ 2462726 ┆ 21 ┆ 249.579532 ┆ 2.84258 ┆ 2.956972 │ │ saccade ┆ 2462728 ┆ 2462742 ┆ 14 ┆ 100.626391 ┆ 0.89505 ┆ 0.980027 │ │ saccade ┆ 2462941 ┆ 2462961 ┆ 20 ┆ 209.7643 ┆ 2.350504 ┆ 2.438258 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (361, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 2466370 ┆ 2466713 ┆ 343 ┆ 175.080375 ┆ 2.260986 ┆ 2.708004 │ │ fixation ┆ 2466714 ┆ 2466931 ┆ 217 ┆ 242.86095 ┆ 2.806154 ┆ 2.877944 │ │ fixation ┆ 2466932 ┆ 2467210 ┆ 278 ┆ 193.386696 ┆ 2.592256 ┆ 2.774411 │ │ fixation ┆ 2467211 ┆ 2467634 ┆ 423 ┆ 194.654876 ┆ 2.673857 ┆ 2.76201 │ │ fixation ┆ 2467635 ┆ 2467847 ┆ 212 ┆ 233.080336 ┆ 2.628021 ┆ 2.787569 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2494745 ┆ 2494757 ┆ 12 ┆ 103.394764 ┆ 0.929155 ┆ 1.009285 │ │ saccade ┆ 2494904 ┆ 2494929 ┆ 25 ┆ 119.575209 ┆ 1.028897 ┆ 1.151386 │ │ saccade ┆ 2495128 ┆ 2495168 ┆ 40 ┆ 276.119142 ┆ 4.375786 ┆ 4.830638 │ │ saccade ┆ 2495349 ┆ 2495365 ┆ 16 ┆ 146.470901 ┆ 1.411251 ┆ 1.485715 │ │ saccade ┆ 2495538 ┆ 2495586 ┆ 48 ┆ 324.75986 ┆ 6.138982 ┆ 6.509683 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (410, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 2498476 ┆ 2498820 ┆ 344 ┆ 218.315242 ┆ 2.322155 ┆ 2.812746 │ │ fixation ┆ 2498821 ┆ 2499287 ┆ 466 ┆ 207.871157 ┆ 2.516208 ┆ 2.742623 │ │ fixation ┆ 2499288 ┆ 2499810 ┆ 522 ┆ 207.193366 ┆ 2.439559 ┆ 2.712952 │ │ fixation ┆ 2499811 ┆ 2500103 ┆ 292 ┆ 232.225897 ┆ 2.616651 ┆ 2.785399 │ │ fixation ┆ 2500104 ┆ 2500284 ┆ 180 ┆ 237.292499 ┆ 2.60667 ┆ 2.786639 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2531758 ┆ 2531777 ┆ 19 ┆ 234.851566 ┆ 2.68985 ┆ 2.955248 │ │ saccade ┆ 2531781 ┆ 2531795 ┆ 14 ┆ 42.467736 ┆ 0.477871 ┆ 0.598621 │ │ saccade ┆ 2532123 ┆ 2532140 ┆ 17 ┆ 225.837839 ┆ 2.552659 ┆ 2.755136 │ │ saccade ┆ 2532430 ┆ 2532455 ┆ 25 ┆ 244.427252 ┆ 2.634329 ┆ 2.899421 │ │ saccade ┆ 2532803 ┆ 2532827 ┆ 24 ┆ 228.038588 ┆ 3.150437 ┆ 3.354609 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (289, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 2535732 ┆ 2536093 ┆ 361 ┆ 184.724692 ┆ 2.352941 ┆ 2.835737 │ │ fixation ┆ 2536094 ┆ 2536624 ┆ 530 ┆ 201.58258 ┆ 2.509359 ┆ 2.709068 │ │ fixation ┆ 2536628 ┆ 2536852 ┆ 224 ┆ 258.371605 ┆ 2.566484 ┆ 2.790628 │ │ fixation ┆ 2536853 ┆ 2537086 ┆ 233 ┆ 237.375349 ┆ 2.526711 ┆ 2.715363 │ │ fixation ┆ 2537087 ┆ 2537493 ┆ 406 ┆ 238.008754 ┆ 2.602644 ┆ 2.811506 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2558117 ┆ 2558129 ┆ 12 ┆ 59.816649 ┆ 0.484307 ┆ 0.522412 │ │ saccade ┆ 2558288 ┆ 2558318 ┆ 30 ┆ 220.161261 ┆ 2.206303 ┆ 2.440622 │ │ saccade ┆ 2558503 ┆ 2558521 ┆ 18 ┆ 214.059528 ┆ 2.439769 ┆ 2.537078 │ │ saccade ┆ 2558819 ┆ 2558860 ┆ 41 ┆ 248.370114 ┆ 3.587805 ┆ 3.806662 │ │ saccade ┆ 2559141 ┆ 2559170 ┆ 29 ┆ 219.333101 ┆ 3.018918 ┆ 3.140515 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (329, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 1788369 ┆ 1788627 ┆ 258 ┆ 166.338723 ┆ 1.930879 ┆ 2.728214 │ │ fixation ┆ 1788628 ┆ 1788968 ┆ 340 ┆ 187.780027 ┆ 2.628604 ┆ 2.861939 │ │ fixation ┆ 1788969 ┆ 1789139 ┆ 170 ┆ 195.461174 ┆ 2.623736 ┆ 2.742104 │ │ fixation ┆ 1789140 ┆ 1789319 ┆ 179 ┆ 192.162046 ┆ 2.556248 ┆ 2.726988 │ │ fixation ┆ 1789320 ┆ 1789594 ┆ 274 ┆ 224.146572 ┆ 2.549603 ┆ 2.795794 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 1816417 ┆ 1816437 ┆ 20 ┆ 185.220397 ┆ 2.170553 ┆ 2.274391 │ │ saccade ┆ 1816662 ┆ 1816731 ┆ 69 ┆ 397.138653 ┆ 19.7624 ┆ 21.432082 │ │ saccade ┆ 1816870 ┆ 1816902 ┆ 32 ┆ 150.368475 ┆ 1.897624 ┆ 2.162006 │ │ saccade ┆ 1817186 ┆ 1817220 ┆ 34 ┆ 274.755185 ┆ 4.677425 ┆ 4.943179 │ │ saccade ┆ 1817528 ┆ 1817542 ┆ 14 ┆ 136.187717 ┆ 1.284482 ┆ 1.443315 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (374, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 1821110 ┆ 1821608 ┆ 498 ┆ 177.886157 ┆ 2.365149 ┆ 2.710869 │ │ fixation ┆ 1821609 ┆ 1822344 ┆ 735 ┆ 148.386319 ┆ 2.607432 ┆ 2.773809 │ │ fixation ┆ 1822345 ┆ 1822843 ┆ 498 ┆ 179.920166 ┆ 2.593463 ┆ 2.753123 │ │ fixation ┆ 1822844 ┆ 1823142 ┆ 298 ┆ 220.615415 ┆ 2.557455 ┆ 2.750823 │ │ fixation ┆ 1823143 ┆ 1823381 ┆ 238 ┆ 213.250677 ┆ 2.550018 ┆ 2.802847 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 1853339 ┆ 1853410 ┆ 71 ┆ 407.279024 ┆ 21.168297 ┆ 22.678993 │ │ saccade ┆ 1853423 ┆ 1853439 ┆ 16 ┆ 50.973479 ┆ 0.576348 ┆ 0.619034 │ │ saccade ┆ 1853778 ┆ 1853795 ┆ 17 ┆ 231.872115 ┆ 2.324079 ┆ 2.478849 │ │ saccade ┆ 1853798 ┆ 1853811 ┆ 13 ┆ 78.631457 ┆ 0.718244 ┆ 0.788426 │ │ saccade ┆ 1853963 ┆ 1853980 ┆ 17 ┆ 154.706905 ┆ 1.726661 ┆ 1.856953 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (370, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 1857182 ┆ 1857905 ┆ 723 ┆ 178.800005 ┆ 2.010224 ┆ 2.706471 │ │ fixation ┆ 1857906 ┆ 1858241 ┆ 335 ┆ 205.698167 ┆ 2.532681 ┆ 2.748099 │ │ fixation ┆ 1858242 ┆ 1858669 ┆ 427 ┆ 180.011357 ┆ 2.571919 ┆ 2.778764 │ │ fixation ┆ 1858670 ┆ 1858930 ┆ 260 ┆ 216.089921 ┆ 2.663359 ┆ 2.836825 │ │ fixation ┆ 1858931 ┆ 1859166 ┆ 235 ┆ 204.235671 ┆ 2.644293 ┆ 2.776712 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 1886962 ┆ 1886980 ┆ 18 ┆ 194.610086 ┆ 2.41494 ┆ 2.526103 │ │ saccade ┆ 1887245 ┆ 1887274 ┆ 29 ┆ 233.042461 ┆ 3.998358 ┆ 4.207889 │ │ saccade ┆ 1887748 ┆ 1887779 ┆ 31 ┆ 234.490458 ┆ 3.897304 ┆ 4.3499 │ │ saccade ┆ 1888164 ┆ 1888180 ┆ 16 ┆ 161.034426 ┆ 1.675252 ┆ 1.773673 │ │ saccade ┆ 1888402 ┆ 1888416 ┆ 14 ┆ 123.020248 ┆ 1.143881 ┆ 1.231803 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (347, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 1892056 ┆ 1892406 ┆ 350 ┆ 148.882736 ┆ 2.169127 ┆ 2.710158 │ │ fixation ┆ 1892407 ┆ 1892889 ┆ 482 ┆ 158.332598 ┆ 2.438476 ┆ 2.720341 │ │ fixation ┆ 1892890 ┆ 1893069 ┆ 179 ┆ 198.378605 ┆ 2.543522 ┆ 2.74335 │ │ fixation ┆ 1893070 ┆ 1893225 ┆ 155 ┆ 572.619996 ┆ 2.433247 ┆ 2.886723 │ │ fixation ┆ 1893311 ┆ 1893517 ┆ 206 ┆ 185.343995 ┆ 2.224369 ┆ 2.76191 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 1920666 ┆ 1920680 ┆ 14 ┆ 53.541464 ┆ 0.524263 ┆ 0.599727 │ │ saccade ┆ 1920931 ┆ 1920948 ┆ 17 ┆ 184.71317 ┆ 2.083844 ┆ 2.204243 │ │ saccade ┆ 1921180 ┆ 1921204 ┆ 24 ┆ 201.605602 ┆ 2.6824 ┆ 2.948158 │ │ saccade ┆ 1921465 ┆ 1921481 ┆ 16 ┆ 148.373275 ┆ 1.563726 ┆ 1.662176 │ │ saccade ┆ 1921484 ┆ 1921497 ┆ 13 ┆ 42.431009 ┆ 0.399969 ┆ 0.486732 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (315, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 1925919 ┆ 1926303 ┆ 384 ┆ 160.017034 ┆ 2.628513 ┆ 2.870853 │ │ fixation ┆ 1926304 ┆ 1926910 ┆ 606 ┆ 233.580191 ┆ 2.565402 ┆ 2.731894 │ │ fixation ┆ 1926911 ┆ 1927269 ┆ 358 ┆ 206.599483 ┆ 2.656728 ┆ 2.798344 │ │ fixation ┆ 1927270 ┆ 1927726 ┆ 456 ┆ 167.345522 ┆ 2.624246 ┆ 2.799881 │ │ fixation ┆ 1927727 ┆ 1928262 ┆ 535 ┆ 206.781851 ┆ 2.496664 ┆ 2.701081 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 1951311 ┆ 1951323 ┆ 12 ┆ 64.557291 ┆ 0.546737 ┆ 0.624564 │ │ saccade ┆ 1951578 ┆ 1951596 ┆ 18 ┆ 168.060021 ┆ 1.76535 ┆ 1.919254 │ │ saccade ┆ 1951951 ┆ 1951979 ┆ 28 ┆ 174.115371 ┆ 1.803503 ┆ 1.950795 │ │ saccade ┆ 1952141 ┆ 1952157 ┆ 16 ┆ 183.599606 ┆ 2.01917 ┆ 2.236723 │ │ saccade ┆ 1952350 ┆ 1952366 ┆ 16 ┆ 164.901431 ┆ 1.617187 ┆ 1.738797 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (327, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 2199265 ┆ 2199661 ┆ 396 ┆ 210.63191 ┆ 2.435184 ┆ 2.763179 │ │ fixation ┆ 2199662 ┆ 2200378 ┆ 716 ┆ 210.663544 ┆ 2.484421 ┆ 2.703916 │ │ fixation ┆ 2200379 ┆ 2200686 ┆ 307 ┆ 194.377739 ┆ 2.533929 ┆ 2.753746 │ │ fixation ┆ 2200687 ┆ 2201153 ┆ 466 ┆ 194.362595 ┆ 2.474604 ┆ 2.731272 │ │ fixation ┆ 2201154 ┆ 2201403 ┆ 249 ┆ 189.214329 ┆ 2.577341 ┆ 2.79942 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2225401 ┆ 2225423 ┆ 22 ┆ 230.975808 ┆ 2.895209 ┆ 3.12224 │ │ saccade ┆ 2225425 ┆ 2225437 ┆ 12 ┆ 90.166193 ┆ 0.805183 ┆ 0.853004 │ │ saccade ┆ 2225612 ┆ 2225689 ┆ 77 ┆ 385.874389 ┆ 18.750847 ┆ 19.904254 │ │ saccade ┆ 2225694 ┆ 2225708 ┆ 14 ┆ 63.024947 ┆ 0.580474 ┆ 0.651642 │ │ saccade ┆ 2226159 ┆ 2226193 ┆ 34 ┆ 370.955645 ┆ 8.52137 ┆ 11.419659 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (337, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 2228730 ┆ 2229180 ┆ 450 ┆ 229.664887 ┆ 2.662613 ┆ 2.871773 │ │ fixation ┆ 2229181 ┆ 2229369 ┆ 188 ┆ 237.872262 ┆ 2.521758 ┆ 2.726117 │ │ fixation ┆ 2229370 ┆ 2229774 ┆ 404 ┆ 162.334631 ┆ 2.644043 ┆ 2.812908 │ │ fixation ┆ 2229775 ┆ 2229997 ┆ 222 ┆ 211.773888 ┆ 2.67673 ┆ 2.779023 │ │ fixation ┆ 2229998 ┆ 2230196 ┆ 198 ┆ 219.592958 ┆ 2.544986 ┆ 2.724868 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2255320 ┆ 2255334 ┆ 14 ┆ 167.431659 ┆ 1.546496 ┆ 1.96683 │ │ saccade ┆ 2255338 ┆ 2255350 ┆ 12 ┆ 64.087931 ┆ 0.586501 ┆ 0.64511 │ │ saccade ┆ 2255512 ┆ 2255531 ┆ 19 ┆ 303.950654 ┆ 3.370259 ┆ 3.721134 │ │ saccade ┆ 2255537 ┆ 2255549 ┆ 12 ┆ 69.303064 ┆ 0.594982 ┆ 0.668932 │ │ saccade ┆ 2255751 ┆ 2255800 ┆ 49 ┆ 447.865971 ┆ 13.944802 ┆ 15.27056 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (336, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 2258387 ┆ 2258821 ┆ 434 ┆ 181.873264 ┆ 2.265029 ┆ 2.763399 │ │ fixation ┆ 2258822 ┆ 2259026 ┆ 204 ┆ 221.887778 ┆ 2.559293 ┆ 2.732458 │ │ fixation ┆ 2259027 ┆ 2259474 ┆ 447 ┆ 205.514531 ┆ 2.605594 ┆ 2.762995 │ │ fixation ┆ 2259475 ┆ 2259715 ┆ 240 ┆ 206.992841 ┆ 2.568733 ┆ 2.737374 │ │ fixation ┆ 2259716 ┆ 2260414 ┆ 698 ┆ 169.281304 ┆ 2.612969 ┆ 2.82432 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2285868 ┆ 2285891 ┆ 23 ┆ 237.231038 ┆ 2.978826 ┆ 3.130071 │ │ saccade ┆ 2286025 ┆ 2286106 ┆ 81 ┆ 389.114549 ┆ 20.065909 ┆ 21.441585 │ │ saccade ┆ 2286236 ┆ 2286248 ┆ 12 ┆ 115.386386 ┆ 0.99063 ┆ 1.197837 │ │ saccade ┆ 2286532 ┆ 2286563 ┆ 31 ┆ 271.860398 ┆ 3.850584 ┆ 4.199014 │ │ saccade ┆ 2286742 ┆ 2286754 ┆ 12 ┆ 94.091517 ┆ 0.944254 ┆ 1.026221 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (364, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 2289654 ┆ 2290027 ┆ 373 ┆ 202.825227 ┆ 2.094507 ┆ 2.784527 │ │ fixation ┆ 2290028 ┆ 2290269 ┆ 241 ┆ 284.32695 ┆ 2.524134 ┆ 2.710672 │ │ fixation ┆ 2290270 ┆ 2290536 ┆ 266 ┆ 246.465389 ┆ 2.57298 ┆ 2.730355 │ │ fixation ┆ 2290537 ┆ 2290959 ┆ 422 ┆ 169.670773 ┆ 2.609924 ┆ 2.814569 │ │ fixation ┆ 2290960 ┆ 2291270 ┆ 310 ┆ 211.000633 ┆ 2.660164 ┆ 2.762348 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2319977 ┆ 2319990 ┆ 13 ┆ 39.133442 ┆ 0.327113 ┆ 0.417387 │ │ saccade ┆ 2320256 ┆ 2320336 ┆ 80 ┆ 374.054923 ┆ 21.890933 ┆ 22.978089 │ │ saccade ┆ 2320536 ┆ 2320552 ┆ 16 ┆ 172.048427 ┆ 1.725806 ┆ 1.969682 │ │ saccade ┆ 2320842 ┆ 2320859 ┆ 17 ┆ 203.858621 ┆ 2.429952 ┆ 2.552571 │ │ saccade ┆ 2320861 ┆ 2320874 ┆ 13 ┆ 85.185797 ┆ 0.787333 ┆ 0.879855 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (361, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 2323912 ┆ 2324303 ┆ 391 ┆ 147.61711 ┆ 1.964148 ┆ 2.756289 │ │ fixation ┆ 2324304 ┆ 2324735 ┆ 431 ┆ 209.831555 ┆ 2.599204 ┆ 2.788129 │ │ fixation ┆ 2324736 ┆ 2325103 ┆ 367 ┆ 213.3453 ┆ 2.611797 ┆ 2.791826 │ │ fixation ┆ 2325104 ┆ 2325347 ┆ 243 ┆ 225.067575 ┆ 2.581646 ┆ 2.759365 │ │ fixation ┆ 2325348 ┆ 2325597 ┆ 249 ┆ 230.335714 ┆ 2.577667 ┆ 2.730486 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2352570 ┆ 2352601 ┆ 31 ┆ 371.22848 ┆ 5.452252 ┆ 6.011779 │ │ saccade ┆ 2352791 ┆ 2352807 ┆ 16 ┆ 241.534625 ┆ 2.599816 ┆ 2.672458 │ │ saccade ┆ 2353040 ┆ 2353055 ┆ 15 ┆ 127.551514 ┆ 1.294229 ┆ 1.318547 │ │ saccade ┆ 2353394 ┆ 2353436 ┆ 42 ┆ 240.984358 ┆ 3.322846 ┆ 3.538708 │ │ saccade ┆ 2353622 ┆ 2353643 ┆ 21 ┆ 219.750364 ┆ 2.94861 ┆ 3.082895 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘)
-
dict (1 items)
-
DataFrame (3 columns, 20 rows)shape: (20, 3)
text_id page_id filepath i64 i64 str 0 1 "pymovements-toy-dataset-main/d… 0 2 "pymovements-toy-dataset-main/d… 0 3 "pymovements-toy-dataset-main/d… 0 4 "pymovements-toy-dataset-main/d… 0 5 "pymovements-toy-dataset-main/d… … … … 3 1 "pymovements-toy-dataset-main/d… 3 2 "pymovements-toy-dataset-main/d… 3 3 "pymovements-toy-dataset-main/d… 3 4 "pymovements-toy-dataset-main/d… 3 5 "pymovements-toy-dataset-main/d…
-
-
list (20 items)
-
Gaze
-
DataFrame (6 columns, 17223 rows)shape: (17_223, 6)
time stimuli_x stimuli_y pixel position velocity i64 f64 f64 list[f64] list[f64] list[f64] 1988145 -1.0 -1.0 [206.8, 152.4] [-10.697598, -8.852399] [null, null] 1988146 -1.0 -1.0 [206.9, 152.1] [-10.695183, -8.859678] [null, null] 1988147 -1.0 -1.0 [207.0, 151.8] [-10.692768, -8.866956] [1.610194, -5.256267] 1988148 -1.0 -1.0 [207.1, 151.7] [-10.690352, -8.869381] [0.402548, -4.447465] 1988149 -1.0 -1.0 [207.0, 151.5] [-10.692768, -8.874233] [0.402561, -3.234462] … … … … … … 2005363 -1.0 -1.0 [361.0, 415.4] [-6.932438, -2.386672] [-63.266374, -21.085616] 2005364 -1.0 -1.0 [358.0, 414.5] [-7.006376, -2.408998] [-63.249652, -19.431326] 2005365 -1.0 -1.0 [355.8, 413.8] [-7.060582, -2.426362] [-60.359624, -15.710061] 2005366 -1.0 -1.0 [353.1, 413.2] [-7.12709, -2.441245] [null, null] 2005367 -1.0 -1.0 [351.2, 412.9] [-7.173881, -2.448686] [null, null] -
EventsEvents
-
DataFrame (7 columns, 222 rows)shape: (222, 7)
name onset offset duration peak_velocity amplitude dispersion str i64 i64 i64 f64 f64 f64 "fixation" 1988145 1988563 418 200.144558 2.492864 2.712569 "fixation" 1988564 1988750 186 249.67823 2.651198 2.865026 "fixation" 1988751 1989178 427 211.598748 2.585906 2.779518 "fixation" 1989179 1989436 257 189.183243 2.614347 2.77424 "fixation" 1989437 1989600 163 255.077509 2.594651 2.729391 … … … … … … … "saccade" 2004373 2004385 12 70.374183 0.7073 0.766684 "saccade" 2004688 2004704 16 175.646379 1.807485 1.875716 "saccade" 2004879 2004901 22 209.46361 2.933818 3.086169 "saccade" 2005110 2005126 16 137.917594 1.405354 1.501217 "saccade" 2005288 2005345 57 352.550667 14.682541 16.101153 -
NoneNone
-
-
NoneNone
-
ExperimentExperiment
-
EyeTrackerEyeTracker
-
NoneNone
-
NoneNone
-
NoneNone
-
NoneNone
-
10001000
-
NoneNone
-
NoneNone
-
-
10001000
-
ScreenScreen
-
6868
-
30.230.2
-
10241024
-
'upper left''upper left'
-
3838
-
12801280
-
15.59938648778295315.599386487782953
-
-15.599386487782953-15.599386487782953
-
12.50804441088254612.508044410882546
-
-12.508044410882546-12.508044410882546
-
-
-
-
Gaze
-
DataFrame (6 columns, 29799 rows)shape: (29_799, 6)
time stimuli_x stimuli_y pixel position velocity i64 f64 f64 list[f64] list[f64] list[f64] 2008305 -1.0 -1.0 [141.4, 153.6] [-12.268583, -8.823284] [null, null] 2008306 -1.0 -1.0 [141.1, 153.2] [-12.275749, -8.832989] [null, null] 2008307 -1.0 -1.0 [140.7, 152.8] [-12.285302, -8.842695] [-5.572617, -6.065816] 2008308 -1.0 -1.0 [140.6, 152.7] [-12.28769, -8.845121] [-3.582268, -4.043733] 2008309 -1.0 -1.0 [140.5, 152.6] [-12.290078, -8.847547] [-2.388085, -2.021821] … … … … … … 2038099 -1.0 -1.0 [273.8, 773.8] [-9.071149, 6.490168] [1.21962, 1.635403] 2038100 -1.0 -1.0 [273.8, 774.1] [-9.071149, 6.497527] [1.626175, 4.497406] 2038101 -1.0 -1.0 [273.9, 774.5] [-9.06871, 6.50734] [1.626186, 1.635423] 2038102 -1.0 -1.0 [274.0, 774.4] [-9.066271, 6.504886] [null, null] 2038103 -1.0 -1.0 [274.0, 773.9] [-9.066271, 6.492621] [null, null] -
EventsEvents
-
DataFrame (7 columns, 366 rows)shape: (366, 7)
name onset offset duration peak_velocity amplitude dispersion str i64 i64 i64 f64 f64 f64 "fixation" 2008305 2008621 316 167.343877 2.283024 2.706135 "fixation" 2008622 2008821 199 314.396904 2.578854 2.79657 "fixation" 2008822 2009214 392 305.525917 2.612895 2.908934 "fixation" 2009215 2009433 218 216.195201 2.612208 2.765062 "fixation" 2009434 2009704 270 208.05132 2.566305 2.70311 … … … … … … … "saccade" 2036849 2036861 12 54.743137 0.472141 0.529715 "saccade" 2037161 2037188 27 223.056103 2.358604 2.587752 "saccade" 2037412 2037503 91 406.701444 16.94863 18.346458 "saccade" 2037638 2037654 16 138.382767 1.411621 1.827761 "saccade" 2037812 2037830 18 240.193236 2.739312 3.024326 -
NoneNone
-
-
NoneNone
-
ExperimentExperiment
-
EyeTrackerEyeTracker
-
NoneNone
-
NoneNone
-
NoneNone
-
NoneNone
-
10001000
-
NoneNone
-
NoneNone
-
-
10001000
-
ScreenScreen
-
6868
-
30.230.2
-
10241024
-
'upper left''upper left'
-
3838
-
12801280
-
15.59938648778295315.599386487782953
-
-15.599386487782953-15.599386487782953
-
12.50804441088254612.508044410882546
-
-12.508044410882546-12.508044410882546
-
-
-
- (18 more)
-
Gaze
-
PosixPath('data/ToyDataset')PosixPath('data/ToyDataset')
-
DatasetPathsDatasetPaths
-
PosixPath('data/ToyDataset')PosixPath('data/ToyDataset')
-
PosixPath('data/ToyDataset/downloads')PosixPath('data/ToyDataset/downloads')
-
PosixPath('data/ToyDataset/events')PosixPath('data/ToyDataset/events')
-
PosixPath('data/ToyDataset/precomputed_events')PosixPath('data/ToyDataset/precomputed_events')
-
PosixPathPosixPath('data/ToyDataset/precomputed_reading_measures')
-
PosixPath('data/ToyDataset/preprocessed')PosixPath('data/ToyDataset/preprocessed')
-
PosixPath('data/ToyDataset/raw')PosixPath('data/ToyDataset/raw')
-
PosixPath('data/ToyDataset')PosixPath('data/ToyDataset')
-
-
list (0 items)
-
list (0 items)
All the event data is saved into this directory:
dataset.paths.events
PosixPath('data/ToyDataset/events')
Let’s confirm it by printing all files in this directory:
print(list(dataset.paths.events.glob('*/*/*')))
[PosixPath('data/ToyDataset/events/pymovements-toy-dataset-main/data/trial_0_1.feather'), PosixPath('data/ToyDataset/events/pymovements-toy-dataset-main/data/trial_1_2.feather'), PosixPath('data/ToyDataset/events/pymovements-toy-dataset-main/data/trial_0_2.feather'), PosixPath('data/ToyDataset/events/pymovements-toy-dataset-main/data/trial_3_5.feather'), PosixPath('data/ToyDataset/events/pymovements-toy-dataset-main/data/trial_1_4.feather'), PosixPath('data/ToyDataset/events/pymovements-toy-dataset-main/data/trial_0_4.feather'), PosixPath('data/ToyDataset/events/pymovements-toy-dataset-main/data/trial_3_4.feather'), PosixPath('data/ToyDataset/events/pymovements-toy-dataset-main/data/trial_2_3.feather'), PosixPath('data/ToyDataset/events/pymovements-toy-dataset-main/data/trial_2_2.feather'), PosixPath('data/ToyDataset/events/pymovements-toy-dataset-main/data/trial_3_1.feather'), PosixPath('data/ToyDataset/events/pymovements-toy-dataset-main/data/trial_1_5.feather'), PosixPath('data/ToyDataset/events/pymovements-toy-dataset-main/data/trial_3_3.feather'), PosixPath('data/ToyDataset/events/pymovements-toy-dataset-main/data/trial_2_4.feather'), PosixPath('data/ToyDataset/events/pymovements-toy-dataset-main/data/trial_3_2.feather'), PosixPath('data/ToyDataset/events/pymovements-toy-dataset-main/data/trial_2_5.feather'), PosixPath('data/ToyDataset/events/pymovements-toy-dataset-main/data/trial_1_3.feather'), PosixPath('data/ToyDataset/events/pymovements-toy-dataset-main/data/trial_0_3.feather'), PosixPath('data/ToyDataset/events/pymovements-toy-dataset-main/data/trial_1_1.feather'), PosixPath('data/ToyDataset/events/pymovements-toy-dataset-main/data/trial_0_5.feather'), PosixPath('data/ToyDataset/events/pymovements-toy-dataset-main/data/trial_2_1.feather')]
All files have been saved into the Dataset.paths.events as files in Feather format.
If we want to save the data into an alternative directory and also use a different file format like csv we can use the following:
dataset.save_events(events_dirname='events_csv', extension='csv')
-
DatasetDefinitionDatasetDefinition
-
NoneNone
-
NoneNone
-
NoneNone
-
NoneNone
-
ExperimentExperiment
-
EyeTrackerEyeTracker
-
NoneNone
-
NoneNone
-
NoneNone
-
NoneNone
-
10001000
-
NoneNone
-
NoneNone
-
-
10001000
-
ScreenScreen
-
6868
-
30.230.2
-
10241024
-
'upper left''upper left'
-
3838
-
12801280
-
15.59938648778295315.599386487782953
-
-15.599386487782953-15.599386487782953
-
12.50804441088254612.508044410882546
-
-12.508044410882546-12.508044410882546
-
-
-
NoneNone
-
dict (1 items)
-
'trial_{text_id:d}_{page_id:d}.csv''trial_{text_id:d}_{page_id:d}.csv'
-
-
dict (1 items)
-
dict (2 items)
-
<class 'int'><class 'int'>
-
<class 'int'><class 'int'>
-
-
-
TrueTrue
-
'pymovements Toy Dataset''pymovements Toy Dataset'
-
dict (0 items)
-
'ToyDataset''ToyDataset'
-
NoneNone
-
NoneNone
-
list (1 items)
-
ResourceDefinition
-
'gaze''gaze'
-
'pymovements-toy-dataset.zip''pymovements-toy-dataset.zip'
-
'trial_{text_id:d}_{page_id:d}.csv''trial_{text_id:d}_{page_id:d}.csv'
-
dict (2 items)
-
<class 'int'><class 'int'>
-
<class 'int'><class 'int'>
-
-
NoneNone
-
dict (4 items)
-
'timestamp''timestamp'
-
'ms''ms'
- (2 more)
-
-
'256901852c1c07581d375eef705855d6''256901852c1c07581d375eef705855d6'
-
NoneNone
-
str'https://github.com/pymovements/pymovements-toy-dataset/archive/refs/heads/main.zip'
-
-
ResourceDefinition
-
NoneNone
-
NoneNone
-
NoneNone
-
NoneNone
-
-
tuple(shape: (222, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 1988145 ┆ 1988563 ┆ 418 ┆ 200.144558 ┆ 2.492864 ┆ 2.712569 │ │ fixation ┆ 1988564 ┆ 1988750 ┆ 186 ┆ 249.67823 ┆ 2.651198 ┆ 2.865026 │ │ fixation ┆ 1988751 ┆ 1989178 ┆ 427 ┆ 211.598748 ┆ 2.585906 ┆ 2.779518 │ │ fixation ┆ 1989179 ┆ 1989436 ┆ 257 ┆ 189.183243 ┆ 2.614347 ┆ 2.77424 │ │ fixation ┆ 1989437 ┆ 1989600 ┆ 163 ┆ 255.077509 ┆ 2.594651 ┆ 2.729391 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2004373 ┆ 2004385 ┆ 12 ┆ 70.374183 ┆ 0.7073 ┆ 0.766684 │ │ saccade ┆ 2004688 ┆ 2004704 ┆ 16 ┆ 175.646379 ┆ 1.807485 ┆ 1.875716 │ │ saccade ┆ 2004879 ┆ 2004901 ┆ 22 ┆ 209.46361 ┆ 2.933818 ┆ 3.086169 │ │ saccade ┆ 2005110 ┆ 2005126 ┆ 16 ┆ 137.917594 ┆ 1.405354 ┆ 1.501217 │ │ saccade ┆ 2005288 ┆ 2005345 ┆ 57 ┆ 352.550667 ┆ 14.682541 ┆ 16.101153 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (366, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 2008305 ┆ 2008621 ┆ 316 ┆ 167.343877 ┆ 2.283024 ┆ 2.706135 │ │ fixation ┆ 2008622 ┆ 2008821 ┆ 199 ┆ 314.396904 ┆ 2.578854 ┆ 2.79657 │ │ fixation ┆ 2008822 ┆ 2009214 ┆ 392 ┆ 305.525917 ┆ 2.612895 ┆ 2.908934 │ │ fixation ┆ 2009215 ┆ 2009433 ┆ 218 ┆ 216.195201 ┆ 2.612208 ┆ 2.765062 │ │ fixation ┆ 2009434 ┆ 2009704 ┆ 270 ┆ 208.05132 ┆ 2.566305 ┆ 2.70311 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2036849 ┆ 2036861 ┆ 12 ┆ 54.743137 ┆ 0.472141 ┆ 0.529715 │ │ saccade ┆ 2037161 ┆ 2037188 ┆ 27 ┆ 223.056103 ┆ 2.358604 ┆ 2.587752 │ │ saccade ┆ 2037412 ┆ 2037503 ┆ 91 ┆ 406.701444 ┆ 16.94863 ┆ 18.346458 │ │ saccade ┆ 2037638 ┆ 2037654 ┆ 16 ┆ 138.382767 ┆ 1.411621 ┆ 1.827761 │ │ saccade ┆ 2037812 ┆ 2037830 ┆ 18 ┆ 240.193236 ┆ 2.739312 ┆ 3.024326 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (326, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 2041029 ┆ 2041360 ┆ 331 ┆ 190.000116 ┆ 2.258261 ┆ 2.773856 │ │ fixation ┆ 2041361 ┆ 2041563 ┆ 202 ┆ 190.807608 ┆ 2.660793 ┆ 2.760701 │ │ fixation ┆ 2041564 ┆ 2041761 ┆ 197 ┆ 208.493896 ┆ 2.467824 ┆ 2.702754 │ │ fixation ┆ 2041762 ┆ 2041945 ┆ 183 ┆ 235.733579 ┆ 2.586355 ┆ 2.723235 │ │ fixation ┆ 2041946 ┆ 2042314 ┆ 368 ┆ 214.025649 ┆ 2.471878 ┆ 2.726531 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2066555 ┆ 2066582 ┆ 27 ┆ 205.889312 ┆ 2.279216 ┆ 2.447532 │ │ saccade ┆ 2066749 ┆ 2066770 ┆ 21 ┆ 205.174294 ┆ 2.349622 ┆ 2.5722 │ │ saccade ┆ 2066959 ┆ 2066987 ┆ 28 ┆ 243.952023 ┆ 3.466837 ┆ 3.686236 │ │ saccade ┆ 2067294 ┆ 2067311 ┆ 17 ┆ 216.129545 ┆ 2.222811 ┆ 2.449043 │ │ saccade ┆ 2067313 ┆ 2067330 ┆ 17 ┆ 48.729134 ┆ 0.550928 ┆ 0.667745 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (406, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 2070587 ┆ 2070931 ┆ 344 ┆ 208.588265 ┆ 2.34928 ┆ 2.746814 │ │ fixation ┆ 2070932 ┆ 2071140 ┆ 208 ┆ 215.417017 ┆ 2.574966 ┆ 2.700412 │ │ fixation ┆ 2071141 ┆ 2071532 ┆ 391 ┆ 182.484098 ┆ 2.583867 ┆ 2.764127 │ │ fixation ┆ 2071533 ┆ 2071744 ┆ 211 ┆ 181.511767 ┆ 2.610372 ┆ 2.740545 │ │ fixation ┆ 2071745 ┆ 2072028 ┆ 283 ┆ 191.994715 ┆ 2.716683 ┆ 2.802719 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2102362 ┆ 2102378 ┆ 16 ┆ 188.831648 ┆ 1.823945 ┆ 1.891607 │ │ saccade ┆ 2102646 ┆ 2102670 ┆ 24 ┆ 206.620251 ┆ 2.668639 ┆ 2.892367 │ │ saccade ┆ 2102673 ┆ 2102685 ┆ 12 ┆ 78.194142 ┆ 0.711673 ┆ 0.817991 │ │ saccade ┆ 2102771 ┆ 2102842 ┆ 71 ┆ 420.339852 ┆ 20.377873 ┆ 22.024862 │ │ saccade ┆ 2103011 ┆ 2103024 ┆ 13 ┆ 108.73988 ┆ 1.060841 ┆ 1.156531 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (405, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 2105893 ┆ 2106270 ┆ 377 ┆ 186.950507 ┆ 2.141267 ┆ 2.845746 │ │ fixation ┆ 2106271 ┆ 2106700 ┆ 429 ┆ 192.048302 ┆ 2.585451 ┆ 2.774287 │ │ fixation ┆ 2106701 ┆ 2106958 ┆ 257 ┆ 212.862308 ┆ 2.663816 ┆ 2.84176 │ │ fixation ┆ 2106959 ┆ 2107189 ┆ 230 ┆ 206.349522 ┆ 2.584391 ┆ 2.741767 │ │ fixation ┆ 2107190 ┆ 2107488 ┆ 298 ┆ 204.239186 ┆ 2.599624 ┆ 2.766116 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2138132 ┆ 2138148 ┆ 16 ┆ 167.640083 ┆ 1.891174 ┆ 2.028105 │ │ saccade ┆ 2138336 ┆ 2138354 ┆ 18 ┆ 150.451587 ┆ 1.733027 ┆ 1.846729 │ │ saccade ┆ 2138523 ┆ 2138543 ┆ 20 ┆ 208.089007 ┆ 2.577622 ┆ 2.697297 │ │ saccade ┆ 2138545 ┆ 2138557 ┆ 12 ┆ 80.043242 ┆ 0.671885 ┆ 0.709981 │ │ saccade ┆ 2138845 ┆ 2138860 ┆ 15 ┆ 206.468876 ┆ 2.024392 ┆ 2.072815 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (312, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 2415266 ┆ 2415669 ┆ 403 ┆ 190.93254 ┆ 2.497585 ┆ 2.788265 │ │ fixation ┆ 2415670 ┆ 2415857 ┆ 187 ┆ 231.548882 ┆ 2.693592 ┆ 2.918287 │ │ fixation ┆ 2415858 ┆ 2416221 ┆ 363 ┆ 198.893701 ┆ 2.635425 ┆ 2.799598 │ │ fixation ┆ 2416222 ┆ 2416431 ┆ 209 ┆ 211.381897 ┆ 2.604419 ┆ 2.759405 │ │ fixation ┆ 2416432 ┆ 2416833 ┆ 401 ┆ 185.502928 ┆ 2.567497 ┆ 2.828558 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2437301 ┆ 2437319 ┆ 18 ┆ 194.42556 ┆ 2.217956 ┆ 2.291074 │ │ saccade ┆ 2437549 ┆ 2437566 ┆ 17 ┆ 199.6514 ┆ 2.27464 ┆ 2.371605 │ │ saccade ┆ 2437569 ┆ 2437583 ┆ 14 ┆ 50.311365 ┆ 0.510947 ┆ 0.555863 │ │ saccade ┆ 2437856 ┆ 2437872 ┆ 16 ┆ 174.220425 ┆ 2.001192 ┆ 2.146633 │ │ saccade ┆ 2438084 ┆ 2438099 ┆ 15 ┆ 185.858552 ┆ 1.869065 ┆ 1.977237 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (268, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 2440987 ┆ 2441199 ┆ 212 ┆ 189.202107 ┆ 2.364492 ┆ 2.632858 │ │ fixation ┆ 2441201 ┆ 2441540 ┆ 339 ┆ 185.003536 ┆ 2.56821 ┆ 2.756967 │ │ fixation ┆ 2441541 ┆ 2441735 ┆ 194 ┆ 213.965014 ┆ 2.582866 ┆ 2.710494 │ │ fixation ┆ 2441736 ┆ 2442222 ┆ 486 ┆ 180.824101 ┆ 2.54781 ┆ 2.711919 │ │ fixation ┆ 2442223 ┆ 2442432 ┆ 209 ┆ 222.144076 ┆ 2.435807 ┆ 2.700725 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2462097 ┆ 2462115 ┆ 18 ┆ 288.607481 ┆ 3.312494 ┆ 3.521621 │ │ saccade ┆ 2462337 ┆ 2462354 ┆ 17 ┆ 177.151196 ┆ 2.108927 ┆ 2.198865 │ │ saccade ┆ 2462705 ┆ 2462726 ┆ 21 ┆ 249.579532 ┆ 2.84258 ┆ 2.956972 │ │ saccade ┆ 2462728 ┆ 2462742 ┆ 14 ┆ 100.626391 ┆ 0.89505 ┆ 0.980027 │ │ saccade ┆ 2462941 ┆ 2462961 ┆ 20 ┆ 209.7643 ┆ 2.350504 ┆ 2.438258 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (361, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 2466370 ┆ 2466713 ┆ 343 ┆ 175.080375 ┆ 2.260986 ┆ 2.708004 │ │ fixation ┆ 2466714 ┆ 2466931 ┆ 217 ┆ 242.86095 ┆ 2.806154 ┆ 2.877944 │ │ fixation ┆ 2466932 ┆ 2467210 ┆ 278 ┆ 193.386696 ┆ 2.592256 ┆ 2.774411 │ │ fixation ┆ 2467211 ┆ 2467634 ┆ 423 ┆ 194.654876 ┆ 2.673857 ┆ 2.76201 │ │ fixation ┆ 2467635 ┆ 2467847 ┆ 212 ┆ 233.080336 ┆ 2.628021 ┆ 2.787569 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2494745 ┆ 2494757 ┆ 12 ┆ 103.394764 ┆ 0.929155 ┆ 1.009285 │ │ saccade ┆ 2494904 ┆ 2494929 ┆ 25 ┆ 119.575209 ┆ 1.028897 ┆ 1.151386 │ │ saccade ┆ 2495128 ┆ 2495168 ┆ 40 ┆ 276.119142 ┆ 4.375786 ┆ 4.830638 │ │ saccade ┆ 2495349 ┆ 2495365 ┆ 16 ┆ 146.470901 ┆ 1.411251 ┆ 1.485715 │ │ saccade ┆ 2495538 ┆ 2495586 ┆ 48 ┆ 324.75986 ┆ 6.138982 ┆ 6.509683 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (410, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 2498476 ┆ 2498820 ┆ 344 ┆ 218.315242 ┆ 2.322155 ┆ 2.812746 │ │ fixation ┆ 2498821 ┆ 2499287 ┆ 466 ┆ 207.871157 ┆ 2.516208 ┆ 2.742623 │ │ fixation ┆ 2499288 ┆ 2499810 ┆ 522 ┆ 207.193366 ┆ 2.439559 ┆ 2.712952 │ │ fixation ┆ 2499811 ┆ 2500103 ┆ 292 ┆ 232.225897 ┆ 2.616651 ┆ 2.785399 │ │ fixation ┆ 2500104 ┆ 2500284 ┆ 180 ┆ 237.292499 ┆ 2.60667 ┆ 2.786639 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2531758 ┆ 2531777 ┆ 19 ┆ 234.851566 ┆ 2.68985 ┆ 2.955248 │ │ saccade ┆ 2531781 ┆ 2531795 ┆ 14 ┆ 42.467736 ┆ 0.477871 ┆ 0.598621 │ │ saccade ┆ 2532123 ┆ 2532140 ┆ 17 ┆ 225.837839 ┆ 2.552659 ┆ 2.755136 │ │ saccade ┆ 2532430 ┆ 2532455 ┆ 25 ┆ 244.427252 ┆ 2.634329 ┆ 2.899421 │ │ saccade ┆ 2532803 ┆ 2532827 ┆ 24 ┆ 228.038588 ┆ 3.150437 ┆ 3.354609 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (289, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 2535732 ┆ 2536093 ┆ 361 ┆ 184.724692 ┆ 2.352941 ┆ 2.835737 │ │ fixation ┆ 2536094 ┆ 2536624 ┆ 530 ┆ 201.58258 ┆ 2.509359 ┆ 2.709068 │ │ fixation ┆ 2536628 ┆ 2536852 ┆ 224 ┆ 258.371605 ┆ 2.566484 ┆ 2.790628 │ │ fixation ┆ 2536853 ┆ 2537086 ┆ 233 ┆ 237.375349 ┆ 2.526711 ┆ 2.715363 │ │ fixation ┆ 2537087 ┆ 2537493 ┆ 406 ┆ 238.008754 ┆ 2.602644 ┆ 2.811506 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2558117 ┆ 2558129 ┆ 12 ┆ 59.816649 ┆ 0.484307 ┆ 0.522412 │ │ saccade ┆ 2558288 ┆ 2558318 ┆ 30 ┆ 220.161261 ┆ 2.206303 ┆ 2.440622 │ │ saccade ┆ 2558503 ┆ 2558521 ┆ 18 ┆ 214.059528 ┆ 2.439769 ┆ 2.537078 │ │ saccade ┆ 2558819 ┆ 2558860 ┆ 41 ┆ 248.370114 ┆ 3.587805 ┆ 3.806662 │ │ saccade ┆ 2559141 ┆ 2559170 ┆ 29 ┆ 219.333101 ┆ 3.018918 ┆ 3.140515 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (329, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 1788369 ┆ 1788627 ┆ 258 ┆ 166.338723 ┆ 1.930879 ┆ 2.728214 │ │ fixation ┆ 1788628 ┆ 1788968 ┆ 340 ┆ 187.780027 ┆ 2.628604 ┆ 2.861939 │ │ fixation ┆ 1788969 ┆ 1789139 ┆ 170 ┆ 195.461174 ┆ 2.623736 ┆ 2.742104 │ │ fixation ┆ 1789140 ┆ 1789319 ┆ 179 ┆ 192.162046 ┆ 2.556248 ┆ 2.726988 │ │ fixation ┆ 1789320 ┆ 1789594 ┆ 274 ┆ 224.146572 ┆ 2.549603 ┆ 2.795794 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 1816417 ┆ 1816437 ┆ 20 ┆ 185.220397 ┆ 2.170553 ┆ 2.274391 │ │ saccade ┆ 1816662 ┆ 1816731 ┆ 69 ┆ 397.138653 ┆ 19.7624 ┆ 21.432082 │ │ saccade ┆ 1816870 ┆ 1816902 ┆ 32 ┆ 150.368475 ┆ 1.897624 ┆ 2.162006 │ │ saccade ┆ 1817186 ┆ 1817220 ┆ 34 ┆ 274.755185 ┆ 4.677425 ┆ 4.943179 │ │ saccade ┆ 1817528 ┆ 1817542 ┆ 14 ┆ 136.187717 ┆ 1.284482 ┆ 1.443315 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (374, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 1821110 ┆ 1821608 ┆ 498 ┆ 177.886157 ┆ 2.365149 ┆ 2.710869 │ │ fixation ┆ 1821609 ┆ 1822344 ┆ 735 ┆ 148.386319 ┆ 2.607432 ┆ 2.773809 │ │ fixation ┆ 1822345 ┆ 1822843 ┆ 498 ┆ 179.920166 ┆ 2.593463 ┆ 2.753123 │ │ fixation ┆ 1822844 ┆ 1823142 ┆ 298 ┆ 220.615415 ┆ 2.557455 ┆ 2.750823 │ │ fixation ┆ 1823143 ┆ 1823381 ┆ 238 ┆ 213.250677 ┆ 2.550018 ┆ 2.802847 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 1853339 ┆ 1853410 ┆ 71 ┆ 407.279024 ┆ 21.168297 ┆ 22.678993 │ │ saccade ┆ 1853423 ┆ 1853439 ┆ 16 ┆ 50.973479 ┆ 0.576348 ┆ 0.619034 │ │ saccade ┆ 1853778 ┆ 1853795 ┆ 17 ┆ 231.872115 ┆ 2.324079 ┆ 2.478849 │ │ saccade ┆ 1853798 ┆ 1853811 ┆ 13 ┆ 78.631457 ┆ 0.718244 ┆ 0.788426 │ │ saccade ┆ 1853963 ┆ 1853980 ┆ 17 ┆ 154.706905 ┆ 1.726661 ┆ 1.856953 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (370, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 1857182 ┆ 1857905 ┆ 723 ┆ 178.800005 ┆ 2.010224 ┆ 2.706471 │ │ fixation ┆ 1857906 ┆ 1858241 ┆ 335 ┆ 205.698167 ┆ 2.532681 ┆ 2.748099 │ │ fixation ┆ 1858242 ┆ 1858669 ┆ 427 ┆ 180.011357 ┆ 2.571919 ┆ 2.778764 │ │ fixation ┆ 1858670 ┆ 1858930 ┆ 260 ┆ 216.089921 ┆ 2.663359 ┆ 2.836825 │ │ fixation ┆ 1858931 ┆ 1859166 ┆ 235 ┆ 204.235671 ┆ 2.644293 ┆ 2.776712 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 1886962 ┆ 1886980 ┆ 18 ┆ 194.610086 ┆ 2.41494 ┆ 2.526103 │ │ saccade ┆ 1887245 ┆ 1887274 ┆ 29 ┆ 233.042461 ┆ 3.998358 ┆ 4.207889 │ │ saccade ┆ 1887748 ┆ 1887779 ┆ 31 ┆ 234.490458 ┆ 3.897304 ┆ 4.3499 │ │ saccade ┆ 1888164 ┆ 1888180 ┆ 16 ┆ 161.034426 ┆ 1.675252 ┆ 1.773673 │ │ saccade ┆ 1888402 ┆ 1888416 ┆ 14 ┆ 123.020248 ┆ 1.143881 ┆ 1.231803 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (347, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 1892056 ┆ 1892406 ┆ 350 ┆ 148.882736 ┆ 2.169127 ┆ 2.710158 │ │ fixation ┆ 1892407 ┆ 1892889 ┆ 482 ┆ 158.332598 ┆ 2.438476 ┆ 2.720341 │ │ fixation ┆ 1892890 ┆ 1893069 ┆ 179 ┆ 198.378605 ┆ 2.543522 ┆ 2.74335 │ │ fixation ┆ 1893070 ┆ 1893225 ┆ 155 ┆ 572.619996 ┆ 2.433247 ┆ 2.886723 │ │ fixation ┆ 1893311 ┆ 1893517 ┆ 206 ┆ 185.343995 ┆ 2.224369 ┆ 2.76191 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 1920666 ┆ 1920680 ┆ 14 ┆ 53.541464 ┆ 0.524263 ┆ 0.599727 │ │ saccade ┆ 1920931 ┆ 1920948 ┆ 17 ┆ 184.71317 ┆ 2.083844 ┆ 2.204243 │ │ saccade ┆ 1921180 ┆ 1921204 ┆ 24 ┆ 201.605602 ┆ 2.6824 ┆ 2.948158 │ │ saccade ┆ 1921465 ┆ 1921481 ┆ 16 ┆ 148.373275 ┆ 1.563726 ┆ 1.662176 │ │ saccade ┆ 1921484 ┆ 1921497 ┆ 13 ┆ 42.431009 ┆ 0.399969 ┆ 0.486732 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (315, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 1925919 ┆ 1926303 ┆ 384 ┆ 160.017034 ┆ 2.628513 ┆ 2.870853 │ │ fixation ┆ 1926304 ┆ 1926910 ┆ 606 ┆ 233.580191 ┆ 2.565402 ┆ 2.731894 │ │ fixation ┆ 1926911 ┆ 1927269 ┆ 358 ┆ 206.599483 ┆ 2.656728 ┆ 2.798344 │ │ fixation ┆ 1927270 ┆ 1927726 ┆ 456 ┆ 167.345522 ┆ 2.624246 ┆ 2.799881 │ │ fixation ┆ 1927727 ┆ 1928262 ┆ 535 ┆ 206.781851 ┆ 2.496664 ┆ 2.701081 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 1951311 ┆ 1951323 ┆ 12 ┆ 64.557291 ┆ 0.546737 ┆ 0.624564 │ │ saccade ┆ 1951578 ┆ 1951596 ┆ 18 ┆ 168.060021 ┆ 1.76535 ┆ 1.919254 │ │ saccade ┆ 1951951 ┆ 1951979 ┆ 28 ┆ 174.115371 ┆ 1.803503 ┆ 1.950795 │ │ saccade ┆ 1952141 ┆ 1952157 ┆ 16 ┆ 183.599606 ┆ 2.01917 ┆ 2.236723 │ │ saccade ┆ 1952350 ┆ 1952366 ┆ 16 ┆ 164.901431 ┆ 1.617187 ┆ 1.738797 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (327, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 2199265 ┆ 2199661 ┆ 396 ┆ 210.63191 ┆ 2.435184 ┆ 2.763179 │ │ fixation ┆ 2199662 ┆ 2200378 ┆ 716 ┆ 210.663544 ┆ 2.484421 ┆ 2.703916 │ │ fixation ┆ 2200379 ┆ 2200686 ┆ 307 ┆ 194.377739 ┆ 2.533929 ┆ 2.753746 │ │ fixation ┆ 2200687 ┆ 2201153 ┆ 466 ┆ 194.362595 ┆ 2.474604 ┆ 2.731272 │ │ fixation ┆ 2201154 ┆ 2201403 ┆ 249 ┆ 189.214329 ┆ 2.577341 ┆ 2.79942 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2225401 ┆ 2225423 ┆ 22 ┆ 230.975808 ┆ 2.895209 ┆ 3.12224 │ │ saccade ┆ 2225425 ┆ 2225437 ┆ 12 ┆ 90.166193 ┆ 0.805183 ┆ 0.853004 │ │ saccade ┆ 2225612 ┆ 2225689 ┆ 77 ┆ 385.874389 ┆ 18.750847 ┆ 19.904254 │ │ saccade ┆ 2225694 ┆ 2225708 ┆ 14 ┆ 63.024947 ┆ 0.580474 ┆ 0.651642 │ │ saccade ┆ 2226159 ┆ 2226193 ┆ 34 ┆ 370.955645 ┆ 8.52137 ┆ 11.419659 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (337, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 2228730 ┆ 2229180 ┆ 450 ┆ 229.664887 ┆ 2.662613 ┆ 2.871773 │ │ fixation ┆ 2229181 ┆ 2229369 ┆ 188 ┆ 237.872262 ┆ 2.521758 ┆ 2.726117 │ │ fixation ┆ 2229370 ┆ 2229774 ┆ 404 ┆ 162.334631 ┆ 2.644043 ┆ 2.812908 │ │ fixation ┆ 2229775 ┆ 2229997 ┆ 222 ┆ 211.773888 ┆ 2.67673 ┆ 2.779023 │ │ fixation ┆ 2229998 ┆ 2230196 ┆ 198 ┆ 219.592958 ┆ 2.544986 ┆ 2.724868 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2255320 ┆ 2255334 ┆ 14 ┆ 167.431659 ┆ 1.546496 ┆ 1.96683 │ │ saccade ┆ 2255338 ┆ 2255350 ┆ 12 ┆ 64.087931 ┆ 0.586501 ┆ 0.64511 │ │ saccade ┆ 2255512 ┆ 2255531 ┆ 19 ┆ 303.950654 ┆ 3.370259 ┆ 3.721134 │ │ saccade ┆ 2255537 ┆ 2255549 ┆ 12 ┆ 69.303064 ┆ 0.594982 ┆ 0.668932 │ │ saccade ┆ 2255751 ┆ 2255800 ┆ 49 ┆ 447.865971 ┆ 13.944802 ┆ 15.27056 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (336, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 2258387 ┆ 2258821 ┆ 434 ┆ 181.873264 ┆ 2.265029 ┆ 2.763399 │ │ fixation ┆ 2258822 ┆ 2259026 ┆ 204 ┆ 221.887778 ┆ 2.559293 ┆ 2.732458 │ │ fixation ┆ 2259027 ┆ 2259474 ┆ 447 ┆ 205.514531 ┆ 2.605594 ┆ 2.762995 │ │ fixation ┆ 2259475 ┆ 2259715 ┆ 240 ┆ 206.992841 ┆ 2.568733 ┆ 2.737374 │ │ fixation ┆ 2259716 ┆ 2260414 ┆ 698 ┆ 169.281304 ┆ 2.612969 ┆ 2.82432 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2285868 ┆ 2285891 ┆ 23 ┆ 237.231038 ┆ 2.978826 ┆ 3.130071 │ │ saccade ┆ 2286025 ┆ 2286106 ┆ 81 ┆ 389.114549 ┆ 20.065909 ┆ 21.441585 │ │ saccade ┆ 2286236 ┆ 2286248 ┆ 12 ┆ 115.386386 ┆ 0.99063 ┆ 1.197837 │ │ saccade ┆ 2286532 ┆ 2286563 ┆ 31 ┆ 271.860398 ┆ 3.850584 ┆ 4.199014 │ │ saccade ┆ 2286742 ┆ 2286754 ┆ 12 ┆ 94.091517 ┆ 0.944254 ┆ 1.026221 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (364, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 2289654 ┆ 2290027 ┆ 373 ┆ 202.825227 ┆ 2.094507 ┆ 2.784527 │ │ fixation ┆ 2290028 ┆ 2290269 ┆ 241 ┆ 284.32695 ┆ 2.524134 ┆ 2.710672 │ │ fixation ┆ 2290270 ┆ 2290536 ┆ 266 ┆ 246.465389 ┆ 2.57298 ┆ 2.730355 │ │ fixation ┆ 2290537 ┆ 2290959 ┆ 422 ┆ 169.670773 ┆ 2.609924 ┆ 2.814569 │ │ fixation ┆ 2290960 ┆ 2291270 ┆ 310 ┆ 211.000633 ┆ 2.660164 ┆ 2.762348 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2319977 ┆ 2319990 ┆ 13 ┆ 39.133442 ┆ 0.327113 ┆ 0.417387 │ │ saccade ┆ 2320256 ┆ 2320336 ┆ 80 ┆ 374.054923 ┆ 21.890933 ┆ 22.978089 │ │ saccade ┆ 2320536 ┆ 2320552 ┆ 16 ┆ 172.048427 ┆ 1.725806 ┆ 1.969682 │ │ saccade ┆ 2320842 ┆ 2320859 ┆ 17 ┆ 203.858621 ┆ 2.429952 ┆ 2.552571 │ │ saccade ┆ 2320861 ┆ 2320874 ┆ 13 ┆ 85.185797 ┆ 0.787333 ┆ 0.879855 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (361, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 2323912 ┆ 2324303 ┆ 391 ┆ 147.61711 ┆ 1.964148 ┆ 2.756289 │ │ fixation ┆ 2324304 ┆ 2324735 ┆ 431 ┆ 209.831555 ┆ 2.599204 ┆ 2.788129 │ │ fixation ┆ 2324736 ┆ 2325103 ┆ 367 ┆ 213.3453 ┆ 2.611797 ┆ 2.791826 │ │ fixation ┆ 2325104 ┆ 2325347 ┆ 243 ┆ 225.067575 ┆ 2.581646 ┆ 2.759365 │ │ fixation ┆ 2325348 ┆ 2325597 ┆ 249 ┆ 230.335714 ┆ 2.577667 ┆ 2.730486 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2352570 ┆ 2352601 ┆ 31 ┆ 371.22848 ┆ 5.452252 ┆ 6.011779 │ │ saccade ┆ 2352791 ┆ 2352807 ┆ 16 ┆ 241.534625 ┆ 2.599816 ┆ 2.672458 │ │ saccade ┆ 2353040 ┆ 2353055 ┆ 15 ┆ 127.551514 ┆ 1.294229 ┆ 1.318547 │ │ saccade ┆ 2353394 ┆ 2353436 ┆ 42 ┆ 240.984358 ┆ 3.322846 ┆ 3.538708 │ │ saccade ┆ 2353622 ┆ 2353643 ┆ 21 ┆ 219.750364 ┆ 2.94861 ┆ 3.082895 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘)
-
dict (1 items)
-
DataFrame (3 columns, 20 rows)shape: (20, 3)
text_id page_id filepath i64 i64 str 0 1 "pymovements-toy-dataset-main/d… 0 2 "pymovements-toy-dataset-main/d… 0 3 "pymovements-toy-dataset-main/d… 0 4 "pymovements-toy-dataset-main/d… 0 5 "pymovements-toy-dataset-main/d… … … … 3 1 "pymovements-toy-dataset-main/d… 3 2 "pymovements-toy-dataset-main/d… 3 3 "pymovements-toy-dataset-main/d… 3 4 "pymovements-toy-dataset-main/d… 3 5 "pymovements-toy-dataset-main/d…
-
-
list (20 items)
-
Gaze
-
DataFrame (6 columns, 17223 rows)shape: (17_223, 6)
time stimuli_x stimuli_y pixel position velocity i64 f64 f64 list[f64] list[f64] list[f64] 1988145 -1.0 -1.0 [206.8, 152.4] [-10.697598, -8.852399] [null, null] 1988146 -1.0 -1.0 [206.9, 152.1] [-10.695183, -8.859678] [null, null] 1988147 -1.0 -1.0 [207.0, 151.8] [-10.692768, -8.866956] [1.610194, -5.256267] 1988148 -1.0 -1.0 [207.1, 151.7] [-10.690352, -8.869381] [0.402548, -4.447465] 1988149 -1.0 -1.0 [207.0, 151.5] [-10.692768, -8.874233] [0.402561, -3.234462] … … … … … … 2005363 -1.0 -1.0 [361.0, 415.4] [-6.932438, -2.386672] [-63.266374, -21.085616] 2005364 -1.0 -1.0 [358.0, 414.5] [-7.006376, -2.408998] [-63.249652, -19.431326] 2005365 -1.0 -1.0 [355.8, 413.8] [-7.060582, -2.426362] [-60.359624, -15.710061] 2005366 -1.0 -1.0 [353.1, 413.2] [-7.12709, -2.441245] [null, null] 2005367 -1.0 -1.0 [351.2, 412.9] [-7.173881, -2.448686] [null, null] -
EventsEvents
-
DataFrame (7 columns, 222 rows)shape: (222, 7)
name onset offset duration peak_velocity amplitude dispersion str i64 i64 i64 f64 f64 f64 "fixation" 1988145 1988563 418 200.144558 2.492864 2.712569 "fixation" 1988564 1988750 186 249.67823 2.651198 2.865026 "fixation" 1988751 1989178 427 211.598748 2.585906 2.779518 "fixation" 1989179 1989436 257 189.183243 2.614347 2.77424 "fixation" 1989437 1989600 163 255.077509 2.594651 2.729391 … … … … … … … "saccade" 2004373 2004385 12 70.374183 0.7073 0.766684 "saccade" 2004688 2004704 16 175.646379 1.807485 1.875716 "saccade" 2004879 2004901 22 209.46361 2.933818 3.086169 "saccade" 2005110 2005126 16 137.917594 1.405354 1.501217 "saccade" 2005288 2005345 57 352.550667 14.682541 16.101153 -
NoneNone
-
-
NoneNone
-
ExperimentExperiment
-
EyeTrackerEyeTracker
-
NoneNone
-
NoneNone
-
NoneNone
-
NoneNone
-
10001000
-
NoneNone
-
NoneNone
-
-
10001000
-
ScreenScreen
-
6868
-
30.230.2
-
10241024
-
'upper left''upper left'
-
3838
-
12801280
-
15.59938648778295315.599386487782953
-
-15.599386487782953-15.599386487782953
-
12.50804441088254612.508044410882546
-
-12.508044410882546-12.508044410882546
-
-
-
-
Gaze
-
DataFrame (6 columns, 29799 rows)shape: (29_799, 6)
time stimuli_x stimuli_y pixel position velocity i64 f64 f64 list[f64] list[f64] list[f64] 2008305 -1.0 -1.0 [141.4, 153.6] [-12.268583, -8.823284] [null, null] 2008306 -1.0 -1.0 [141.1, 153.2] [-12.275749, -8.832989] [null, null] 2008307 -1.0 -1.0 [140.7, 152.8] [-12.285302, -8.842695] [-5.572617, -6.065816] 2008308 -1.0 -1.0 [140.6, 152.7] [-12.28769, -8.845121] [-3.582268, -4.043733] 2008309 -1.0 -1.0 [140.5, 152.6] [-12.290078, -8.847547] [-2.388085, -2.021821] … … … … … … 2038099 -1.0 -1.0 [273.8, 773.8] [-9.071149, 6.490168] [1.21962, 1.635403] 2038100 -1.0 -1.0 [273.8, 774.1] [-9.071149, 6.497527] [1.626175, 4.497406] 2038101 -1.0 -1.0 [273.9, 774.5] [-9.06871, 6.50734] [1.626186, 1.635423] 2038102 -1.0 -1.0 [274.0, 774.4] [-9.066271, 6.504886] [null, null] 2038103 -1.0 -1.0 [274.0, 773.9] [-9.066271, 6.492621] [null, null] -
EventsEvents
-
DataFrame (7 columns, 366 rows)shape: (366, 7)
name onset offset duration peak_velocity amplitude dispersion str i64 i64 i64 f64 f64 f64 "fixation" 2008305 2008621 316 167.343877 2.283024 2.706135 "fixation" 2008622 2008821 199 314.396904 2.578854 2.79657 "fixation" 2008822 2009214 392 305.525917 2.612895 2.908934 "fixation" 2009215 2009433 218 216.195201 2.612208 2.765062 "fixation" 2009434 2009704 270 208.05132 2.566305 2.70311 … … … … … … … "saccade" 2036849 2036861 12 54.743137 0.472141 0.529715 "saccade" 2037161 2037188 27 223.056103 2.358604 2.587752 "saccade" 2037412 2037503 91 406.701444 16.94863 18.346458 "saccade" 2037638 2037654 16 138.382767 1.411621 1.827761 "saccade" 2037812 2037830 18 240.193236 2.739312 3.024326 -
NoneNone
-
-
NoneNone
-
ExperimentExperiment
-
EyeTrackerEyeTracker
-
NoneNone
-
NoneNone
-
NoneNone
-
NoneNone
-
10001000
-
NoneNone
-
NoneNone
-
-
10001000
-
ScreenScreen
-
6868
-
30.230.2
-
10241024
-
'upper left''upper left'
-
3838
-
12801280
-
15.59938648778295315.599386487782953
-
-15.599386487782953-15.599386487782953
-
12.50804441088254612.508044410882546
-
-12.508044410882546-12.508044410882546
-
-
-
- (18 more)
-
Gaze
-
PosixPath('data/ToyDataset')PosixPath('data/ToyDataset')
-
DatasetPathsDatasetPaths
-
PosixPath('data/ToyDataset')PosixPath('data/ToyDataset')
-
PosixPath('data/ToyDataset/downloads')PosixPath('data/ToyDataset/downloads')
-
PosixPath('data/ToyDataset/events')PosixPath('data/ToyDataset/events')
-
PosixPath('data/ToyDataset/precomputed_events')PosixPath('data/ToyDataset/precomputed_events')
-
PosixPathPosixPath('data/ToyDataset/precomputed_reading_measures')
-
PosixPath('data/ToyDataset/preprocessed')PosixPath('data/ToyDataset/preprocessed')
-
PosixPath('data/ToyDataset/raw')PosixPath('data/ToyDataset/raw')
-
PosixPath('data/ToyDataset')PosixPath('data/ToyDataset')
-
-
list (0 items)
-
list (0 items)
Let’s confirm again by printing all the new files in this alternative directory:
alternative_dirpath = dataset.path / 'events_csv'
print(list(alternative_dirpath.glob('*/*/*')))
[PosixPath('data/ToyDataset/events_csv/pymovements-toy-dataset-main/data/trial_2_2.csv'), PosixPath('data/ToyDataset/events_csv/pymovements-toy-dataset-main/data/trial_2_5.csv'), PosixPath('data/ToyDataset/events_csv/pymovements-toy-dataset-main/data/trial_3_1.csv'), PosixPath('data/ToyDataset/events_csv/pymovements-toy-dataset-main/data/trial_2_1.csv'), PosixPath('data/ToyDataset/events_csv/pymovements-toy-dataset-main/data/trial_1_1.csv'), PosixPath('data/ToyDataset/events_csv/pymovements-toy-dataset-main/data/trial_3_3.csv'), PosixPath('data/ToyDataset/events_csv/pymovements-toy-dataset-main/data/trial_3_2.csv'), PosixPath('data/ToyDataset/events_csv/pymovements-toy-dataset-main/data/trial_3_4.csv'), PosixPath('data/ToyDataset/events_csv/pymovements-toy-dataset-main/data/trial_1_3.csv'), PosixPath('data/ToyDataset/events_csv/pymovements-toy-dataset-main/data/trial_2_3.csv'), PosixPath('data/ToyDataset/events_csv/pymovements-toy-dataset-main/data/trial_0_5.csv'), PosixPath('data/ToyDataset/events_csv/pymovements-toy-dataset-main/data/trial_0_2.csv'), PosixPath('data/ToyDataset/events_csv/pymovements-toy-dataset-main/data/trial_1_4.csv'), PosixPath('data/ToyDataset/events_csv/pymovements-toy-dataset-main/data/trial_2_4.csv'), PosixPath('data/ToyDataset/events_csv/pymovements-toy-dataset-main/data/trial_0_3.csv'), PosixPath('data/ToyDataset/events_csv/pymovements-toy-dataset-main/data/trial_1_5.csv'), PosixPath('data/ToyDataset/events_csv/pymovements-toy-dataset-main/data/trial_1_2.csv'), PosixPath('data/ToyDataset/events_csv/pymovements-toy-dataset-main/data/trial_0_4.csv'), PosixPath('data/ToyDataset/events_csv/pymovements-toy-dataset-main/data/trial_0_1.csv'), PosixPath('data/ToyDataset/events_csv/pymovements-toy-dataset-main/data/trial_3_5.csv')]
Loading Previously Computed Events Data#
Let’s initialize a new dataset object from the same ToyDataset.
preprocessed_dataset = pm.Dataset('ToyDataset', path='data/ToyDataset')
When we load the dataset using load() without any parameters there will be no events loaded:
preprocessed_dataset.load()
-
DatasetDefinitionDatasetDefinition
-
NoneNone
-
NoneNone
-
NoneNone
-
NoneNone
-
ExperimentExperiment
-
EyeTrackerEyeTracker
-
NoneNone
-
NoneNone
-
NoneNone
-
NoneNone
-
10001000
-
NoneNone
-
NoneNone
-
-
10001000
-
ScreenScreen
-
6868
-
30.230.2
-
10241024
-
'upper left''upper left'
-
3838
-
12801280
-
15.59938648778295315.599386487782953
-
-15.599386487782953-15.599386487782953
-
12.50804441088254612.508044410882546
-
-12.508044410882546-12.508044410882546
-
-
-
NoneNone
-
dict (1 items)
-
'trial_{text_id:d}_{page_id:d}.csv''trial_{text_id:d}_{page_id:d}.csv'
-
-
dict (1 items)
-
dict (2 items)
-
<class 'int'><class 'int'>
-
<class 'int'><class 'int'>
-
-
-
TrueTrue
-
'pymovements Toy Dataset''pymovements Toy Dataset'
-
dict (0 items)
-
'ToyDataset''ToyDataset'
-
NoneNone
-
NoneNone
-
list (1 items)
-
ResourceDefinition
-
'gaze''gaze'
-
'pymovements-toy-dataset.zip''pymovements-toy-dataset.zip'
-
'trial_{text_id:d}_{page_id:d}.csv''trial_{text_id:d}_{page_id:d}.csv'
-
dict (2 items)
-
<class 'int'><class 'int'>
-
<class 'int'><class 'int'>
-
-
NoneNone
-
dict (4 items)
-
'timestamp''timestamp'
-
'ms''ms'
- (2 more)
-
-
'256901852c1c07581d375eef705855d6''256901852c1c07581d375eef705855d6'
-
NoneNone
-
str'https://github.com/pymovements/pymovements-toy-dataset/archive/refs/heads/main.zip'
-
-
ResourceDefinition
-
NoneNone
-
NoneNone
-
NoneNone
-
NoneNone
-
-
tuple(shape: (0, 4) ┌──────┬───────┬────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════╪═══════╪════════╪══════════╡ └──────┴───────┴────────┴──────────┘, shape: (0, 4) ┌──────┬───────┬────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════╪═══════╪════════╪══════════╡ └──────┴───────┴────────┴──────────┘, shape: (0, 4) ┌──────┬───────┬────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════╪═══════╪════════╪══════════╡ └──────┴───────┴────────┴──────────┘, shape: (0, 4) ┌──────┬───────┬────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════╪═══════╪════════╪══════════╡ └──────┴───────┴────────┴──────────┘, shape: (0, 4) ┌──────┬───────┬────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════╪═══════╪════════╪══════════╡ └──────┴───────┴────────┴──────────┘, shape: (0, 4) ┌──────┬───────┬────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════╪═══════╪════════╪══════════╡ └──────┴───────┴────────┴──────────┘, shape: (0, 4) ┌──────┬───────┬────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════╪═══════╪════════╪══════════╡ └──────┴───────┴────────┴──────────┘, shape: (0, 4) ┌──────┬───────┬────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════╪═══════╪════════╪══════════╡ └──────┴───────┴────────┴──────────┘, shape: (0, 4) ┌──────┬───────┬────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════╪═══════╪════════╪══════════╡ └──────┴───────┴────────┴──────────┘, shape: (0, 4) ┌──────┬───────┬────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════╪═══════╪════════╪══════════╡ └──────┴───────┴────────┴──────────┘, shape: (0, 4) ┌──────┬───────┬────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════╪═══════╪════════╪══════════╡ └──────┴───────┴────────┴──────────┘, shape: (0, 4) ┌──────┬───────┬────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════╪═══════╪════════╪══════════╡ └──────┴───────┴────────┴──────────┘, shape: (0, 4) ┌──────┬───────┬────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════╪═══════╪════════╪══════════╡ └──────┴───────┴────────┴──────────┘, shape: (0, 4) ┌──────┬───────┬────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════╪═══════╪════════╪══════════╡ └──────┴───────┴────────┴──────────┘, shape: (0, 4) ┌──────┬───────┬────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════╪═══════╪════════╪══════════╡ └──────┴───────┴────────┴──────────┘, shape: (0, 4) ┌──────┬───────┬────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════╪═══════╪════════╪══════════╡ └──────┴───────┴────────┴──────────┘, shape: (0, 4) ┌──────┬───────┬────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════╪═══════╪════════╪══════════╡ └──────┴───────┴────────┴──────────┘, shape: (0, 4) ┌──────┬───────┬────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════╪═══════╪════════╪══════════╡ └──────┴───────┴────────┴──────────┘, shape: (0, 4) ┌──────┬───────┬────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════╪═══════╪════════╪══════════╡ └──────┴───────┴────────┴──────────┘, shape: (0, 4) ┌──────┬───────┬────────┬──────────┐ │ name ┆ onset ┆ offset ┆ duration │ │ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 │ ╞══════╪═══════╪════════╪══════════╡ └──────┴───────┴────────┴──────────┘)
-
dict (1 items)
-
DataFrame (3 columns, 20 rows)shape: (20, 3)
text_id page_id filepath i64 i64 str 0 1 "pymovements-toy-dataset-main/d… 0 2 "pymovements-toy-dataset-main/d… 0 3 "pymovements-toy-dataset-main/d… 0 4 "pymovements-toy-dataset-main/d… 0 5 "pymovements-toy-dataset-main/d… … … … 3 1 "pymovements-toy-dataset-main/d… 3 2 "pymovements-toy-dataset-main/d… 3 3 "pymovements-toy-dataset-main/d… 3 4 "pymovements-toy-dataset-main/d… 3 5 "pymovements-toy-dataset-main/d…
-
-
list (20 items)
-
Gaze
-
DataFrame (4 columns, 17223 rows)shape: (17_223, 4)
time stimuli_x stimuli_y pixel i64 f64 f64 list[f64] 1988145 -1.0 -1.0 [206.8, 152.4] 1988146 -1.0 -1.0 [206.9, 152.1] 1988147 -1.0 -1.0 [207.0, 151.8] 1988148 -1.0 -1.0 [207.1, 151.7] 1988149 -1.0 -1.0 [207.0, 151.5] … … … … 2005363 -1.0 -1.0 [361.0, 415.4] 2005364 -1.0 -1.0 [358.0, 414.5] 2005365 -1.0 -1.0 [355.8, 413.8] 2005366 -1.0 -1.0 [353.1, 413.2] 2005367 -1.0 -1.0 [351.2, 412.9] -
EventsEvents
-
DataFrame (4 columns, 0 rows)shape: (0, 4)
name onset offset duration str i64 i64 i64 -
NoneNone
-
-
NoneNone
-
ExperimentExperiment
-
EyeTrackerEyeTracker
-
NoneNone
-
NoneNone
-
NoneNone
-
NoneNone
-
10001000
-
NoneNone
-
NoneNone
-
-
10001000
-
ScreenScreen
-
6868
-
30.230.2
-
10241024
-
'upper left''upper left'
-
3838
-
12801280
-
15.59938648778295315.599386487782953
-
-15.599386487782953-15.599386487782953
-
12.50804441088254612.508044410882546
-
-12.508044410882546-12.508044410882546
-
-
-
-
Gaze
-
DataFrame (4 columns, 29799 rows)shape: (29_799, 4)
time stimuli_x stimuli_y pixel i64 f64 f64 list[f64] 2008305 -1.0 -1.0 [141.4, 153.6] 2008306 -1.0 -1.0 [141.1, 153.2] 2008307 -1.0 -1.0 [140.7, 152.8] 2008308 -1.0 -1.0 [140.6, 152.7] 2008309 -1.0 -1.0 [140.5, 152.6] … … … … 2038099 -1.0 -1.0 [273.8, 773.8] 2038100 -1.0 -1.0 [273.8, 774.1] 2038101 -1.0 -1.0 [273.9, 774.5] 2038102 -1.0 -1.0 [274.0, 774.4] 2038103 -1.0 -1.0 [274.0, 773.9] -
EventsEvents
-
DataFrame (4 columns, 0 rows)shape: (0, 4)
name onset offset duration str i64 i64 i64 -
NoneNone
-
-
NoneNone
-
ExperimentExperiment
-
EyeTrackerEyeTracker
-
NoneNone
-
NoneNone
-
NoneNone
-
NoneNone
-
10001000
-
NoneNone
-
NoneNone
-
-
10001000
-
ScreenScreen
-
6868
-
30.230.2
-
10241024
-
'upper left''upper left'
-
3838
-
12801280
-
15.59938648778295315.599386487782953
-
-15.599386487782953-15.599386487782953
-
12.50804441088254612.508044410882546
-
-12.508044410882546-12.508044410882546
-
-
-
- (18 more)
-
Gaze
-
PosixPath('data/ToyDataset')PosixPath('data/ToyDataset')
-
DatasetPathsDatasetPaths
-
PosixPath('data/ToyDataset')PosixPath('data/ToyDataset')
-
PosixPath('data/ToyDataset/downloads')PosixPath('data/ToyDataset/downloads')
-
PosixPath('data/ToyDataset/events')PosixPath('data/ToyDataset/events')
-
PosixPath('data/ToyDataset/precomputed_events')PosixPath('data/ToyDataset/precomputed_events')
-
PosixPathPosixPath('data/ToyDataset/precomputed_reading_measures')
-
PosixPath('data/ToyDataset/preprocessed')PosixPath('data/ToyDataset/preprocessed')
-
PosixPath('data/ToyDataset/raw')PosixPath('data/ToyDataset/raw')
-
PosixPath('data/ToyDataset')PosixPath('data/ToyDataset')
-
-
list (0 items)
-
list (0 items)
But when we load it with the events=True parameter the events will be loaded:
preprocessed_dataset.load(events=True)
-
DatasetDefinitionDatasetDefinition
-
NoneNone
-
NoneNone
-
NoneNone
-
NoneNone
-
ExperimentExperiment
-
EyeTrackerEyeTracker
-
NoneNone
-
NoneNone
-
NoneNone
-
NoneNone
-
10001000
-
NoneNone
-
NoneNone
-
-
10001000
-
ScreenScreen
-
6868
-
30.230.2
-
10241024
-
'upper left''upper left'
-
3838
-
12801280
-
15.59938648778295315.599386487782953
-
-15.599386487782953-15.599386487782953
-
12.50804441088254612.508044410882546
-
-12.508044410882546-12.508044410882546
-
-
-
NoneNone
-
dict (1 items)
-
'trial_{text_id:d}_{page_id:d}.csv''trial_{text_id:d}_{page_id:d}.csv'
-
-
dict (1 items)
-
dict (2 items)
-
<class 'int'><class 'int'>
-
<class 'int'><class 'int'>
-
-
-
TrueTrue
-
'pymovements Toy Dataset''pymovements Toy Dataset'
-
dict (0 items)
-
'ToyDataset''ToyDataset'
-
NoneNone
-
NoneNone
-
list (1 items)
-
ResourceDefinition
-
'gaze''gaze'
-
'pymovements-toy-dataset.zip''pymovements-toy-dataset.zip'
-
'trial_{text_id:d}_{page_id:d}.csv''trial_{text_id:d}_{page_id:d}.csv'
-
dict (2 items)
-
<class 'int'><class 'int'>
-
<class 'int'><class 'int'>
-
-
NoneNone
-
dict (4 items)
-
'timestamp''timestamp'
-
'ms''ms'
- (2 more)
-
-
'256901852c1c07581d375eef705855d6''256901852c1c07581d375eef705855d6'
-
NoneNone
-
str'https://github.com/pymovements/pymovements-toy-dataset/archive/refs/heads/main.zip'
-
-
ResourceDefinition
-
NoneNone
-
NoneNone
-
NoneNone
-
NoneNone
-
-
tuple(shape: (222, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 1988145 ┆ 1988563 ┆ 418 ┆ 200.144558 ┆ 2.492864 ┆ 2.712569 │ │ fixation ┆ 1988564 ┆ 1988750 ┆ 186 ┆ 249.67823 ┆ 2.651198 ┆ 2.865026 │ │ fixation ┆ 1988751 ┆ 1989178 ┆ 427 ┆ 211.598748 ┆ 2.585906 ┆ 2.779518 │ │ fixation ┆ 1989179 ┆ 1989436 ┆ 257 ┆ 189.183243 ┆ 2.614347 ┆ 2.77424 │ │ fixation ┆ 1989437 ┆ 1989600 ┆ 163 ┆ 255.077509 ┆ 2.594651 ┆ 2.729391 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2004373 ┆ 2004385 ┆ 12 ┆ 70.374183 ┆ 0.7073 ┆ 0.766684 │ │ saccade ┆ 2004688 ┆ 2004704 ┆ 16 ┆ 175.646379 ┆ 1.807485 ┆ 1.875716 │ │ saccade ┆ 2004879 ┆ 2004901 ┆ 22 ┆ 209.46361 ┆ 2.933818 ┆ 3.086169 │ │ saccade ┆ 2005110 ┆ 2005126 ┆ 16 ┆ 137.917594 ┆ 1.405354 ┆ 1.501217 │ │ saccade ┆ 2005288 ┆ 2005345 ┆ 57 ┆ 352.550667 ┆ 14.682541 ┆ 16.101153 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (366, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 2008305 ┆ 2008621 ┆ 316 ┆ 167.343877 ┆ 2.283024 ┆ 2.706135 │ │ fixation ┆ 2008622 ┆ 2008821 ┆ 199 ┆ 314.396904 ┆ 2.578854 ┆ 2.79657 │ │ fixation ┆ 2008822 ┆ 2009214 ┆ 392 ┆ 305.525917 ┆ 2.612895 ┆ 2.908934 │ │ fixation ┆ 2009215 ┆ 2009433 ┆ 218 ┆ 216.195201 ┆ 2.612208 ┆ 2.765062 │ │ fixation ┆ 2009434 ┆ 2009704 ┆ 270 ┆ 208.05132 ┆ 2.566305 ┆ 2.70311 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2036849 ┆ 2036861 ┆ 12 ┆ 54.743137 ┆ 0.472141 ┆ 0.529715 │ │ saccade ┆ 2037161 ┆ 2037188 ┆ 27 ┆ 223.056103 ┆ 2.358604 ┆ 2.587752 │ │ saccade ┆ 2037412 ┆ 2037503 ┆ 91 ┆ 406.701444 ┆ 16.94863 ┆ 18.346458 │ │ saccade ┆ 2037638 ┆ 2037654 ┆ 16 ┆ 138.382767 ┆ 1.411621 ┆ 1.827761 │ │ saccade ┆ 2037812 ┆ 2037830 ┆ 18 ┆ 240.193236 ┆ 2.739312 ┆ 3.024326 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (326, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 2041029 ┆ 2041360 ┆ 331 ┆ 190.000116 ┆ 2.258261 ┆ 2.773856 │ │ fixation ┆ 2041361 ┆ 2041563 ┆ 202 ┆ 190.807608 ┆ 2.660793 ┆ 2.760701 │ │ fixation ┆ 2041564 ┆ 2041761 ┆ 197 ┆ 208.493896 ┆ 2.467824 ┆ 2.702754 │ │ fixation ┆ 2041762 ┆ 2041945 ┆ 183 ┆ 235.733579 ┆ 2.586355 ┆ 2.723235 │ │ fixation ┆ 2041946 ┆ 2042314 ┆ 368 ┆ 214.025649 ┆ 2.471878 ┆ 2.726531 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2066555 ┆ 2066582 ┆ 27 ┆ 205.889312 ┆ 2.279216 ┆ 2.447532 │ │ saccade ┆ 2066749 ┆ 2066770 ┆ 21 ┆ 205.174294 ┆ 2.349622 ┆ 2.5722 │ │ saccade ┆ 2066959 ┆ 2066987 ┆ 28 ┆ 243.952023 ┆ 3.466837 ┆ 3.686236 │ │ saccade ┆ 2067294 ┆ 2067311 ┆ 17 ┆ 216.129545 ┆ 2.222811 ┆ 2.449043 │ │ saccade ┆ 2067313 ┆ 2067330 ┆ 17 ┆ 48.729134 ┆ 0.550928 ┆ 0.667745 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (406, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 2070587 ┆ 2070931 ┆ 344 ┆ 208.588265 ┆ 2.34928 ┆ 2.746814 │ │ fixation ┆ 2070932 ┆ 2071140 ┆ 208 ┆ 215.417017 ┆ 2.574966 ┆ 2.700412 │ │ fixation ┆ 2071141 ┆ 2071532 ┆ 391 ┆ 182.484098 ┆ 2.583867 ┆ 2.764127 │ │ fixation ┆ 2071533 ┆ 2071744 ┆ 211 ┆ 181.511767 ┆ 2.610372 ┆ 2.740545 │ │ fixation ┆ 2071745 ┆ 2072028 ┆ 283 ┆ 191.994715 ┆ 2.716683 ┆ 2.802719 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2102362 ┆ 2102378 ┆ 16 ┆ 188.831648 ┆ 1.823945 ┆ 1.891607 │ │ saccade ┆ 2102646 ┆ 2102670 ┆ 24 ┆ 206.620251 ┆ 2.668639 ┆ 2.892367 │ │ saccade ┆ 2102673 ┆ 2102685 ┆ 12 ┆ 78.194142 ┆ 0.711673 ┆ 0.817991 │ │ saccade ┆ 2102771 ┆ 2102842 ┆ 71 ┆ 420.339852 ┆ 20.377873 ┆ 22.024862 │ │ saccade ┆ 2103011 ┆ 2103024 ┆ 13 ┆ 108.73988 ┆ 1.060841 ┆ 1.156531 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (405, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 2105893 ┆ 2106270 ┆ 377 ┆ 186.950507 ┆ 2.141267 ┆ 2.845746 │ │ fixation ┆ 2106271 ┆ 2106700 ┆ 429 ┆ 192.048302 ┆ 2.585451 ┆ 2.774287 │ │ fixation ┆ 2106701 ┆ 2106958 ┆ 257 ┆ 212.862308 ┆ 2.663816 ┆ 2.84176 │ │ fixation ┆ 2106959 ┆ 2107189 ┆ 230 ┆ 206.349522 ┆ 2.584391 ┆ 2.741767 │ │ fixation ┆ 2107190 ┆ 2107488 ┆ 298 ┆ 204.239186 ┆ 2.599624 ┆ 2.766116 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2138132 ┆ 2138148 ┆ 16 ┆ 167.640083 ┆ 1.891174 ┆ 2.028105 │ │ saccade ┆ 2138336 ┆ 2138354 ┆ 18 ┆ 150.451587 ┆ 1.733027 ┆ 1.846729 │ │ saccade ┆ 2138523 ┆ 2138543 ┆ 20 ┆ 208.089007 ┆ 2.577622 ┆ 2.697297 │ │ saccade ┆ 2138545 ┆ 2138557 ┆ 12 ┆ 80.043242 ┆ 0.671885 ┆ 0.709981 │ │ saccade ┆ 2138845 ┆ 2138860 ┆ 15 ┆ 206.468876 ┆ 2.024392 ┆ 2.072815 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (312, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 2415266 ┆ 2415669 ┆ 403 ┆ 190.93254 ┆ 2.497585 ┆ 2.788265 │ │ fixation ┆ 2415670 ┆ 2415857 ┆ 187 ┆ 231.548882 ┆ 2.693592 ┆ 2.918287 │ │ fixation ┆ 2415858 ┆ 2416221 ┆ 363 ┆ 198.893701 ┆ 2.635425 ┆ 2.799598 │ │ fixation ┆ 2416222 ┆ 2416431 ┆ 209 ┆ 211.381897 ┆ 2.604419 ┆ 2.759405 │ │ fixation ┆ 2416432 ┆ 2416833 ┆ 401 ┆ 185.502928 ┆ 2.567497 ┆ 2.828558 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2437301 ┆ 2437319 ┆ 18 ┆ 194.42556 ┆ 2.217956 ┆ 2.291074 │ │ saccade ┆ 2437549 ┆ 2437566 ┆ 17 ┆ 199.6514 ┆ 2.27464 ┆ 2.371605 │ │ saccade ┆ 2437569 ┆ 2437583 ┆ 14 ┆ 50.311365 ┆ 0.510947 ┆ 0.555863 │ │ saccade ┆ 2437856 ┆ 2437872 ┆ 16 ┆ 174.220425 ┆ 2.001192 ┆ 2.146633 │ │ saccade ┆ 2438084 ┆ 2438099 ┆ 15 ┆ 185.858552 ┆ 1.869065 ┆ 1.977237 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (268, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 2440987 ┆ 2441199 ┆ 212 ┆ 189.202107 ┆ 2.364492 ┆ 2.632858 │ │ fixation ┆ 2441201 ┆ 2441540 ┆ 339 ┆ 185.003536 ┆ 2.56821 ┆ 2.756967 │ │ fixation ┆ 2441541 ┆ 2441735 ┆ 194 ┆ 213.965014 ┆ 2.582866 ┆ 2.710494 │ │ fixation ┆ 2441736 ┆ 2442222 ┆ 486 ┆ 180.824101 ┆ 2.54781 ┆ 2.711919 │ │ fixation ┆ 2442223 ┆ 2442432 ┆ 209 ┆ 222.144076 ┆ 2.435807 ┆ 2.700725 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2462097 ┆ 2462115 ┆ 18 ┆ 288.607481 ┆ 3.312494 ┆ 3.521621 │ │ saccade ┆ 2462337 ┆ 2462354 ┆ 17 ┆ 177.151196 ┆ 2.108927 ┆ 2.198865 │ │ saccade ┆ 2462705 ┆ 2462726 ┆ 21 ┆ 249.579532 ┆ 2.84258 ┆ 2.956972 │ │ saccade ┆ 2462728 ┆ 2462742 ┆ 14 ┆ 100.626391 ┆ 0.89505 ┆ 0.980027 │ │ saccade ┆ 2462941 ┆ 2462961 ┆ 20 ┆ 209.7643 ┆ 2.350504 ┆ 2.438258 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (361, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 2466370 ┆ 2466713 ┆ 343 ┆ 175.080375 ┆ 2.260986 ┆ 2.708004 │ │ fixation ┆ 2466714 ┆ 2466931 ┆ 217 ┆ 242.86095 ┆ 2.806154 ┆ 2.877944 │ │ fixation ┆ 2466932 ┆ 2467210 ┆ 278 ┆ 193.386696 ┆ 2.592256 ┆ 2.774411 │ │ fixation ┆ 2467211 ┆ 2467634 ┆ 423 ┆ 194.654876 ┆ 2.673857 ┆ 2.76201 │ │ fixation ┆ 2467635 ┆ 2467847 ┆ 212 ┆ 233.080336 ┆ 2.628021 ┆ 2.787569 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2494745 ┆ 2494757 ┆ 12 ┆ 103.394764 ┆ 0.929155 ┆ 1.009285 │ │ saccade ┆ 2494904 ┆ 2494929 ┆ 25 ┆ 119.575209 ┆ 1.028897 ┆ 1.151386 │ │ saccade ┆ 2495128 ┆ 2495168 ┆ 40 ┆ 276.119142 ┆ 4.375786 ┆ 4.830638 │ │ saccade ┆ 2495349 ┆ 2495365 ┆ 16 ┆ 146.470901 ┆ 1.411251 ┆ 1.485715 │ │ saccade ┆ 2495538 ┆ 2495586 ┆ 48 ┆ 324.75986 ┆ 6.138982 ┆ 6.509683 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (410, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 2498476 ┆ 2498820 ┆ 344 ┆ 218.315242 ┆ 2.322155 ┆ 2.812746 │ │ fixation ┆ 2498821 ┆ 2499287 ┆ 466 ┆ 207.871157 ┆ 2.516208 ┆ 2.742623 │ │ fixation ┆ 2499288 ┆ 2499810 ┆ 522 ┆ 207.193366 ┆ 2.439559 ┆ 2.712952 │ │ fixation ┆ 2499811 ┆ 2500103 ┆ 292 ┆ 232.225897 ┆ 2.616651 ┆ 2.785399 │ │ fixation ┆ 2500104 ┆ 2500284 ┆ 180 ┆ 237.292499 ┆ 2.60667 ┆ 2.786639 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2531758 ┆ 2531777 ┆ 19 ┆ 234.851566 ┆ 2.68985 ┆ 2.955248 │ │ saccade ┆ 2531781 ┆ 2531795 ┆ 14 ┆ 42.467736 ┆ 0.477871 ┆ 0.598621 │ │ saccade ┆ 2532123 ┆ 2532140 ┆ 17 ┆ 225.837839 ┆ 2.552659 ┆ 2.755136 │ │ saccade ┆ 2532430 ┆ 2532455 ┆ 25 ┆ 244.427252 ┆ 2.634329 ┆ 2.899421 │ │ saccade ┆ 2532803 ┆ 2532827 ┆ 24 ┆ 228.038588 ┆ 3.150437 ┆ 3.354609 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (289, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 2535732 ┆ 2536093 ┆ 361 ┆ 184.724692 ┆ 2.352941 ┆ 2.835737 │ │ fixation ┆ 2536094 ┆ 2536624 ┆ 530 ┆ 201.58258 ┆ 2.509359 ┆ 2.709068 │ │ fixation ┆ 2536628 ┆ 2536852 ┆ 224 ┆ 258.371605 ┆ 2.566484 ┆ 2.790628 │ │ fixation ┆ 2536853 ┆ 2537086 ┆ 233 ┆ 237.375349 ┆ 2.526711 ┆ 2.715363 │ │ fixation ┆ 2537087 ┆ 2537493 ┆ 406 ┆ 238.008754 ┆ 2.602644 ┆ 2.811506 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2558117 ┆ 2558129 ┆ 12 ┆ 59.816649 ┆ 0.484307 ┆ 0.522412 │ │ saccade ┆ 2558288 ┆ 2558318 ┆ 30 ┆ 220.161261 ┆ 2.206303 ┆ 2.440622 │ │ saccade ┆ 2558503 ┆ 2558521 ┆ 18 ┆ 214.059528 ┆ 2.439769 ┆ 2.537078 │ │ saccade ┆ 2558819 ┆ 2558860 ┆ 41 ┆ 248.370114 ┆ 3.587805 ┆ 3.806662 │ │ saccade ┆ 2559141 ┆ 2559170 ┆ 29 ┆ 219.333101 ┆ 3.018918 ┆ 3.140515 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (329, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 1788369 ┆ 1788627 ┆ 258 ┆ 166.338723 ┆ 1.930879 ┆ 2.728214 │ │ fixation ┆ 1788628 ┆ 1788968 ┆ 340 ┆ 187.780027 ┆ 2.628604 ┆ 2.861939 │ │ fixation ┆ 1788969 ┆ 1789139 ┆ 170 ┆ 195.461174 ┆ 2.623736 ┆ 2.742104 │ │ fixation ┆ 1789140 ┆ 1789319 ┆ 179 ┆ 192.162046 ┆ 2.556248 ┆ 2.726988 │ │ fixation ┆ 1789320 ┆ 1789594 ┆ 274 ┆ 224.146572 ┆ 2.549603 ┆ 2.795794 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 1816417 ┆ 1816437 ┆ 20 ┆ 185.220397 ┆ 2.170553 ┆ 2.274391 │ │ saccade ┆ 1816662 ┆ 1816731 ┆ 69 ┆ 397.138653 ┆ 19.7624 ┆ 21.432082 │ │ saccade ┆ 1816870 ┆ 1816902 ┆ 32 ┆ 150.368475 ┆ 1.897624 ┆ 2.162006 │ │ saccade ┆ 1817186 ┆ 1817220 ┆ 34 ┆ 274.755185 ┆ 4.677425 ┆ 4.943179 │ │ saccade ┆ 1817528 ┆ 1817542 ┆ 14 ┆ 136.187717 ┆ 1.284482 ┆ 1.443315 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (374, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 1821110 ┆ 1821608 ┆ 498 ┆ 177.886157 ┆ 2.365149 ┆ 2.710869 │ │ fixation ┆ 1821609 ┆ 1822344 ┆ 735 ┆ 148.386319 ┆ 2.607432 ┆ 2.773809 │ │ fixation ┆ 1822345 ┆ 1822843 ┆ 498 ┆ 179.920166 ┆ 2.593463 ┆ 2.753123 │ │ fixation ┆ 1822844 ┆ 1823142 ┆ 298 ┆ 220.615415 ┆ 2.557455 ┆ 2.750823 │ │ fixation ┆ 1823143 ┆ 1823381 ┆ 238 ┆ 213.250677 ┆ 2.550018 ┆ 2.802847 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 1853339 ┆ 1853410 ┆ 71 ┆ 407.279024 ┆ 21.168297 ┆ 22.678993 │ │ saccade ┆ 1853423 ┆ 1853439 ┆ 16 ┆ 50.973479 ┆ 0.576348 ┆ 0.619034 │ │ saccade ┆ 1853778 ┆ 1853795 ┆ 17 ┆ 231.872115 ┆ 2.324079 ┆ 2.478849 │ │ saccade ┆ 1853798 ┆ 1853811 ┆ 13 ┆ 78.631457 ┆ 0.718244 ┆ 0.788426 │ │ saccade ┆ 1853963 ┆ 1853980 ┆ 17 ┆ 154.706905 ┆ 1.726661 ┆ 1.856953 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (370, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 1857182 ┆ 1857905 ┆ 723 ┆ 178.800005 ┆ 2.010224 ┆ 2.706471 │ │ fixation ┆ 1857906 ┆ 1858241 ┆ 335 ┆ 205.698167 ┆ 2.532681 ┆ 2.748099 │ │ fixation ┆ 1858242 ┆ 1858669 ┆ 427 ┆ 180.011357 ┆ 2.571919 ┆ 2.778764 │ │ fixation ┆ 1858670 ┆ 1858930 ┆ 260 ┆ 216.089921 ┆ 2.663359 ┆ 2.836825 │ │ fixation ┆ 1858931 ┆ 1859166 ┆ 235 ┆ 204.235671 ┆ 2.644293 ┆ 2.776712 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 1886962 ┆ 1886980 ┆ 18 ┆ 194.610086 ┆ 2.41494 ┆ 2.526103 │ │ saccade ┆ 1887245 ┆ 1887274 ┆ 29 ┆ 233.042461 ┆ 3.998358 ┆ 4.207889 │ │ saccade ┆ 1887748 ┆ 1887779 ┆ 31 ┆ 234.490458 ┆ 3.897304 ┆ 4.3499 │ │ saccade ┆ 1888164 ┆ 1888180 ┆ 16 ┆ 161.034426 ┆ 1.675252 ┆ 1.773673 │ │ saccade ┆ 1888402 ┆ 1888416 ┆ 14 ┆ 123.020248 ┆ 1.143881 ┆ 1.231803 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (347, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 1892056 ┆ 1892406 ┆ 350 ┆ 148.882736 ┆ 2.169127 ┆ 2.710158 │ │ fixation ┆ 1892407 ┆ 1892889 ┆ 482 ┆ 158.332598 ┆ 2.438476 ┆ 2.720341 │ │ fixation ┆ 1892890 ┆ 1893069 ┆ 179 ┆ 198.378605 ┆ 2.543522 ┆ 2.74335 │ │ fixation ┆ 1893070 ┆ 1893225 ┆ 155 ┆ 572.619996 ┆ 2.433247 ┆ 2.886723 │ │ fixation ┆ 1893311 ┆ 1893517 ┆ 206 ┆ 185.343995 ┆ 2.224369 ┆ 2.76191 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 1920666 ┆ 1920680 ┆ 14 ┆ 53.541464 ┆ 0.524263 ┆ 0.599727 │ │ saccade ┆ 1920931 ┆ 1920948 ┆ 17 ┆ 184.71317 ┆ 2.083844 ┆ 2.204243 │ │ saccade ┆ 1921180 ┆ 1921204 ┆ 24 ┆ 201.605602 ┆ 2.6824 ┆ 2.948158 │ │ saccade ┆ 1921465 ┆ 1921481 ┆ 16 ┆ 148.373275 ┆ 1.563726 ┆ 1.662176 │ │ saccade ┆ 1921484 ┆ 1921497 ┆ 13 ┆ 42.431009 ┆ 0.399969 ┆ 0.486732 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (315, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 1925919 ┆ 1926303 ┆ 384 ┆ 160.017034 ┆ 2.628513 ┆ 2.870853 │ │ fixation ┆ 1926304 ┆ 1926910 ┆ 606 ┆ 233.580191 ┆ 2.565402 ┆ 2.731894 │ │ fixation ┆ 1926911 ┆ 1927269 ┆ 358 ┆ 206.599483 ┆ 2.656728 ┆ 2.798344 │ │ fixation ┆ 1927270 ┆ 1927726 ┆ 456 ┆ 167.345522 ┆ 2.624246 ┆ 2.799881 │ │ fixation ┆ 1927727 ┆ 1928262 ┆ 535 ┆ 206.781851 ┆ 2.496664 ┆ 2.701081 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 1951311 ┆ 1951323 ┆ 12 ┆ 64.557291 ┆ 0.546737 ┆ 0.624564 │ │ saccade ┆ 1951578 ┆ 1951596 ┆ 18 ┆ 168.060021 ┆ 1.76535 ┆ 1.919254 │ │ saccade ┆ 1951951 ┆ 1951979 ┆ 28 ┆ 174.115371 ┆ 1.803503 ┆ 1.950795 │ │ saccade ┆ 1952141 ┆ 1952157 ┆ 16 ┆ 183.599606 ┆ 2.01917 ┆ 2.236723 │ │ saccade ┆ 1952350 ┆ 1952366 ┆ 16 ┆ 164.901431 ┆ 1.617187 ┆ 1.738797 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (327, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 2199265 ┆ 2199661 ┆ 396 ┆ 210.63191 ┆ 2.435184 ┆ 2.763179 │ │ fixation ┆ 2199662 ┆ 2200378 ┆ 716 ┆ 210.663544 ┆ 2.484421 ┆ 2.703916 │ │ fixation ┆ 2200379 ┆ 2200686 ┆ 307 ┆ 194.377739 ┆ 2.533929 ┆ 2.753746 │ │ fixation ┆ 2200687 ┆ 2201153 ┆ 466 ┆ 194.362595 ┆ 2.474604 ┆ 2.731272 │ │ fixation ┆ 2201154 ┆ 2201403 ┆ 249 ┆ 189.214329 ┆ 2.577341 ┆ 2.79942 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2225401 ┆ 2225423 ┆ 22 ┆ 230.975808 ┆ 2.895209 ┆ 3.12224 │ │ saccade ┆ 2225425 ┆ 2225437 ┆ 12 ┆ 90.166193 ┆ 0.805183 ┆ 0.853004 │ │ saccade ┆ 2225612 ┆ 2225689 ┆ 77 ┆ 385.874389 ┆ 18.750847 ┆ 19.904254 │ │ saccade ┆ 2225694 ┆ 2225708 ┆ 14 ┆ 63.024947 ┆ 0.580474 ┆ 0.651642 │ │ saccade ┆ 2226159 ┆ 2226193 ┆ 34 ┆ 370.955645 ┆ 8.52137 ┆ 11.419659 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (337, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 2228730 ┆ 2229180 ┆ 450 ┆ 229.664887 ┆ 2.662613 ┆ 2.871773 │ │ fixation ┆ 2229181 ┆ 2229369 ┆ 188 ┆ 237.872262 ┆ 2.521758 ┆ 2.726117 │ │ fixation ┆ 2229370 ┆ 2229774 ┆ 404 ┆ 162.334631 ┆ 2.644043 ┆ 2.812908 │ │ fixation ┆ 2229775 ┆ 2229997 ┆ 222 ┆ 211.773888 ┆ 2.67673 ┆ 2.779023 │ │ fixation ┆ 2229998 ┆ 2230196 ┆ 198 ┆ 219.592958 ┆ 2.544986 ┆ 2.724868 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2255320 ┆ 2255334 ┆ 14 ┆ 167.431659 ┆ 1.546496 ┆ 1.96683 │ │ saccade ┆ 2255338 ┆ 2255350 ┆ 12 ┆ 64.087931 ┆ 0.586501 ┆ 0.64511 │ │ saccade ┆ 2255512 ┆ 2255531 ┆ 19 ┆ 303.950654 ┆ 3.370259 ┆ 3.721134 │ │ saccade ┆ 2255537 ┆ 2255549 ┆ 12 ┆ 69.303064 ┆ 0.594982 ┆ 0.668932 │ │ saccade ┆ 2255751 ┆ 2255800 ┆ 49 ┆ 447.865971 ┆ 13.944802 ┆ 15.27056 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (336, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 2258387 ┆ 2258821 ┆ 434 ┆ 181.873264 ┆ 2.265029 ┆ 2.763399 │ │ fixation ┆ 2258822 ┆ 2259026 ┆ 204 ┆ 221.887778 ┆ 2.559293 ┆ 2.732458 │ │ fixation ┆ 2259027 ┆ 2259474 ┆ 447 ┆ 205.514531 ┆ 2.605594 ┆ 2.762995 │ │ fixation ┆ 2259475 ┆ 2259715 ┆ 240 ┆ 206.992841 ┆ 2.568733 ┆ 2.737374 │ │ fixation ┆ 2259716 ┆ 2260414 ┆ 698 ┆ 169.281304 ┆ 2.612969 ┆ 2.82432 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2285868 ┆ 2285891 ┆ 23 ┆ 237.231038 ┆ 2.978826 ┆ 3.130071 │ │ saccade ┆ 2286025 ┆ 2286106 ┆ 81 ┆ 389.114549 ┆ 20.065909 ┆ 21.441585 │ │ saccade ┆ 2286236 ┆ 2286248 ┆ 12 ┆ 115.386386 ┆ 0.99063 ┆ 1.197837 │ │ saccade ┆ 2286532 ┆ 2286563 ┆ 31 ┆ 271.860398 ┆ 3.850584 ┆ 4.199014 │ │ saccade ┆ 2286742 ┆ 2286754 ┆ 12 ┆ 94.091517 ┆ 0.944254 ┆ 1.026221 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (364, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 2289654 ┆ 2290027 ┆ 373 ┆ 202.825227 ┆ 2.094507 ┆ 2.784527 │ │ fixation ┆ 2290028 ┆ 2290269 ┆ 241 ┆ 284.32695 ┆ 2.524134 ┆ 2.710672 │ │ fixation ┆ 2290270 ┆ 2290536 ┆ 266 ┆ 246.465389 ┆ 2.57298 ┆ 2.730355 │ │ fixation ┆ 2290537 ┆ 2290959 ┆ 422 ┆ 169.670773 ┆ 2.609924 ┆ 2.814569 │ │ fixation ┆ 2290960 ┆ 2291270 ┆ 310 ┆ 211.000633 ┆ 2.660164 ┆ 2.762348 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2319977 ┆ 2319990 ┆ 13 ┆ 39.133442 ┆ 0.327113 ┆ 0.417387 │ │ saccade ┆ 2320256 ┆ 2320336 ┆ 80 ┆ 374.054923 ┆ 21.890933 ┆ 22.978089 │ │ saccade ┆ 2320536 ┆ 2320552 ┆ 16 ┆ 172.048427 ┆ 1.725806 ┆ 1.969682 │ │ saccade ┆ 2320842 ┆ 2320859 ┆ 17 ┆ 203.858621 ┆ 2.429952 ┆ 2.552571 │ │ saccade ┆ 2320861 ┆ 2320874 ┆ 13 ┆ 85.185797 ┆ 0.787333 ┆ 0.879855 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘, shape: (361, 7) ┌──────────┬─────────┬─────────┬──────────┬───────────────┬───────────┬────────────┐ │ name ┆ onset ┆ offset ┆ duration ┆ peak_velocity ┆ amplitude ┆ dispersion │ │ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │ │ str ┆ i64 ┆ i64 ┆ i64 ┆ f64 ┆ f64 ┆ f64 │ ╞══════════╪═════════╪═════════╪══════════╪═══════════════╪═══════════╪════════════╡ │ fixation ┆ 2323912 ┆ 2324303 ┆ 391 ┆ 147.61711 ┆ 1.964148 ┆ 2.756289 │ │ fixation ┆ 2324304 ┆ 2324735 ┆ 431 ┆ 209.831555 ┆ 2.599204 ┆ 2.788129 │ │ fixation ┆ 2324736 ┆ 2325103 ┆ 367 ┆ 213.3453 ┆ 2.611797 ┆ 2.791826 │ │ fixation ┆ 2325104 ┆ 2325347 ┆ 243 ┆ 225.067575 ┆ 2.581646 ┆ 2.759365 │ │ fixation ┆ 2325348 ┆ 2325597 ┆ 249 ┆ 230.335714 ┆ 2.577667 ┆ 2.730486 │ │ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │ │ saccade ┆ 2352570 ┆ 2352601 ┆ 31 ┆ 371.22848 ┆ 5.452252 ┆ 6.011779 │ │ saccade ┆ 2352791 ┆ 2352807 ┆ 16 ┆ 241.534625 ┆ 2.599816 ┆ 2.672458 │ │ saccade ┆ 2353040 ┆ 2353055 ┆ 15 ┆ 127.551514 ┆ 1.294229 ┆ 1.318547 │ │ saccade ┆ 2353394 ┆ 2353436 ┆ 42 ┆ 240.984358 ┆ 3.322846 ┆ 3.538708 │ │ saccade ┆ 2353622 ┆ 2353643 ┆ 21 ┆ 219.750364 ┆ 2.94861 ┆ 3.082895 │ └──────────┴─────────┴─────────┴──────────┴───────────────┴───────────┴────────────┘)
-
dict (1 items)
-
DataFrame (3 columns, 20 rows)shape: (20, 3)
text_id page_id filepath i64 i64 str 0 1 "pymovements-toy-dataset-main/d… 0 2 "pymovements-toy-dataset-main/d… 0 3 "pymovements-toy-dataset-main/d… 0 4 "pymovements-toy-dataset-main/d… 0 5 "pymovements-toy-dataset-main/d… … … … 3 1 "pymovements-toy-dataset-main/d… 3 2 "pymovements-toy-dataset-main/d… 3 3 "pymovements-toy-dataset-main/d… 3 4 "pymovements-toy-dataset-main/d… 3 5 "pymovements-toy-dataset-main/d…
-
-
list (20 items)
-
Gaze
-
DataFrame (4 columns, 17223 rows)shape: (17_223, 4)
time stimuli_x stimuli_y pixel i64 f64 f64 list[f64] 1988145 -1.0 -1.0 [206.8, 152.4] 1988146 -1.0 -1.0 [206.9, 152.1] 1988147 -1.0 -1.0 [207.0, 151.8] 1988148 -1.0 -1.0 [207.1, 151.7] 1988149 -1.0 -1.0 [207.0, 151.5] … … … … 2005363 -1.0 -1.0 [361.0, 415.4] 2005364 -1.0 -1.0 [358.0, 414.5] 2005365 -1.0 -1.0 [355.8, 413.8] 2005366 -1.0 -1.0 [353.1, 413.2] 2005367 -1.0 -1.0 [351.2, 412.9] -
EventsEvents
-
DataFrame (7 columns, 222 rows)shape: (222, 7)
name onset offset duration peak_velocity amplitude dispersion str i64 i64 i64 f64 f64 f64 "fixation" 1988145 1988563 418 200.144558 2.492864 2.712569 "fixation" 1988564 1988750 186 249.67823 2.651198 2.865026 "fixation" 1988751 1989178 427 211.598748 2.585906 2.779518 "fixation" 1989179 1989436 257 189.183243 2.614347 2.77424 "fixation" 1989437 1989600 163 255.077509 2.594651 2.729391 … … … … … … … "saccade" 2004373 2004385 12 70.374183 0.7073 0.766684 "saccade" 2004688 2004704 16 175.646379 1.807485 1.875716 "saccade" 2004879 2004901 22 209.46361 2.933818 3.086169 "saccade" 2005110 2005126 16 137.917594 1.405354 1.501217 "saccade" 2005288 2005345 57 352.550667 14.682541 16.101153 -
NoneNone
-
-
NoneNone
-
ExperimentExperiment
-
EyeTrackerEyeTracker
-
NoneNone
-
NoneNone
-
NoneNone
-
NoneNone
-
10001000
-
NoneNone
-
NoneNone
-
-
10001000
-
ScreenScreen
-
6868
-
30.230.2
-
10241024
-
'upper left''upper left'
-
3838
-
12801280
-
15.59938648778295315.599386487782953
-
-15.599386487782953-15.599386487782953
-
12.50804441088254612.508044410882546
-
-12.508044410882546-12.508044410882546
-
-
-
-
Gaze
-
DataFrame (4 columns, 29799 rows)shape: (29_799, 4)
time stimuli_x stimuli_y pixel i64 f64 f64 list[f64] 2008305 -1.0 -1.0 [141.4, 153.6] 2008306 -1.0 -1.0 [141.1, 153.2] 2008307 -1.0 -1.0 [140.7, 152.8] 2008308 -1.0 -1.0 [140.6, 152.7] 2008309 -1.0 -1.0 [140.5, 152.6] … … … … 2038099 -1.0 -1.0 [273.8, 773.8] 2038100 -1.0 -1.0 [273.8, 774.1] 2038101 -1.0 -1.0 [273.9, 774.5] 2038102 -1.0 -1.0 [274.0, 774.4] 2038103 -1.0 -1.0 [274.0, 773.9] -
EventsEvents
-
DataFrame (7 columns, 366 rows)shape: (366, 7)
name onset offset duration peak_velocity amplitude dispersion str i64 i64 i64 f64 f64 f64 "fixation" 2008305 2008621 316 167.343877 2.283024 2.706135 "fixation" 2008622 2008821 199 314.396904 2.578854 2.79657 "fixation" 2008822 2009214 392 305.525917 2.612895 2.908934 "fixation" 2009215 2009433 218 216.195201 2.612208 2.765062 "fixation" 2009434 2009704 270 208.05132 2.566305 2.70311 … … … … … … … "saccade" 2036849 2036861 12 54.743137 0.472141 0.529715 "saccade" 2037161 2037188 27 223.056103 2.358604 2.587752 "saccade" 2037412 2037503 91 406.701444 16.94863 18.346458 "saccade" 2037638 2037654 16 138.382767 1.411621 1.827761 "saccade" 2037812 2037830 18 240.193236 2.739312 3.024326 -
NoneNone
-
-
NoneNone
-
ExperimentExperiment
-
EyeTrackerEyeTracker
-
NoneNone
-
NoneNone
-
NoneNone
-
NoneNone
-
10001000
-
NoneNone
-
NoneNone
-
-
10001000
-
ScreenScreen
-
6868
-
30.230.2
-
10241024
-
'upper left''upper left'
-
3838
-
12801280
-
15.59938648778295315.599386487782953
-
-15.599386487782953-15.599386487782953
-
12.50804441088254612.508044410882546
-
-12.508044410882546-12.508044410882546
-
-
-
- (18 more)
-
Gaze
-
PosixPath('data/ToyDataset')PosixPath('data/ToyDataset')
-
DatasetPathsDatasetPaths
-
PosixPath('data/ToyDataset')PosixPath('data/ToyDataset')
-
PosixPath('data/ToyDataset/downloads')PosixPath('data/ToyDataset/downloads')
-
PosixPath('data/ToyDataset/events')PosixPath('data/ToyDataset/events')
-
PosixPath('data/ToyDataset/precomputed_events')PosixPath('data/ToyDataset/precomputed_events')
-
PosixPathPosixPath('data/ToyDataset/precomputed_reading_measures')
-
PosixPath('data/ToyDataset/preprocessed')PosixPath('data/ToyDataset/preprocessed')
-
PosixPath('data/ToyDataset/raw')PosixPath('data/ToyDataset/raw')
-
PosixPath('data/ToyDataset')PosixPath('data/ToyDataset')
-
-
list (0 items)
-
list (0 items)
By default, the events directory and the feather extension will be chosen.
In the case of alternative directory names or other file formats, you can use the following:
preprocessed_dataset.load(
events=True,
events_dirname='events_csv',
extension='csv',
)
dataset.events[0]
-
DataFrame (7 columns, 222 rows)shape: (222, 7)
name onset offset duration peak_velocity amplitude dispersion str i64 i64 i64 f64 f64 f64 "fixation" 1988145 1988563 418 200.144558 2.492864 2.712569 "fixation" 1988564 1988750 186 249.67823 2.651198 2.865026 "fixation" 1988751 1989178 427 211.598748 2.585906 2.779518 "fixation" 1989179 1989436 257 189.183243 2.614347 2.77424 "fixation" 1989437 1989600 163 255.077509 2.594651 2.729391 … … … … … … … "saccade" 2004373 2004385 12 70.374183 0.7073 0.766684 "saccade" 2004688 2004704 16 175.646379 1.807485 1.875716 "saccade" 2004879 2004901 22 209.46361 2.933818 3.086169 "saccade" 2005110 2005126 16 137.917594 1.405354 1.501217 "saccade" 2005288 2005345 57 352.550667 14.682541 16.101153 -
NoneNone
What you have learned in this tutorial:#
detecting different events with different algorithms by using
Dataset.detect_events()computing event properties by using
Dataset.compute_event_properties()saving your preprocesed data using
Dataset.save_preprocessed()load your preprocesed data using
Dataset.load(events=True)using custom directory names by specifying
preprocessed_dirnameusing other file formats than the default
featherformat by specifyingextension