eventlock#
- eventlock(data, frames_or_xvals, eventvals, medval=None)#
Shift epochs so their event frames or time values align.
A scalar second argument selects multi-channel mode, where
datahas shape(channels, frames * trials). Zero infers frames per trial fromeventvals. A vector selects single-channel mode, where data has shape(frames, trials);[start_ms, frames, srate_hz]is accepted as a compact time-axis specification. Positive returned shifts move data right.