> testing |> eyeris::epoch(
+ events = "PROBE_START_{trial}",
+ limits = c(0, 1), # grab 0 seconds prior to and 1 second post PROBE event
+ label = "prePostProbe", # custom epoch label name
+ calc_baseline = TRUE,
+ apply_baseline = TRUE,
+ baseline_type = "sub", # "sub"tractive baseline calculation is default
+ baseline_events = c("DELAY_START_*",
+ "DELAY_STOP_*")
+ )
traceback:
Error in check_start_end_timestamps(start, end) :
There are more epoch start times than end times. Each start time must have a corresponding end time. check_start_end_timestamps(start = start, end = end)
6.
stop(structure(list(message = err_m, call = match.call()), class = err_c)) at checks.R#192
5.
check_start_end_timestamps(start, end) at baseline.R#35
4.
extract_baseline_epochs(x, bline_evs, bline_per, bline_matches,
hz) at epoch.R#236
3.
operation(eyeris, prev_operation, ...) at handlers.R#25
2.
pipeline_handler(eyeris, epoch_pupil, "epoch", events, limits,
label, calc_baseline, apply_baseline, baseline_type, baseline_events,
baseline_period, hz) at epoch.R#171
1.
eyeris::epoch(testing, events = "PROBE_START_{trial}", limits = c(0,
1), label = "prePostProbe", calc_baseline = TRUE, apply_baseline = TRUE,
baseline_type = "sub", baseline_events = c("DELAY_START_*",
"DELAY_STOP_*"))
call:
traceback: