# Requesting help for removing artifacts from	Single-Channel EEG Signals

**URL:** <https://mne.discourse.group/t/requesting-help-for-removing-artifacts-from-single-channel-eeg-signals/1681>\
**Category:** Mailing List Archive (read-only)\
**Tags:** list-archive\
**Created:** [December 10, 2018, 1:37pm UTC](https://mne.discourse.group/t/requesting-help-for-removing-artifacts-from-single-channel-eeg-signals/1681 "2018-12-10T13:37:14Z")\
**Posts on this page:** 3\
**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:** [December 10, 2018, 1:37pm UTC](https://mne.discourse.group/t/requesting-help-for-removing-artifacts-from-single-channel-eeg-signals/1681/1 "2018-12-10T13:37:14Z")

</div>

External Email - Use Caution

Hi, everyone.  
I try to do remove artifacts from free available EEG data (from PHYSIONET).  
For entire dataset, it working well by using the following code.  
from mne.preprocessing import ICA, create\_ecg\_epochs  
raw=mne.io.read\_raw\_edf(r'C:\Users\shash\OneDrive\Desktop\desktop\SC4001E0-PSG.edf',  
preload=True)  
raw\_tmp = raw.copy()  
ica = mne.preprocessing.ICA(method="extended-infomax", random\_state=1)  
ica.fit(raw\_tmp)

This procedure working only for ".edf" format file  
Same thing I try to do it for single channel data that were taken into  
another variable (let say in another format file like excel or text) I am  
getting a divide by zero error.

Can anyone remove artifacts from Single-Channel EEG Signals?  
Please provide help for removing artifacts for attached EEG data file.  
Properties of ATTACHED file:  
Data: EEG amplitude  
number of channels: 1 i.e.,'EEGFpzCz'  
sampling frequency: 100HZ.  
Epochs =30seconds  
Total samples or amplitudes=30\*100=300

&nbsp;&nbsp;I am looking forward to a positive response from you.  
THANK YOU SO MUCH FOR YOUR TIME AND CONSIDERATION

---

<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:** [December 10, 2018, 2:16pm UTC](https://mne.discourse.group/t/requesting-help-for-removing-artifacts-from-single-channel-eeg-signals/1681/2 "2018-12-10T14:16:35Z")

</div>

External Email - Use Caution

hi,

ICA on 1 channel does not make sense. ICA applies an unmixing matrix  
to data so if you have 1 channel you're doing a dot product with a float.

There exist underdetermined ICA versions but it's not implemented  
in MNE and not common on EEG/MEG data.

What artifacts do you want to remove?

HTH  
Alex

---

<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:** [December 11, 2018, 4:52am UTC](https://mne.discourse.group/t/requesting-help-for-removing-artifacts-from-single-channel-eeg-signals/1681/3 "2018-12-11T04:52:50Z")

</div>

External Email - Use Caution

Hi, thank you for the prompt response.  
I want to remove internal artifacts related to head movement, eye movement,  
and muscle movement.  
How to check whether the EEG data has artifacts or not?  
As per my knowledge by plotting the EEG data, at some time amplitude is  
more (variation) then considers it as an artifact.  
Apart from this, is there any way to find the artifacts from the EEG signal?  
How to remove artifacts from single-channel EEG?.

I am looking forward to a positive response from you.  
THANK YOU SO MUCH FOR YOUR TIME AND CONSIDERATION
