Open-DPSM: An open-source toolkit for modeling pupil size changes to dynamic visual inputs

Yuqing Cai*, Christoph Strauch, Stefan Van der Stigchel, Marnix Naber

*Corresponding author for this work

Research output: Contribution to journalArticleAcademicpeer-review

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.

Original languageEnglish
Pages (from-to)5605-5621
Number of pages17
JournalBehavior Research Methods
Volume56
Issue number6
Early online date11 Dec 2023
DOIs
Publication statusPublished - Sept 2024

Keywords

  • Modeling pupil size
  • Open-DPSM
  • Pupillary light response
  • Pupillometry

Fingerprint

Dive into the research topics of 'Open-DPSM: An open-source toolkit for modeling pupil size changes to dynamic visual inputs'. Together they form a unique fingerprint.

Cite this