<div dir="ltr">Dear Daniele,<div><br></div><div>Thank you for your comment.</div><div><br></div><div>> if you don't want the phase shift, you should <u>NOT</u> check the "use causal filter" box.<br></div><div class="gmail_extra">

<br></div><div class="gmail_extra">You are right here. But Marta said</div><div class="gmail_extra"><br></div><div class="gmail_extra">><span style="color:rgb(80,0,80)"> if i want to get a causal filter i should be using the 'legacy' version of the pop_eegfilt that uses fir1 and firfirl to filter the data? </span></div>

<div class="gmail_extra"><span style="color:rgb(80,0,80)"><br></span></div><div class="gmail_extra" style><span style="color:rgb(80,0,80)">So she <i>wants</i> to use the causal filter for some reason.</span></div><div class="gmail_extra" style>

<span style="color:rgb(80,0,80)"><br></span></div><div class="gmail_extra" style><span style="color:rgb(80,0,80)">Marta, here is additional caution: 'use causal filter' does NOT keep ERP peak latencies unchanged (if that's what you want to test; here I'm just guessing).</span></div>

<div class="gmail_extra" style><span style="color:rgb(80,0,80)"><br></span></div><div class="gmail_extra" style><span style="color:rgb(80,0,80)">Makoto</span></div><div class="gmail_extra"><br></div><div class="gmail_extra">

<br><br><div class="gmail_quote">2013/4/25 Daniele Marinazzo <span dir="ltr"><<a href="mailto:daniele.marinazzo@gmail.com" target="_blank">daniele.marinazzo@gmail.com</a>></span><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 dir="ltr"><div>actually from what I see in eegfilt.m, if causal option is <u>on</u>, it uses filter.m (phase shift introduced), otherwise is causal option is <u>off</u> it uses filtfilt.m (no phase shift).<br><br>so, if you don't want the phase shift, you should <u>NOT</u> check the "use causal filter" box.<br>



<br></div>do you confirm this, or is there a confusion with the nomenclature?<span class=""><font color="#888888"><br><br>d.<br></font></span></div><div class=""><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">

On Wed, Apr 24, 2013 at 10:10 PM, Makoto Miyakoshi <span dir="ltr"><<a href="mailto:mmiyakoshi@ucsd.edu" target="_blank">mmiyakoshi@ucsd.edu</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 dir="ltr">Dear Marta,<div><div><br></div><div>> if i want to get a causal filter i should be using the 'legacy' version of the pop_eegfilt that uses fir1 and firfirl to filter the data? <br>



</div><div><br></div>

</div><div>Right. Check the box 'use causal filter' when you run it.</div><div><br></div><div>Makoto </div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/4/24 Marta Castellano <span dir="ltr"><<a href="mailto:m@martacastellano.eu" target="_blank">m@martacastellano.eu</a>></span><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><div><div dir="ltr">Dear eeglablist,<div>

<br></div><div>I would need some help regarding the filtering of EEG data. </div>

<div><br></div><div>I'm currently using the EEGlab 12.0.2.0b and filtering the data with pop_eegfiltnew, which creates a type 1 windowed synch filter and the filtering is implemented through firfirlt. As far as I understood, this leads to a phase shift because of the firfilt, and also, given that the impulse response of the filter is symetric, the filter is acausal (so that no causal analysis can be performed). </div>







<div><br></div><div>Does that means that, if i want to get a causal filter i should be using the 'legacy' version of the pop_eegfilt that uses fir1 and firfirl to filter the data? </div><div><br></div><div>Thanks a lot in advance for your help,<br>







</div><div><br></div><div>Marta</div></div>
<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><font color="#888888"><br>

</font></span></blockquote></div><span><font color="#888888"><br><br clear="all"><div><br></div>

-- <br><div dir="ltr">Makoto Miyakoshi<br>Swartz Center for Computational Neuroscience<br>Institute for Neural Computation, University of California San Diego<br></div>
</font></span></div></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></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><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>