mne.concatenate_raws(raws, preload=None, events_list=None, verbose=None)[source]

Concatenate raw instances as if they were continuous.


raws[0] is modified in-place to achieve the concatenation. Boundaries of the raw files are annotated bad. If you wish to use the data as continuous recording, you can remove the boundary annotations after concatenation (see mne.Annotations.delete()).


list of Raw instances to concatenate (in order).

preloadbool, or None

If None, preload status is inferred using the preload status of the raw files passed in. True or False sets the resulting raw file to have or not have data preloaded.

events_listNone | list

The events to concatenate. Defaults to None.

verbosebool, str, int, or None

If not None, override default verbose level (see mne.verbose() and Logging documentation for more).

rawinstance of Raw

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

eventsndarray of int, shape (n_events, 3)

The events. Only returned if event_list is not None.