This documentation is for development version 0.18.dev0.


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()).

raws : list

list of Raw instances to concatenate (in order).

preload : bool, 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_list : None | list

The events to concatenate. Defaults to None.

verbose : bool, str, int, or None

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

raw : instance of Raw

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

events : ndarray of int, shape (n_events, 3)

The events. Only returned if event_list is not None.