mne.event.shift_time_events#
- mne.event.shift_time_events(events, ids, tshift, sfreq)[source]#
Shift a set of events.
- Parameters:
- events
ndarrayofint, shape (n_events, 3) The identity and timing of experimental events, around which the epochs were created. See events for more information.
- ids
ndarrayofint|None The ids of events to shift.
- tshift
float Time-shift event. Use positive value tshift for forward shifting the event and negative value for backward shift.
- sfreq
float The sampling frequency of the data.
- events
- Returns: