eyeris: Flexible, Extensible, & Reproducible Pupillometry Preprocessing

Pupillometry offers a non-invasive window into the mind and has been used extensively as a psychophysiological readout of arousal signals linked with cognitive processes like attention, stress, and emotional states [Clewett et al. (2020) <doi:10.1038/s41467-020-17851-9>; Kret & Sjak-Shie (2018) <doi:10.3758/s13428-018-1075-y>; Strauch (2024) <doi:10.1016/j.tins.2024.06.002>]. Yet, despite decades of pupillometry research, many established packages and workflows to date unfortunately lack design patterns based on Findability, Accessibility, Interoperability, and Reusability (FAIR) principles [see Wilkinson et al. (2016) <doi:10.1038/sdata.2016.18>]. 'eyeris', on the other hand, follows a design philosophy that provides users with an intuitive, modular, performant, and extensible pupillometry data preprocessing framework out-of-the-box. 'eyeris' introduces a Brain Imaging Data Structure (BIDS)-like organization for derivative (i.e., preprocessed) pupillometry data as well as an intuitive workflow for inspecting preprocessed pupil epochs using interactive output report files [Esteban et al. (2019) <doi:10.1038/s41592-018-0235-4>; Gorgolewski et al. (2016) <doi:10.1038/sdata.2016.44>].

Package details

AuthorShawn Schwartz [aut, cre, cph] (ORCID: <https://orcid.org/0000-0001-6444-8451>), Stanford Wu Tsai Human Performance Alliance [fnd], Stanford Ric Weiland Graduate Fellowship [fnd], Stanford Center for Mind, Brain, Computation and Technology [fnd], NIH National Institute on Aging R01-AG065255 [fnd], NIH National Institute on Aging R01-AG079345 [fnd], National Science Foundation Graduate Research Fellowship DGE-2146755 [fnd], McKnight Brain Research Foundation Clinical Translational Research Scholarship in Cognitive Aging and Age-Related Memory Loss [fnd], American Brain Foundation [fnd], American Academy of Neurology [fnd], Mingjian He [ctb] (ORCID: <https://orcid.org/0000-0002-6688-8693>), Haopei Yang [ctb] (ORCID: <https://orcid.org/0000-0002-1207-3245>), Alice Xue [ctb] (ORCID: <https://orcid.org/0009-0006-3176-8786>), Gustavo Santiago-Reyes [ctb] (ORCID: <https://orcid.org/0009-0005-3764-3215>)
MaintainerShawn Schwartz <stschwartz@stanford.edu>
LicenseMIT + file LICENSE
Version1.2.1
URL https://shawnschwartz.com/eyeris/ https://github.com/shawntz/eyeris/
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("eyeris")

Try the eyeris package in your browser

Any scripts or data that you put into this service are public.

eyeris documentation built on June 13, 2025, 5:09 p.m.