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
eyelogger()
Run eyeris commands with automatic logging of R console's stdout and stderr

⏱️ 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
summarize_confounds()
Extract confounding variables calculated separately for each pupil data file
plot(<eyeris>)
Plot pre-processed pupil data from eyeris
plot_gaze_heatmap()
Create gaze heatmap of eye coordinates
eyeris_color_palette()
Default color palette for eyeris plotting functions

🔧 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
downsample()
Downsample pupil time series with anti-aliasing filtering
bin()
Bin pupil time series by averaging within time bins
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.