get_nback_001#
- pypillometry.get_nback_001(cache_dir=None)[source]#
Load the “nback_001” example dataset (downloaded from figshare).
Binocular gaze and pupil data from a 56-minute N-back task (single participant), saved as a pypillometry file. Events mark fixation, stimulus and response in each trial (e.g.,
run-1_scr-grey_block-1_task-0b_trial-1_stim_target-1).The behavioural log of the task is merged into the events’ metadata (see
Events.meta):run,screen,block,task(0b,1b,2borp) andtrialare parsed from the labels, andstimulus,target,response,accuracyandrt(reaction time in s) are added to all events of each trial. The log’s header (date, ambient light, …) is ind.info["behaviour_log"].The files are downloaded into cache_dir on the first call and reused later. Usually called via
get_example_data(). The tutorial Case study: an N-back task analyses this dataset.