tmalsburg / saccades

Detection of fixations and saccades in eyetracking data
GNU General Public License v2.0
76 stars 14 forks source link

Hello,my eye data is already in degrees of visual angle,what should i do? #19

Closed AlfredLTennyson closed 1 year ago

AlfredLTennyson commented 1 year ago

Hello, i have eye gaze data that is already in degrees of visual angle. In your algorithm , it takes data in pixels. What should i do? I am attaching the data file below with some plots of gaze trajectory and gaze coordinates and velocity plots to make the dataset undertsandable. https://raw.githubusercontent.com/AlfredLTennyson/eye_gaze_data_for_1_trial/main/T_Trial1.tsv

AlfredLTennyson commented 1 year ago

image

This is the plot of eyeX vs eyeY

AlfredLTennyson commented 1 year ago

image

This is the eye X velocity. Please click on the image to see the x and y labels.

AlfredLTennyson commented 1 year ago

image

this is the plot of eyeX vs Time

AlfredLTennyson commented 1 year ago

I have tried I-VT algorithms,but none is doing right classification. Can you please shed some light as to how i should implement an algorithm? Attaching the colab file below,so that you can see what is wrong. https://github.com/AlfredLTennyson/eye_gaze_data_for_1_trial/blob/main/Untitled8.ipynb

AlfredLTennyson commented 1 year ago

I am kind of confused here. Can you please help me out with some tips?

AlfredLTennyson commented 1 year ago

I do know that your algorithm is R based.

tmalsburg commented 1 year ago

Hi there. Unfortunately, I don't have the time to help you process your data. But here are a two things that I would try. 1. I would try to run my software on the degree data to see what happens. The algorithm is in principle invariant to the unit of space and the distortion due to the spherical coordinates is likely too small to matter. 2. A cleaner solution would be to convert the degree coordinates to pixel coordinates using the gnomonic projection. You can likely find code for that in the usual places. From your plots it seems that you're using Python. I think there is an implementation of the gnomonic projection in the package matplotlib. Hope this helps.