Feature Description
Neon already outputs blinks events. However, it sometimes fails to detect blinks, and the duration of blinks are often underestimated. Several post-hoc algorithms exist to detect blinks and durations thereof post hoc. It could be nice to incorporate them as a detect_blinks() method of Stream (eye states).
Proposed Solution
detected_blinks : Events = eye_states.detect_blinks(eye, source, method, parameters)
eye could be:
- "left"
- "right"
- "both" (averages channels from left and right, default)
source could be:
- "pupil" (uses
pupil diameter left/right [mm] column)
- "eyelid" (uses
eyelid aperture left/right [mm] column, default?)
method flag could be:
The output Events instance follows the same structure as other blinks (https://docs.pupil-labs.com/neon/data-collection/data-format/#blinks-csv).
Feature Description
Neon already outputs blinks events. However, it sometimes fails to detect blinks, and the duration of blinks are often underestimated. Several post-hoc algorithms exist to detect blinks and durations thereof post hoc. It could be nice to incorporate them as a
detect_blinks()method ofStream(eye states).Proposed Solution
eyecould be:sourcecould be:pupil diameter left/right [mm]column)eyelid aperture left/right [mm]column, default?)methodflag could be:The output
Eventsinstance follows the same structure as other blinks (https://docs.pupil-labs.com/neon/data-collection/data-format/#blinks-csv).