Related Experiment Video
Updated: Aug 11, 2026

Assessing Pupil-linked Changes in Locus Coeruleus-mediated Arousal Elicited by Trigeminal Stimulation
Published on: November 26, 2019
Open-DPSM: An open-source toolkit for modeling pupil size changes to dynamic visual inputs
Yuqing Cai1, Christoph Strauch2, Stefan Van der Stigchel2
1Experimental Psychology, Helmholtz Institute, Faculty of Social Sciences, Utrecht University, Heidelberglaan 1, 3584, CS, Utrecht, The Netherlands. y.cai2@uu.nl.
Abstract:
Pupil size change is a widely adopted, sensitive indicator for sensory and cognitive processes. However, the interpretation of these changes is complicated by the influence of multiple low-level effects, such as brightness or contrast changes, posing challenges to applying pupillometry outside of extremely controlled settings. Building on and extending previous models, we here introduce Open Dynamic Pupil Size Modeling (Open-DPSM), an open-source toolkit to model pupil size changes to dynamically changing visual inputs using a convolution approach. Open-DPSM incorporates three key steps: (1) Modeling pupillary responses to both luminance and contrast changes; (2) Weighing of the distinct contributions of visual events across the visual field on pupil size change; and (3) Incorporating gaze-contingent visual event extraction and modeling. These steps improve the prediction of pupil size changes beyond the here-evaluated benchmarks. Open-DPSM provides Python functions, as well as a graphical user interface (GUI), enabling the extension of its applications to versatile scenarios and adaptations to individualized needs. By obtaining a predicted pupil trace using video and eye-tracking data, users can mitigate the effects of low-level features by subtracting the predicted trace or assess the efficacy of the low-level feature manipulations a priori by comparing estimated traces across conditions.
Related Concept Videos
PD Controller: Design
Designing a continuous-data controller requires selecting and linking components like adders and integrators, which are fundamental in Proportional,...
Modeling with Differential Equations

