mne.read_epochs

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

Read epochs from a fif file.

Parameters
fnamestr

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

projbool | ‘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.

preloadbool

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

verbosebool, str, int, or None

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

Returns
epochsinstance of Epochs

The epochs