tmalsburg / saccades

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

Add support for two eyes #1

Open tmalsburg opened 10 years ago

tmalsburg commented 10 years ago

and take advantage of the fact that it's only a saccade if it happens in both eyes. This way we may also solve the problem of consecutive samples whose velocity dances around the threshold.

Left eye:   __XXX_XXXXX____
Right eye:  ___XXXXX_XXX___
Saccade:    __XXXXXXXXXX___

Just use an OR to combine the two saccade vectors. Smoothing the signal or the velocities may not any longer be necessary.