If this template helps then use it. If not then just delete and start from scratch.
OS: Win10
PsychoPy version: 2023.2.3
Standard Standalone? (y/n): y
In brief: We are running an eye-tracking experiment with a Tobii Pro Fusion (all works) and are wondering if we can get reliable information on number of looks from this experiment? The number of looks provided in the .csv generated by PsychoPy is not correct in our eyes (no pun intended).
In detail: We’re running an eye-tracking experiment where two stimuli are shown on screen. Next, the name of one of the stimuli is played via speakers and eye-tracking ROIs around the stimuli drawn and eye-tracking data is collected for several seconds. We are interested how much time participants spend looking on either stimuli and/or how often they look at each of the stimuli once they hear the name, i.e. looking time and number of looks.
We are using a Tobii Pro Fusion, installed it properly using the provided SDKs and everything works well. We export a .hdf5 file at the end of the experiment that contains eye coordinates and we use a modified script from Becca Hirst to extract the information saved in the .hdf5 to .csv. This script reads out different data types, but we are limited to binocular eye sample events as no other information seems to be provided in that file, e.g. on looks or blinks.
The task summary .csv file generated by PsychoPy also includes information that is eye-tracking related, e.g. looking time and here also a number of looks. BUT, we figured this number of looks does not accurately reflect what constitutes a look. To test this, we ran an additional very simple experiment where a stimulus is shown and the experimenter himself just stared at that stimulus until it disappears and a new trial begins. Even when outright staring at the stimulus, the .csv task file claims to have recorded several looks on the stimulus during a trial. We further found that using slow blinks or squinting we can influence the number of looks detected. We verified with the information in the .hdf5 file that the look count seems to increase for every time the eyetracker “lost” the eyes for a brief period (due to slow blinking or squinting) and thus even in trials where the participant never actually looked away from and back to the stimulus, we may get several “looks” detected.
We’re wondering if (1) we are really limited to binocular eye sample events in the .hdf5 file or if we can specify something to also get other data types? (2) How and where does PsychoPy determine number of looks from the eye-tracker in the background and are there any settings that we can influence?
Because we are working with infants, we’re hoping to get a cleaner estimate of actual looks to the stimulus (eye gaze was away from and travels back into the ROI) that isn’t muddied by sheer data dropout.
Thank you in advance for your time and input.