PuPl: an open-source tool for processing pupillometry data
Related Experiment Video
Updated: Oct 11, 2025

Assessing Pupil-linked Changes in Locus Coeruleus-mediated Arousal Elicited by Trigeminal Stimulation
Published on: November 26, 2019
Isaac Kinley1,2, Yarden Levy3,4
1, 1280 Main St W, Hamilton, ON, L8S 4L8, USA. kinleyid@mcmaster.ca.
Abstract:
We present PuPl (Pu pillometry P ipel iner), an Octave-compatible library of Matlab functions for processing pupillometry data with an easy-to-use graphical user interface (GUI). PuPl's preprocessing tools include blink correction, data smoothing, and gaze correction. PuPl can also define and sort trials, and segment data to isolate event-related pupil dilation responses. PuPl's flexible tabular export tools enable a wide variety of statistical analyses. Furthermore, PuPl can translate GUI interactions into a Matlab script, enabling easy creation and reconfiguration of reusable data processing pipelines. Finally, PuPl is designed to be extensible, and users can easily contribute functionality as best practices for pupillometry evolve. Here we demonstrate PuPl by replicating published results using publicly available data. PuPl can be downloaded from github.com/kinleyid/pupl .

