<div> </div>
<div>Dear all,</div>
<div> </div>
<div>I am trying to get rid of the power line noise. I use the dftfilter as indicated on the website.</div>
<div> </div>
<div>This works very well for most of the subjects. However, for some of them, I still get the noise.</div>
<div> </div>
<div>My trials have a different lenght: between 500 ms until 3 seconds. </div>
<div> </div>
<div>This is the script I used. </div>
<div> </div>
<div> </div>
<div> filterfreqs = [49:1:51 99:1:101 149:1:151];</div>
<div>    </div>
<div>    cfg.dftfilter      =  'yes'; <br>    cfg.dftfreq      = filterfreqs;  <br>    cfg.padding    = 10;<br>    <br>    dataprepro_syn = ft_preprocessing(cfg);</div>
<div> </div>
<div> </div>
<div>The pad of 10 is the same as another already published study that used the same task.</div>
<div> </div>
<div> </div>
<div>Attached is a picture of the problem (blu is baseline, red is stimulus). This is the result of multitepering (dpss).</div>
<div> </div>
<div> </div>
<div>Thanks for your help,</div>
<div> </div>
<div>Davide</div>
<div> </div>
<div> </div>
<div><br clear="all"> </div>