esdalmaijer / PyGaze

an open-source, cross-platform toolbox for minimal-effort programming of eye tracking experiments
www.pygaze.org
GNU General Public License v3.0
670 stars 211 forks source link

Converting Eyelink / Pygaze coordinates to be "compatible" with OS coordinate system #174

Open sa-al-ja opened 10 months ago

sa-al-ja commented 10 months ago

Hi there,

I have a question about how to "convert" the coordinates of my eyetracking data that has been collected with PyGaze and the eyetracker EyeLink 1000 Plus.

Since I would like to "convert" my data into the Open Sesame system, I wanted to confirm that the following information is correct:

So, if I take one example datapoint from EDF Eyelink file:

x: 954.3, y: 529.8

Following this logic, I would divide both by 2 to get the following coordinates that are then "compatible" with the OS coordinate system?

x: 954.3 / 2 = 477.15 y: 529.8 / 2 = 264.9

Thanks a lot in advance!

Best, sa-al-ja