Applies baseline correction to epoch data using either subtractive or divisive methods.
compute_baseline(
x,
epochs,
baseline_epochs,
mode,
epoch_events = NULL,
baseline_events = NULL
)
A list containing baseline correction results and metadata
An eyeris
object containing the latest pupil column pointer
A list of epoch dataframes
A list of baseline epoch dataframes
The baseline correction mode ("sub" for subtractive, "div" for divisive)
Event messages for epochs (optional)
Event messages for baselines (optional)