Calculate raw eye-tracker input values from the degree data recorded in the bhv2 file September 08, 2023 09:40AM | Registered: 2 years ago Posts: 14 |
Re: Calculate raw eye-tracker input values from the degree data recorded in the bhv2 file September 10, 2023 10:29PM | Admin Registered: 5 years ago Posts: 931 |
[data,MLConfig] = mlread;
EyeCal = mlcalibrate('eye', MLConfig, 1); % 'eye' or 'joy'; 1 means Eye#1If an error occurs, refer to the following link, fill in the missing screen size information and retry.
deg_xy = data(1).AnalogData.Eye; % Trial 1
raw_xy = EyeCal.deg2sig(deg_xy);
The National Institute of Mental Health (NIMH) is part of the National Institutes of Health (NIH), a component of the U.S. Department of Health and Human Services.