ccp-eva / eyewit

👁‍🗨 Bootstrapping common eye-tracking tasks
MIT License
7 stars 3 forks source link

⭐ get_looks() should also support gaze event types #42

Open kalaschnik opened 2 years ago

kalaschnik commented 2 years ago

Thus far, get_looks respects exclusively Tobii’s GazeEventType column with values being 'Fixation' only.

Other eye-tracking data may not even contain this classification of different gaze types (e.g., labvanced only tracks looking durations without classification)

Thus, an optiona function parameter should be used to select the classification column, e.g., classificationColumn = 'GazeEventType'. Only if that parameter is given to the function, the function will return gaze_durations. If the argument was not set, the function should return looking_duration as no gaze classification was performed.

kalaschnik commented 2 years ago

Theory, Video, Implementation and Docs

https://www.tobiipro.com/learn-and-support/learn/steps-in-an-eye-tracking-study/data/how-are-fixations-defined-when-analyzing-eye-tracking-data/