# how to set eog channels

**URL:** <https://mne.discourse.group/t/how-to-set-eog-channels/701>\
**Category:** Mailing List Archive (read-only)\
**Tags:** list-archive\
**Created:** [April 2, 2014, 3:21pm UTC](https://mne.discourse.group/t/how-to-set-eog-channels/701 "2014-04-02T15:21:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [April 2, 2014, 3:21pm UTC](https://mne.discourse.group/t/how-to-set-eog-channels/701/1 "2014-04-02T15:21:39Z")

</div>

Hi everybody,  
sorry for all these newbie's questions, but I'm really interested in  
migrate all my EEGLab analysis to Mne-Python.

I'm trying to epoch my data, but the command

epochs = mne.Epochs(raw, events = events, event\_id = events\_ids,  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;tmin = tmin, tmax = tmax, baseline = baseline, picks = picks,  
preload = True, reject = dict(eeg = 80e-6, eog = 150e-6))

gives me the error:

ValueError: No EOG channel found. Cannot reject based on EOG.

and I cannot figure out how to label the EOG channels in my raw structure.

How do I do that?

Thanks for all,  
Mauricio.  
-------------- next part --------------  
An HTML attachment was scrubbed...  
URL: [http://mail.nmr.mgh.harvard.edu/pipermail/mne\_analysis/attachments/20140402/2c01fbc1/attachment.html](http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20140402/2c01fbc1/attachment.html)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [April 2, 2014, 8:12pm UTC](https://mne.discourse.group/t/how-to-set-eog-channels/701/2 "2014-04-02T20:12:37Z")

</div>

set :

reject = dict(eeg = 80e-6)

and it will not complain

Alex
