# mne.concatenate_events¶

mne.concatenate_events(events, first_samps, last_samps)

Concatenate event lists in a manner compatible with concatenate_raws

This is useful, for example, if you processed and/or changed events in raw files separately before combining them using concatenate_raws.

Parameters: events : list of arrays List of event 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. events : array The concatenated events.