cogpy.triggered.stats

Triggered statistics on event-locked epochs.

All functions expect an epochs array with shape (n_events, ..., n_lag) where the first axis indexes events and the last axis is the peri-event time (lag). Additional axes (channels, spatial, etc.) are preserved.

Functions

triggered_average(epochs, *[, event_dim])

Mean across events (event-triggered average / ETA).

triggered_median(epochs, *[, event_dim])

Median across events (robust alternative to mean).

triggered_snr(epochs, *[, event_dim])

Signal-to-noise ratio of the triggered average.

triggered_std(epochs, *[, event_dim, ddof])

Standard deviation across events.