Skip to contents

🧠 Core Pipeline

Start here with the full pipeline wrapper to quickly and easily call and customize the opinionated glassbox pipeline in eyeris.

glassbox()
The opinionated "glass box" eyeris pipeline

⏱️ Epoching Pupil Data

Conveniently extract tidy trial-based epochs with optional baseline correction.

epoch()
Epoch (and baseline) pupil data based on custom event message structure

📤 Export & Visualize

Save out BIDS-style derivatives, generate diagnostic HTML reports, and interactively plot and explore your pupil data.

bidsify()
Save out pupil timeseries data in a BIDS-like structure
plot(<eyeris>)
Plot pre-processed pupil data from eyeris

🔧 Preprocessing Steps

Modular functions used by the glassbox pipeline for cleaning and transforming pupil data.

load_asc()
Load and parse SR Research EyeLink .asc files
deblink()
NA-pad blink events / missing data
detransient()
Remove pupil samples that are physiologically unlikely
interpolate()
Interpolate missing pupil samples
lpfilt()
Lowpass filtering of time series data
detrend()
Detrend the pupil time series
zscore()
Z-score pupil timeseries data

🧩 Build Your Own Extensions

Advanced tools for creating custom steps that plug into the glassbox pipeline.

pipeline_handler()
Build a generic operation (extension) for the eyeris pipeline

📈 Demo Datasets

Example eye-tracking / pupil datasets for testing and demonstrating pipeline functionality.

eyelink_asc_demo_dataset()
Access example EyeLink .asc demo dataset file provided by the eyeris package.