mne.concatenate_events¶

mne.concatenate_events(events, first_samps, last_samps)[source]

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 event arrays, typically each extracted from a corresponding raw file that is being concatenated.

first_samps

First sample numbers of the raw files concatenated.

last_samps

Last sample numbers of the raw files concatenated.

Returns
eventsarray

The concatenated events.