Eyemovement data in ROI and hdf5 file

Hi all,

I am using Tobii to conduct an eye movement study in PsychoPy. I have received output CSV files that include “number of looks,” “roi_ontime,” and “roi_off time” for each look, as well as HDF5 files containing gaze positions and timestamps.

I’m unsure how PsychoPy calculates the duration of each look (since the duration of each look within the ROI is not the same). Therefore, I’d like to ask if it’s feasible to select gaze position data primarily based on the “roi_ontime” and “roi_off time” and then calculate the average of the X and Y positions as gaze points in the roi.

Any tips will be greatly appreciated.Thanks in advance!!!