<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Dear Fieldtrippers,<div class=""><br class=""></div><div class="">I recently acquired EEG data in Rwanda in complicated testing conditions, especially for the power line : we were testing in rural villages with a single electrical system for the whole village. Our signal is thus parasited by what the villagers were plugging on the electrical system (so probably nonstationary noise) during the testing. The electrical system was also very rudimentary and not correctly grounded.</div><div class=""><br class=""></div><div class="">Usually, I use the following command in Fieldtrip to remove the 50H or 60 Hz power line and it works quite well. Here, it worked for roughly 70% of our acquired data, but it does not work for all the data acquired.</div><div class=""><br class=""></div><div class="">    cfg= [];<br class="">    cfg.dftfilter = 'yes';<br class="">    cfg.dftfreq = [50 60 100 120 150 180];<br class="">    cfg.dftreplace = 'neighbour'; <br class="">    cfg.dftbandwidth = [2 2 2 2 2 2];<br class="">    cfg.dftneighbourwidth = [2 2 2 2 2 2];<br class="">    data_intpl = ft_preprocessing(cfg, allData_preprosses);</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">When I look at the graphs (see figure attached), it really looks like it’s a 60Hz noise, but it seems that the dftfilter function does not remove it. We are certain it’s power noise because when the electricity was cut off because of a storm or else, and we were thus only relying on the batteries to collect our data, the signal was perfect. So in theory we should be able to remove it but we have no cue of what other possibilities to try. Perhaps it’s because the noise is non stationary and dftfilter does not account for that? I know some residual power noise can stay after a dftfiltre, but here it does not remove anything.</div><div class=""><br class=""></div><div class="">Thanks a lot for the help, </div><div class=""><br class=""></div><div class="">Emilie</div><div class=""><br class=""></div><div class=""><img apple-inline="yes" id="EE27355D-059E-412E-BC46-D363EC66D9C0" src="cid:916337F1-7C83-44AF-AFCB-9C461627C2C2@home" class=""></div><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="text-align: start; text-indent: 0px;"><p class="MsoNormal" style="margin-bottom: 6pt;"><span style="font-size: 10pt; font-family: Helvetica; color: black;" class="">---------------------------------------------<br class=""></span><b class=""><span style="font-size: 10pt; font-family: Helvetica; color: rgb(39, 136, 214);" class="">Prof. Dr. Emilie Caspar</span></b><span style="font-size: 9pt; font-family: Helvetica; color: black;" class=""><o:p class=""></o:p></span></p><p class="MsoNormal"><b class=""><span style="font-size: 9pt; font-family: Helvetica; color: black;" class="">Associate Professor<span class="Apple-converted-space"> </span><o:p class=""></o:p></span></b></p><p class="MsoNormal"><span lang="EN-US" style="font-size: 9pt; font-family: Helvetica; color: black;" class="">Department of Experimental Psychology, Ghent University<br class="">office: Henri Dunantlaan, 2 - Floor 2, Room 94<o:p class=""></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size: 9pt; font-family: Helvetica; color: black;" class="">lab’s website: </span><span style="font-size: 9pt; font-family: Helvetica; color: black;" class=""><a href="https://moralsocialbrain.com/" class=""><span lang="EN-US" style="color: blue;" class="">https://moralsocialbrain.com/</span></a></span><span lang="EN-US" style="font-size: 9pt; font-family: Helvetica; color: black;" class=""> <br class="">personal website: </span><span style="font-size: 9pt; font-family: Helvetica; color: black;" class=""><a href="https://emiliecaspar.home.blog/" class=""><span lang="EN-US" style="color: blue;" class="">https://emiliecaspar.home.blog/</span></a></span><span lang="EN-US" style="font-size: 9pt; font-family: Helvetica; color: black;" class=""><o:p class=""></o:p></span></p><p class="MsoNormal" style="font-size: 12px;"></p><p class="MsoNormal"><span style="font-size: 9pt; font-family: Helvetica; color: black;" class="">Université libre de Bruxelles (office & contact): DB10.138 / +32 2 650 32 95<o:p class=""></o:p></span></p></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>

<br class=""></body></html>