[Eeglablist] Issue with CleanLine

Clement Lee cll008 at eng.ucsd.edu
Mon Sep 23 13:45:41 PDT 2019

Hi Alex,

If you have intermittent line noise throughout the recording, the best
thing would be to use a notch filter at 60 (or 50) Hz. Bandpass filtering
may not work, depending on the lower and upper edge you specify. Makoto
updated his preprocessing pipeline with a section detailing the case when
CleanLine fails to remove line noise:

Hope that helps,
Clement Lee
Applications Programmer
Swartz Center for Computational Neuroscience
Institute for Neural Computation, UC San Diego

On Mon, Sep 23, 2019 at 11:46 AM Aleksandra Landowska <landoska at gmail.com>

> Dear Colleagues,
> I am new to the EEGLAB, so I have a simple question. I am
> following Makoto's preprocessing pipeline, however I have some issues with
> using CleanLine. In some cases, it does not remove the line noise. As
> suggested, I tried to use CleanLine with different parameters after
> performing interpolation and average referencing, and while it fixes the
> problem in only some of my datasets, it does not appear to work for all the
> subjects. The bandpass filtering does not remove the noise either. The only
> thing that appears to work is IIR filter at 45 Hz. What could be the cause
> of this? Should the IIR filter be used before or after average referencing?
> Kind Regards
> Alex
> _______________________________________________
> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
> To unsubscribe, send an empty email to
> eeglablist-unsubscribe at sccn.ucsd.edu
> For digest mode, send an email with the subject "set digest mime" to
> eeglablist-request at sccn.ucsd.edu

More information about the eeglablist mailing list