Feb28_SG_preprocessing
0. Remove impossible values
1. Smooth trace
(Hanning window)
2. Calculate velocity
(1st derivative between time-points)
3. Detect blinks
(Set max blink duration to flag long periods of bad data, set margin around blinks to also consider)
(Count the number of blinks found per participant)
4. Interpolate
(First cubic spline, use linear interpolation over long blinks)
5. Repeat steps 3 and 4
(See how many times it takes until no more blinks are found)