mne.concatenate_epochs(epochs_list, add_offset=True, *, on_mismatch='raise', verbose=None)[source]

Concatenate a list of epochs into one epochs object.


List of Epochs instances to concatenate (in order).


If True, a fixed offset is added to the event times from different Epochs sets, such that they are easy to distinguish after the concatenation. If False, the event times are unaltered during the concatenation.

on_mismatch‘raise’ | ‘warn’ | ‘ignore’

Can be 'raise' (default) to raise an error, 'warn' to emit a warning, or 'ignore' to ignore when the device-to-head transformation differs between instances.

New in version 0.24.

verbosebool | str | int | None

If not None, override default verbose level (see mne.verbose() and Logging documentation for more). If used, it should be passed as a keyword-argument only.

New in version 0.24.

epochsinstance of Epochs

The result of the concatenation (first Epochs instance passed in).


New in version 0.9.0.

Examples using mne.concatenate_epochs