<div dir="ltr">Dear Hui-bin,<div><br></div><div>I agree with Ramon. Your first choice should be CleanLine.</div><div>However, from my experience I know if 50/60Hz artifact is too large, CleanLine does not work well. In this case you may want to use filter. You can use a notch filter as you described, but I would rather apply a simple low-pass filter to simplify data. </div><div><br></div><div>Another tip: you can design a filter from "sinc...." menu to make the filter cut-off slope steep so that when you cut off 50Hz you can set 49Hz as a -6dB cut-off point with transition bandwidth of 2Hz (which makes freq response flat up to 48Hz, if I understand it correctly) for example. See below for details.</div><div><a href="http://sccn.ucsd.edu/wiki/Firfilt_FAQ">http://sccn.ucsd.edu/wiki/Firfilt_FAQ</a><br></div><div><br></div><div>Makoto</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 24, 2014 at 1:30 PM, Ramón Martinez <span dir="ltr"><<a href="mailto:nucleuscub@gmail.com" target="_blank">nucleuscub@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Hui-bin Jia, <div> Notch filtering is not the best way to go with this. I think it would be better to use the Cleanline plugin in this case. This plugin by Tim Mullen was specially designed for this purpose. You can check it out here:</div><div> <a href="http://www.nitrc.org/projects/cleanline" target="_blank">http://www.nitrc.org/projects/cleanline</a></div><div> Best,</div><div> Ramon</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Mon, Nov 24, 2014 at 7:49 AM, Hui-bin Jia <span dir="ltr"><<a href="mailto:420247417@qq.com" target="_blank">420247417@qq.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div>Hi, all</div>
<div>     My EEG data were contaminated by the 50 Hz electrical noise. Could the  pop_eegfilternew() in EEGLAB be used to <span style="LINE-HEIGHT:1.5">eliminate</span><span style="LINE-HEIGHT:1.5"> </span><span style="LINE-HEIGHT:1.5">this noise<span style="LINE-HEIGHT:0px">‍</span></span><span style="LINE-HEIGHT:1.5">?</span></div>
<div>    For ' Lower edge of the frequency pass band (Hz)', '45' was entered;  <span style="LINE-HEIGHT:1.5">For ' Higher edge of the frequency pass band (Hz)', '55' was entered; And use ' Notch filter the data instead of pass band' . <span style="LINE-HEIGHT:0px">‍</span></span></div>
<div><span style="LINE-HEIGHT:1.5">   </span>Am I right doing in this way?<span style="LINE-HEIGHT:0px">‍</span></div>
<div>   Thank you !</div><span><font color="#888888">
<div><br></div>
<div>Hui-bin Jia</div>
<div><br></div>
<div>    </div></font></span><br></div></div>_______________________________________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" target="_blank">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu" target="_blank">eeglablist-request@sccn.ucsd.edu</a><span class="HOEnZb"><font color="#888888"><br></font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div><span style="color:rgb(136,136,136)">_____________________________________________________</span><br></div><div><span style="color:rgb(136,136,136)">Ramon Martinez-Cancino</span></div><span style="color:rgb(136,136,136)">Swartz Center for Computational Neuroscience</span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Institute for Neural Computation, University of California San Diego</span><br></div></div>
</font></span></div>
<br>_______________________________________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd.edu</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Makoto Miyakoshi<br>Swartz Center for Computational Neuroscience<br>Institute for Neural Computation, University of California San Diego<br></div></div>
</div>