In this repository you will find:
- Velocity Threshold Algorithm for Fixation Identification (I-VT) in eyeTrackingProcessing.py
- base pipeline how to use I-VT algorithm in work_example.ipynb
- conda environment to easily get all module dependencies in eye-tracking.yml
I-VT algorithm:
- Calculate the Euclidean distance between consecutive gaze points
- Convert Euclidean distance to visual angle
- Calculate point-to-point velocity in degrees per second
- Label each point below velocity threshold as a fixation point, otherwise saccade point
- Collapse consecutive fixation points into fixation groups
- Remove fixation groups with duration below duration threshold
- Calculate centroid, variation, duration and average velocity of each fixation group