Shift a set of events.
array
of int
, shape (n_events, 3)The array of events. The first column contains the event time in samples, with first_samp included. The third column contains the event id.
ndarray
of int
| None
The ids of events to shift.
float
Time-shift event. Use positive value tshift for forward shifting the event and negative value for backward shift.
float
The sampling frequency of the data.