Reading and writing data#
See Loading and saving data. Eyelink files are usually read with
EyeData.from_eyelink(), saved
objects with from_file().
Files and URLs#
Read an Eyelink file/URL and return the object returned by the "eyelinkio" package. |
|
Read a data export of Tobii Pro Lab (recordings of Tobii Pro Glasses). |
|
Read a recording of a GazePoint eye tracker (e.g., GP3). |
|
Read a Python object from a file using |
|
Store any Python object in a file using |
|
Download a file from a URL to a local file. |
|
Download an HTTP(S) or SSH URL to a local file, with caching. |
|
Context manager that gives a local filename for source. |
OSF#
Files from OSF projects.
Get all file IDs from an OSF project. |
|
Authenticate against the OSF API using a personal access token. |
Datasets and studies#
Whole studies, pp.datasets; see Analysing a study and
Open datasets.
The available datasets. |
|
A dataset by name (see |
|
Where the remote dataset name is stored by default. |
|
Write the manifest of a dataset (for adding a new dataset). |
|
The files in a manifest (see |
A study with many recordings: download, load and convert them. |
|
A dataset with all recordings preprocessed. |
|
Exclude a recording while preprocessing it. |
|
Robison & Brewer (2022): pupil size of ~260 participants in three tasks. |
|
RLMW: reinforcement learning and mind wandering (EyeLink, 500 Hz). |
Example datasets#
Single recordings for the tutorials.
Return available example datasets. |
|
Load example data for a given example (see example_datasets). |
|
Load the "rlmw_002" example dataset (downloaded from OSF). |
|
Load the "rlmw_002_short" example dataset (included in the package). |
|
Load the "rlmw_010_edf" example dataset (downloaded from OSF). |
|
Load the "nback_001" example dataset (downloaded from figshare). |
|
Load the "robison_pxb" example dataset (downloaded from OSF): a 3-minute baseline (fixation on a grey screen). |
|
Load the "robison_pvt" example dataset (downloaded from OSF): a 20-minute psychomotor vigilance task. |
|
Load the "robison_cd" example dataset (downloaded from OSF): a 14-minute colour change detection task. |