get_rlmw_002#

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

Load the “rlmw_002” example dataset (downloaded from OSF).

Binocular gaze and pupil data from a 20-minute reinforcement learning task (single participant). The ASC files are downloaded into cache_dir on the first call and reused later. Events are the “MSG” lines after “experiment_start”; missing pupil samples (coded as 0 by Eyelink) are set to NaN; time is reset to start at 0 and the original data are kept (keep_orig=True). Usually called via get_example_data().

Parameters:

cache_dir (str, optional) – directory for the downloaded files; default $XDG_CACHE_HOME/pypillometry (~/.cache/pypillometry)

Return type:

EyeData

Returns:

the example dataset