get_robison_pvt#

pypillometry.get_robison_pvt(cache_dir=None)[source]#

Load the “robison_pvt” example dataset (downloaded from OSF): a 20-minute psychomotor vigilance task.

The raw recording of one participant (1727) of Robison & Brewer (2022), recorded with a GazePoint GP3 at 60 Hz; the participant did the baseline (robison_pxb), the psychomotor vigilance task (robison_pvt) and the change detection task (robison_cd). It is loaded with pp.datasets.RobisonBrewer2022, which has all participants (and the demographics and behaviour): the file is downloaded from OSF (https://osf.io/db8qh/) into cache_dir on the first call, reused later, and read with from_gazepoint():

  • pupil diameter of both eyes in mm; samples without a valid pupil (e.g., blinks) are NaN (masked)

  • no gaze: its quality is poor and the screen geometry is unknown

  • the camera measurements in d.aux for each eye (e.g., left_camx, left_camy, left_pupilpx, left_distance)

  • events: every change of the label sent by the task, without the prefix "VAR " (e.g., "TRIAL 3", "CURRENTOBJECT FIXATION")

  • d.info: the dataset, study, subject and task

The data are not preprocessed. Usually called via get_example_data().

Robison, M. K., & Brewer, G. A. (2022). Individual differences in working memory capacity, attention control, fluid intelligence, and pupillary measures of arousal. Journal of Experimental Psychology: Learning, Memory, and Cognition.

Parameters:

cache_dir (str, optional) – directory for the downloaded files (the file is stored in its datasets/robison2022 folder); default pp.datasets.default_cache_dir("robison2022")

Return type:

EyeData

Returns:

the example dataset