View source: R/pipeline-epoch.R
epoch_pupil | R Documentation |
This function handles the core epoching and baselining operations for pupil data. It processes time series data to extract epochs based on specified events and optionally computes and applies baseline corrections.
epoch_pupil(
x,
prev_op,
evs,
lims,
label,
c_bline,
a_bline,
bline_type = c("sub", "div"),
bline_evs,
bline_per,
hz,
verbose
)
x |
An object of class |
prev_op |
The name of the previous operation's output column |
evs |
Events specification for epoching (character vector or list) |
lims |
Time limits for epochs (numeric vector) |
label |
Label for the epoch output |
c_bline |
Logical indicating whether to calculate baseline |
a_bline |
Logical indicating whether to apply baseline correction |
bline_type |
Type of baseline correction ("sub" or "div") |
bline_evs |
Events specification for baseline calculation |
bline_per |
Baseline period specification |
hz |
Sampling rate in Hz |
verbose |
A flag to indicate whether to print detailed logging messages |
This function is called by the exposed wrapper epoch()
.
A list containing epoch and baseline results
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.