pymovements.datasets.judo1000.JuDo1000#

class pymovements.datasets.judo1000.JuDo1000(**kwargs)[source]#

JuDo1000 dataset [Makowski et al., 2020].

This dataset includes binocular eye tracking data from 150 participants in four sessions with an interval of at least one week between two sessions. Eye movements are recorded at a sampling frequency of 1000 Hz using an EyeLink Portable Duo video-based eye tracker and are provided as pixel coordinates. Participants are instructed to watch a random jumping dot on a computer screen.

Check the respective repository <’https://osf.io/download/4wy7s/’> for details.

Examples

Change to download=True and extract=True` for downloading and extracting the dataset.

>>> dataset = JuDo1000(
...     root='data/',
...     download=False,
...     extract=False,
...     remove_finished=False,
... )
>>> dataset.load()  
__init__(**kwargs)[source]

Initialize dataset.

If desired, dataset resources will be downloaded and extracted.

Parameters:
  • download (bool) – Download all dataset resources.

  • extract (bool) – Extract dataset archive files.

  • remove_finished (bool) – Remove archive files after extraction.

Methods

__init__(**kwargs)

Initialize dataset.

detect_events(method[, eye, verbose])

Detect events by applying a specific event detection method.

download()

Download dataset.

extract([remove_finished])

Extract dataset archives.

infer_fileinfo()

Infer information from filepaths and filenames.

load([events, preprocessed, subset])

Parse file information and load all gaze files.

load_event_files()

Load all available event files.

load_gaze_files([preprocessed])

Load all available gaze data files.

pix2deg([verbose])

Compute gaze positions in degrees of visual angle from pixel coordinates.

pos2vel([method, verbose])

Compute gaze velocites in dva/s from dva coordinates.

save([verbose])

Save preprocessed gaze and event files.

save_events([verbose])

Save events to files.

save_preprocessed([verbose])

Save preprocessed gaze files.

take_subset([subset])

Take a subset of the dataset.

Attributes

events_rootpath

Get the path to the directory of the event data.

preprocessed_rootpath

Get the path to the directory of the preprocessed gaze data.

raw_rootpath

Get the path to the directory of the raw data.

rootpath

Get the path to the dataset directory.