<div dir="ltr">Dear JingShuiShenLiu,<div><br></div><div>> Is it ok to concatenate the epochs and filter them with highpass of 0.1 Hz,<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">No, it's not ok. If you want to apply a high-pass filter, go back to the continuous data and apply it. It's because your filter order tend to be long (especially if you want to apply 0.1Hz).</div><div class="gmail_extra"><br></div><div class="gmail_extra">Read this page to see why I recommend it.</div><div class="gmail_extra"><a href="http://sccn.ucsd.edu/wiki/Firfilt_FAQ" target="_blank">http://sccn.ucsd.edu/wiki/Firfilt_FAQ</a><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Makoto</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 11, 2015 at 7:13 PM, 静水深流 <span dir="ltr"><<a href="mailto:123975520@qq.com" target="_blank">123975520@qq.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div>Thanks, <span style="line-height:1.5">Makoto!</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;line-height:normal"> Is it ok to </span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;line-height:normal">concatenate the epochs and filter them with highpass of 0.1 Hz, which should allow any filter order to work with eegfilt, and to un-concatenate them afterwards?</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;line-height:normal"> </span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;line-height:normal"><span style="line-height:0px">‍</span></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;line-height:normal"><br></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;line-height:normal">Ya</span></div><div><div><br></div><div><br></div><div style="font-size:12px;font-family:'Arial Narrow';padding:2px 0px">------------------ 原始邮件 ------------------</div><div style="font-size:12px;padding:8px;background:rgb(239,239,239)"><div><b>发件人:</b> "Makoto Miyakoshi";<<a href="mailto:mmiyakoshi@ucsd.edu" target="_blank">mmiyakoshi@ucsd.edu</a>>;</div><div><b>发送时间:</b> 2015年2月12日(星期四) 上午6:30</div><div><b>收件人:</b> "静水深流"<<a href="mailto:123975520@qq.com" target="_blank">123975520@qq.com</a>>; <u></u></div><div><b>抄送:</b> "eeglablist"<<a href="mailto:eeglablist@sccn.ucsd.edu" target="_blank">eeglablist@sccn.ucsd.edu</a>>; <u></u></div><div><b>主题:</b> Re: [Eeglablist] what is the difference between eegfilt and eegfiltfft</div></div><div><div><div><br></div><div dir="ltr">Dear QuietWaterDeepFlow,<div><br></div><div>Do not apply high-pass filter on the epoched data. Always go back to the continuous data and apply it. Every filter has time constant (filter order) which is like a sliding window. If you have a boundary on your data, the filtering process terminates the process before it and resumes after it. You don't want to have it happen too many times, because near the boundary data are not properly filtered.</div><div><br></div><div>Makoto</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Feb 7, 2015 at 12:19 AM, 静水深流 <span dir="ltr"><<a href="mailto:123975520@qq.com" target="_blank">123975520@qq.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div>Hi,</div><div><br></div><div>I encountered a problem when filtering the epoched data (the frame per epoch is 2000 and the sample rate is 500 Hz) with a highpass of 2 Hz. It was ok to use the eegfiltfft(data, 500, 2, []), but was wrong to use the eegfilt(data, 500, 2, []). However, It was ok to <span style="line-height:1.5">use the</span><span style="line-height:1.5"> </span>eegfilt<span style="line-height:1.5">(data, 500, 3, []). </span><span style="line-height:1.5">I am wondering why cannot filter the data with a highpass of < 3 Hz. Moreover, what the difference between </span>eegfiltfft<span style="line-height:1.5"> and </span>eegfilt<span style="line-height:1.5">?  Thanks.</span></div><div><span style="line-height:1.5"><br></span></div><div><span style="line-height:1.5">Regards</span></div><div><span style="line-height:1.5">Ya</span></div><div><span style="line-height:1.5"><br></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" 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><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><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></div></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><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></div>