<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Alessandro<div class=""><br class=""></div><div class="">If you would want to apply them in a different order, just call ft_preprocessing multiple times, once for every filter you want to apply.</div><div class=""><br class=""></div><div class="">best</div><div class="">Robert</div><div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 17 Oct 2018, at 00:54, Alessandro Orticoni <<a href="mailto:alessandro.orticoni@gmail.com" class="">alessandro.orticoni@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div dir="ltr" class="">Hi,<div class=""><br class=""></div><div class="">Yes, thanks both! You have been very helpful.</div><div class=""><br class=""></div><div class="">Best,</div><div class="">Alessandro</div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="">Il giorno mer 17 ott 2018 alle ore 00:17 Diego Lozano-Soldevilla <<a href="mailto:dlozanosoldevilla@gmail.com" class="">dlozanosoldevilla@gmail.com</a>> ha scritto:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class="">Hi Alessandro,</div><div dir="ltr" class=""><br class=""><div class="">As explained in the <a href="https://github.com/fieldtrip/fieldtrip/blob/master/ft_preprocessing.m#L55" target="_blank" class="">help </a>of ft_preprocessing, the default filter order can be found in the low level functions:</div><div class=""><div class="">fieldtrip/preproc/ft_preproc_bandpassfilter.m</div><div class="">fieldtrip/preproc/ft_preproc_bandstopfilter.m</div><div class="">fieldtrip/preproc/ft_preproc_highpassfilter.m</div><div class="">fieldtrip/preproc/ft_preproc_lowpassfilter.m</div></div><div class=""><br class=""></div><div class="">The filter order means something very different for the Butterworth (i.e. amount of samples used for the input-output recursion) </div><div class=""><a href="https://github.com/fieldtrip/fieldtrip/blob/master/preproc/ft_preproc_bandpassfilter.m#L151" target="_blank" class="">https://github.com/fieldtrip/fieldtrip/blob/master/preproc/ft_preproc_bandpassfilter.m#L151</a><br class=""></div><div class=""><br class=""></div><div class="">or for the Finite Impulse Response (FIR) filter (i.e. length of the filter kernel).</div><a href="https://github.com/fieldtrip/fieldtrip/blob/master/preproc/ft_preproc_bandpassfilter.m#L235" target="_blank" class="">https://github.com/fieldtrip/fieldtrip/blob/master/preproc/ft_preproc_bandpassfilter.m#L235</a></div><div dir="ltr" class=""><br class=""></div><div class="">For the ones interested to know more about what that number does for different filters, please check this example script:</div><div class=""><a href="http://www.fieldtriptoolbox.org/example/determine_the_filter_characteristics" target="_blank" class="">http://www.fieldtriptoolbox.org/example/determine_the_filter_characteristics</a><br class=""></div><div class=""><br class=""></div><div class="">I hope that helps,</div><div class=""><br class=""></div><div class="">Diego</div><div dir="ltr" class=""><br class=""></div><div dir="ltr" class=""><br class=""><div class="gmail_quote"><div dir="ltr" class="">On Tue, 16 Oct 2018 at 23:13, Alessandro Orticoni <<a href="mailto:alessandro.orticoni@gmail.com" target="_blank" class="">alessandro.orticoni@gmail.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr" class="">Dear all,<div class=""><br class=""></div><div class="">I would like to ask you just a question: which is the default order of the filters implemented by ft_preprocessing? I cannot find it anywhere.</div><div class=""><br class=""></div><div class="">Thanks a lot,</div><div class="">Alessandro Orticoni </div></div>
_______________________________________________<br class="">
fieldtrip mailing list<br class="">
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" rel="noreferrer" target="_blank" class="">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br class="">
<a href="https://doi.org/10.1371/journal.pcbi.1002202" rel="noreferrer" target="_blank" class="">https://doi.org/10.1371/journal.pcbi.1002202</a><br class="">
</blockquote></div></div></div></div></div></div>
_______________________________________________<br class="">
fieldtrip mailing list<br class="">
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" rel="noreferrer" target="_blank" class="">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br class="">
<a href="https://doi.org/10.1371/journal.pcbi.1002202" rel="noreferrer" target="_blank" class="">https://doi.org/10.1371/journal.pcbi.1002202</a><br class="">
</blockquote></div>
_______________________________________________<br class="">fieldtrip mailing list<br class=""><a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" class="">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br class="">https://doi.org/10.1371/journal.pcbi.1002202<br class=""></div></blockquote></div><br class=""></div></body></html>