# Automatic Component Artefact Removal with EEG

**URL:** <https://mne.discourse.group/t/automatic-component-artefact-removal-with-eeg/1096>\
**Category:** Mailing List Archive (read-only)\
**Tags:** list-archive\
**Created:** [October 12, 2016, 1:15pm UTC](https://mne.discourse.group/t/automatic-component-artefact-removal-with-eeg/1096 "2016-10-12T13:15:39Z")\
**Posts on this page:** 5\
**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:** [October 12, 2016, 1:15pm UTC](https://mne.discourse.group/t/automatic-component-artefact-removal-with-eeg/1096/1 "2016-10-12T13:15:39Z")

</div>

Hello,

We have been using EEGLAB to run preprocessing over our EEG data before analysing it with Python, and recently we began looking into MNE as an alternative for the preprocessing step. We were using ICA to detect and automatically remove EOG components using EEGLAB's Binica, along with FASTER and ADJUST. From a quick read through the MNE docs it looks like we could get similar behaviour if we ran the ICA in MNE, then used the find\_bads\_eog or detect\_artifacts function to identify noisy components. Is this the correct approach? Note that we do not have any dedicated EOG channels in our data, would either approach work fine just using a forehead electrode location (like Fpz)?

Thanks,  
Ben

-------------- next part --------------  
An HTML attachment was scrubbed...  
URL: [http://mail.nmr.mgh.harvard.edu/pipermail/mne\_analysis/attachments/20161012/bb428bda/attachment.html](http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20161012/bb428bda/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:** [October 12, 2016, 1:20pm UTC](https://mne.discourse.group/t/automatic-component-artefact-removal-with-eeg/1096/2 "2016-10-12T13:20:28Z")

</div>

Hi,

This is correct. You can also use the corrmap approach to match EOG  
components. We have some local Python implementations of ADJUST and FASTER  
that we would not mind sharing if there is interest in this and would  
facilitate adopting MNE-Python.

Cheers,  
Denis

---

<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:** [October 12, 2016, 3:02pm UTC](https://mne.discourse.group/t/automatic-component-artefact-removal-with-eeg/1096/3 "2016-10-12T15:02:45Z")

</div>

Hi Denis,

Thanks for the quick reply, so would you say any of those approaches would yield fairly similar results?

We could also certainly be interested in having a look at Python implementations of ADJUST and FASTER if that was convenient to share as we've already done some testing with them.

Ben

---

<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:** [October 12, 2016, 3:10pm UTC](https://mne.discourse.group/t/automatic-component-artefact-removal-with-eeg/1096/4 "2016-10-12T15:10:42Z")

</div>

Hi Ben,

For Python implementation of FASTER, take a look here:  
[https://github.com/mne-tools/mne-sandbox/pull/12](https://github.com/mne-tools/mne-sandbox/pull/12)

Mainak

---

<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:** [October 12, 2016, 3:13pm UTC](https://mne.discourse.group/t/automatic-component-artefact-removal-with-eeg/1096/5 "2016-10-12T15:13:20Z")

</div>

Hi Ben,

we can open a PR for ADJUST too. You could then try. I personally have not  
compared ADJUST or FASTER to the more MEG-driven temporal ways of dealing  
with that we show in our examples. Maybe Jona can say something.

Cheers,  
Denis
