I am attempting to remove line noise and its harmonics from many EEG datasets in EEGLAB. I have been using the CleanLine plugin to do this. However, it does not work well sometimes for some datasets. For example, here are the log power spectral density plots before and after cleanline.
Before cleanline:
.
After cleanline:
The code that I used is:
EEG = pop_cleanline(EEG, 'bandwidth',2,'chanlist',[1:68] ,'computepower',1,'linefreqs',[60:60:420] ,'newversion',0,'normSpectrum',0,'p',0.01,'pad',2,'plotfigures',0,'scanforlines',0,'sigtype','Channels','taperbandwidth',2,'tau',100,'verb',1,'winsize',4,'winstep',1);
I have also tried to use a notch filter with a lower edge of 55 and an upper edge of 65, but that does not work well.
Are there any suggestions on what other method of removing line noise and harmonics that I could try? Or is CleanLine the best method? Are there ways we can adjust the parameters of cleanline to allow it to work better?