@verbose
def find_eog_events(raw, event_id=998, l_freq=1, h_freq=10, filter_length='10s', ch_name=None, tstart=0, verbose=None):
 eog_inds = _get_eog_channel_index(ch_name, raw)
 logger.info(('EOG channel index for this subject is: %s' % eog_inds))
 (eog, _) = raw[eog_inds, :]
 eog_events = _find_eog_events(eog, event_id=event_id, l_freq=l_freq, h_freq=h_freq, sampling_rate=raw.info['sfreq'], first_samp=raw.first_samp, filter_length=filter_length, tstart=tstart)
 return eog_events

@ verbose def find_eog_events ( raw , event_id = 998 , l_freq = 1 , h_freq = 10 , filter_length = '10s' , ch_name = None , tstart = 0 , verbose = None ) : eog_inds = _get_eog_channel_index ( ch_name , raw ) logger . info ( ( 'EOG channel index for this subject is: %s' % eog_inds ) ) ( eog , _ ) = raw [ eog_inds , : ] eog_events = _find_eog_events ( eog , event_id = event_id , l_freq = l_freq , h_freq = h_freq , sampling_rate = raw . info [ 'sfreq' ] , first_samp = raw . first_samp , filter_length = filter_length , tstart = tstart ) return eog_events
locate eog artifacts .