This documentation is for development version 0.18.dev0.

mne.read_epochs

mne.read_epochs(fname, proj=True, preload=True, verbose=None)[source]

Read epochs from a fif file.

Parameters:
fname : str

The name of the file, which should end with -epo.fif or -epo.fif.gz.

proj : bool | ‘delayed’

Apply SSP projection vectors. If proj is ‘delayed’ and reject is not None the single epochs will be projected before the rejection decision, but used in unprojected state if they are kept. This way deciding which projection vectors are good can be postponed to the evoked stage without resulting in lower epoch counts and without producing results different from early SSP application given comparable parameters. Note that in this case baselining, detrending and temporal decimation will be postponed. If proj is False no projections will be applied which is the recommended value if SSPs are not used for cleaning the data.

preload : bool

If True, read all epochs from disk immediately. If False, epochs will be read on demand.

verbose : bool, str, int, or None

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

Returns:
epochs : instance of Epochs

The epochs