Concatenate event lists to be compatible with concatenate_raws.
This is useful, for example, if you processed and/or changed
events in raw files separately before combining them using
mne.concatenate_raws().
- Parameters:
- events
list of array List of events arrays, typically each extracted from a
corresponding raw file that is being concatenated.
- first_samps
list or array of int First sample numbers of the raw files concatenated.
- last_samps
list or array of int Last sample numbers of the raw files concatenated.
- Returns:
- events
array The concatenated events.