mne.preprocessing.compute_proj_eog(raw, raw_event=None, tmin=-0.2, tmax=0.2, n_grad=2, n_mag=2, n_eeg=2, l_freq=1.0, h_freq=35.0, average=False, filter_length=‘10s’, n_jobs=1, reject={‘eog’: inf, ’grad’: 2e-10, ’mag’: 3e-12}, flat=None, bads=[], avg_ref=False, no_proj=False, event_id=998, eog_l_freq=1, eog_h_freq=10, tstart=0.0, filter_method=’fft’, iir_params=None, ch_name=None, copy=True, verbose=None)[source]¶Compute SSP/PCA projections for EOG artifacts.
Note
raw data must be preloaded.
| Parameters: | raw : mne.io.Raw 
 raw_event : mne.io.Raw or None 
 tmin : float 
 tmax : float 
 n_grad : int 
 n_mag : int 
 n_eeg : int 
 l_freq : float | None 
 h_freq : float | None 
 average : bool 
 filter_length : str | int | None 
 n_jobs : int 
 reject : dict | None 
 flat : dict | None 
 bads : list 
 avg_ref : bool 
 no_proj : bool 
 event_id : int 
 eog_l_freq : float 
 eog_h_freq : float 
 tstart : float 
 filter_method : str 
 iir_params : dict | None 
 ch_name: str | None 
 copy : bool 
 verbose : bool, str, int, or None 
  | 
|---|---|
| Returns: | proj: list 
 eog_events: ndarray 
  | 
mne.preprocessing.compute_proj_eog¶