A simple way to reconstruct pupil size during eye blinks
Any type of content formally published in an academic journal, usually following a peer-review process.
Here I describe a simple way to reconstruct pupil-size data during eye blinks. Blinks are detected using a velocity threshold and reconstructed using cubic-spline interpolation. Although it is debatable whether this reconstruction procedure is theoretically meaningful, it has considerable practical benefits during analysis and data presentation, compared to treating blinks as periods of missing data.