mne.read_epochs(fname, proj=True, add_eeg_ref=None, preload=True, verbose=None)

Read epochs from a fif file


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.

add_eeg_ref : bool

If True, an EEG average reference will be added (unless one already exists). This parameter is deprecated and will be removed in 0.14, use mne.set_eeg_reference() instead.

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). Defaults to raw.verbose.


epochs : instance of Epochs

The epochs