Compute SSP (signal-space projection) vectors for EOG artifacts.
This function will:
Filter the EOG data channel.
Find the peaks of eyeblinks in the EOG data using
Filter the raw data.
Epochs around the eyeblinks.
Calculate SSP projection vectors on that data to capture the artifacts.
Raw data must be preloaded.
Raw input file.
Raw file to use for event detection (if None, raw is used).
Time before event in seconds.
Time after event in seconds.
Number of SSP vectors for gradiometers.
Number of SSP vectors for magnetometers.
Number of SSP vectors for EEG.
Filter low cut-off frequency for the data channels in Hz.
Filter high cut-off frequency for the data channels in Hz.
Compute SSP after averaging. Default is True.
Number of taps to use for filtering.
The number of jobs to run in parallel. If
-1, it is set
to the number of CPU cores. Requires the
None (default) is a marker for ‘unset’ that will be interpreted
n_jobs=1 (sequential execution) unless the call is performed under
joblib.parallel_backend() context manager that sets another
Epoch rejection configuration (see Epochs).
Epoch flat configuration (see Epochs).
List with (additional) bad channels.
Add EEG average reference proj.
Exclude the SSP projectors currently in the fiff file.
ID to use for events.
Low pass frequency applied to the E0G channel for event detection.
High pass frequency applied to the EOG channel for event detection.
Start artifact detection after tstart seconds.
Method for filtering (‘iir’ or ‘fir’).
Dictionary of parameters to use for IIR filtering. See mne.filter.construct_iir_filter for details. If iir_params is None and method=”iir”, 4th order Butterworth will be used.
If not None, specify EOG channel name.
If False, filtering raw data is done in place. Defaults to True.
If True, return the drop log.
New in version 0.15.
Can be ‘separate’ (default) or ‘combined’ to compute projectors
for magnetometers and gradiometers separately or jointly.
n_mag == n_grad is required and the number of
projectors computed for MEG will be
New in version 0.18.
Filtering is applied to the EOG channel while finding events using
eog_h_freq, and then to the
h_freq before creation of the epochs used to
create the projectors.