Locate EOG artifacts.
Note
To control true-positive and true-negative detection rates, you
may adjust the thresh
parameter.
Raw
The raw data.
int
The index to assign to found events.
float
Low cut-off frequency to apply to the EOG channel in Hz.
float
High cut-off frequency to apply to the EOG channel in Hz.
str
| int
| None
Number of taps to use for filtering.
str
| list
of str
| None
The name of the channel(s) to use for EOG peak detection. If a string,
can be an arbitrary channel. This doesn’t have to be a channel of
eog
type; it could, for example, also be an ordinary EEG channel
that was placed close to the eyes, like Fp1
or Fp2
.
Multiple channel names can be passed as a list of strings.
If None
(default), use the channel(s) in raw
with type eog
.
float
Start detection after tstart seconds.
Whether to omit data that is annotated as bad.
float
| None
Threshold to trigger the detection of an EOG event. This controls the
thresholding of the underlying peak-finding algorithm. Larger values
mean that fewer peaks (i.e., fewer EOG events) will be detected.
If None
, use the default of (max(eog) - min(eog)) / 4
,
with eog
being the filtered EOG signal.
str
| int
| None
Control verbosity of the logging output. If None
, use the default
verbosity level. See the logging documentation and
mne.verbose()
for details. Should only be passed as a keyword
argument.
array
Events.
See also
mne.preprocessing.find_eog_events
#Overview of artifact detection
Rejecting bad data spans and breaks