# (no subject)

**URL:** <https://mne.discourse.group/t/no-subject/1712>\
**Category:** Mailing List Archive (read-only)\
**Tags:** list-archive\
**Created:** [January 14, 2019, 10:58am UTC](https://mne.discourse.group/t/no-subject/1712 "2019-01-14T10:58:29Z")\
**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:** [January 14, 2019, 10:58am UTC](https://mne.discourse.group/t/no-subject/1712/1 "2019-01-14T10:58:29Z")

</div>

External Email - Use Caution

\*Hi, everyone.I have 2-channel EEG data in ".edf" formate (got from  
physionet). I extracted one channel EEG data, and from that data, I  
separate 30sec epochs EEG data. How can I remove Ocular (EOG) and muscle  
(EMG) artifacts from that 30sec single channel EEG data?I attached plots of  
30sec single channel EEG data with artifacts. Please find the attachment it  
is not visible here\*  
[image: image.png]

Sampling Frequency of EEG signal is 100 Hz.  
For 30sec I have 30\*100=3000 samples.

It would be beneficial to my work if someone guides me on how to do this.

---

<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:** [January 14, 2019, 7:27pm UTC](https://mne.discourse.group/t/no-subject/1712/2 "2019-01-14T19:27:42Z")

</div>

External Email - Use Caution

if you are working with physionet's sleep data maybe you want to give a  
look to this PR: [https://github.com/mne-tools/mne-python/pull/5718](https://github.com/mne-tools/mne-python/pull/5718)

Once said that, what would you like to do? whats your goal? invalidate the  
entire epoch? or find windows of 30s without artifacts?

> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;External Email - Use Caution
> 
> \*Hi, everyone.I have 2-channel EEG data in ".edf" formate (got from  
> physionet). I extracted one channel EEG data, and from that data, I  
> separate 30sec epochs EEG data. How can I remove Ocular (EOG) and muscle  
> (EMG) artifacts from that 30sec single channel EEG data?I attached plots of  
> 30sec single channel EEG data with artifacts. Please find the attachment it  
> is not visible here\*  
> [image: image.png]
> 
> Sampling Frequency of EEG signal is 100 Hz.  
> For 30sec I have 30\*100=3000 samples.
> 
> It would be beneficial to my work if someone guides me on how to do this.  
> --  
> \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
> thanks
> 
> \*VENKATA PHANIKRISHNA B\*  
> 9908261261  
> \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> Mne\_analysis mailing list  
> Mne\_analysis at nmr.mgh.harvard.edu  
> [Mne\_analysis Info Page](https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis)

-------------- next part --------------  
An HTML attachment was scrubbed...  
URL: [http://mail.nmr.mgh.harvard.edu/pipermail/mne\_analysis/attachments/20190114/d24d5cbf/attachment-0001.html](http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20190114/d24d5cbf/attachment-0001.html)  
-------------- next part --------------  
A non-text attachment was scrubbed...  
Name: image.png  
Type: image/png  
Size: 41942 bytes  
Desc: not available  
Url : [http://mail.nmr.mgh.harvard.edu/pipermail/mne\_analysis/attachments/20190114/d24d5cbf/attachment-0001.png](http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20190114/d24d5cbf/attachment-0001.png)
