process_epoch_and_baselines: Epoch and baseline processor

View source: R/pipeline-epoch.R

process_epoch_and_baselinesR 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 eyeris derived from load_asc()

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


eyeris documentation built on July 3, 2025, 9:08 a.m.