process_epoch_and_baselines {eyeris} | R Documentation |
Epoch and baseline processor
Description
This function processes a single block of pupil data to extract epochs and optionally compute and apply baseline corrections. It handles the core epoching and baselining logic for a single block of data.
Usage
process_epoch_and_baselines(eyeris, timestamps, evs, lims, hz, verbose)
Arguments
eyeris |
An object of class |
timestamps |
A list containing start and end timestamps |
evs |
Events specification for epoching (character vector or list) |
lims |
Time limits for epochs (numeric vector) |
hz |
Sampling rate in Hz |
verbose |
A flag to indicate whether to print detailed logging messages |
Details
This function is called by the internal epoch_and_baseline_block()
function.
Value
A list containing epoch and baseline results
[Package eyeris version 2.1.0 Index]