This documentation is for development version 0.18.dev0.

mne.compute_proj_epochs

mne.compute_proj_epochs(epochs, n_grad=2, n_mag=2, n_eeg=2, n_jobs=1, desc_prefix=None, verbose=None)[source]

Compute SSP (spatial space projection) vectors on Epochs.

Parameters:
epochs : instance of Epochs

The epochs containing the artifact

n_grad : int

Number of vectors for gradiometers

n_mag : int

Number of vectors for magnetometers

n_eeg : int

Number of vectors for EEG channels

n_jobs : int

Number of jobs to use to compute covariance

desc_prefix : str | None

The description prefix to use. If None, one will be created based on the event_id, tmin, and tmax.

verbose : bool, str, int, or None

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

Returns:
projs: list

List of projection vectors

Examples using mne.compute_proj_epochs