[Eeglablist] Using both cleanline and notch filter in study

Eric HG erichg2013 at gmail.com
Fri Mar 3 13:36:12 PST 2017

Hi Tarik,

Thanks a lot for your reply. I've been playing a lot with the settings for
cleanline but it just doesn't work out (I end up with residual noise
between 55 and 65) and ended up using this kind of filter instead:

dev = 0.001; df = 2;

beta = pop_kaiserbeta(dev);
m = pop_firwsord('kaiser', EEG.srate, df, dev);

[EEG, com, b] = pop_firws(EEG, 'fcutoff', [1 70], 'ftype', 'bandpass',
'wtype', 'kaiser', 'warg', beta, 'forder', m);

[EEG, com, b] = pop_firws(EEG, 'fcutoff', [55 65], 'ftype', 'bandstop',
'wtype', 'kaiser', 'warg', beta, 'forder', m);



On Fri, Mar 3, 2017 at 9:31 PM, Tarik S Bel-Bahar <tarikbelbahar at gmail.com>

> Hello Eric,
> It's probably better if you use one or the other for all files.
> I had a similar experience with cleanline, where things did not work
> perfectly, or not for some files.
> However I was not able to get to final working solution. Please consider
> sharing your current and future cleanline settings.
> See past notes in eeglablist on cleanline, though I don't think there have
> been clear solutions noted.
> Some people swear by cleanline because it does often give great results,
> so I recommend you play with it's settings a bit more too, and consider
> contacting Tim Mullen the developer with more nuanced questions.
> Check out also if you haven't, the PREP preprocessing, and the ASR method
> within it, which also comes as an eeglab plugin.
> On Thu, Mar 2, 2017 at 5:53 PM, Eric HG <erichg2013 at gmail.com> wrote:
>> Hi everyone,
>> Does anyone know if there are any problems using both cleanline and notch
>> filter in a study? For example, using cleanline for all where it works and
>> using notch filter for those subjects where it failed to work due to too
>> much noise and a wider range (like 55-65 Hz).
>> Thanks a lot in advance.
>> Best,
>> Eric
>> _______________________________________________
>> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
>> To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn.uc
>> sd.edu
>> For digest mode, send an email with the subject "set digest mime" to
>> eeglablist-request at sccn.ucsd.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20170303/6489a25b/attachment.html>

More information about the eeglablist mailing list