[FieldTrip] ft_preprocessing filter order

Diego Lozano-Soldevilla dlozanosoldevilla at gmail.com
Wed Oct 17 00:15:43 CEST 2018


Hi Alessandro,

As explained in the help
<https://github.com/fieldtrip/fieldtrip/blob/master/ft_preprocessing.m#L55>of
ft_preprocessing, the default filter order can be found in the low level
functions:
fieldtrip/preproc/ft_preproc_bandpassfilter.m
fieldtrip/preproc/ft_preproc_bandstopfilter.m
fieldtrip/preproc/ft_preproc_highpassfilter.m
fieldtrip/preproc/ft_preproc_lowpassfilter.m

The filter order means something very different for the Butterworth (i.e.
amount of samples used for the input-output recursion)
https://github.com/fieldtrip/fieldtrip/blob/master/preproc/ft_preproc_bandpassfilter.m#L151

or for the Finite Impulse Response (FIR) filter (i.e. length of the filter
kernel).
https://github.com/fieldtrip/fieldtrip/blob/master/preproc/ft_preproc_bandpassfilter.m#L235

For the ones interested to know more about what that number does for
different filters, please check this example script:
http://www.fieldtriptoolbox.org/example/determine_the_filter_characteristics

I hope that helps,

Diego


On Tue, 16 Oct 2018 at 23:13, Alessandro Orticoni <
alessandro.orticoni at gmail.com> wrote:

> Dear all,
>
> 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.
>
> Thanks a lot,
> Alessandro Orticoni
> _______________________________________________
> fieldtrip mailing list
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
> https://doi.org/10.1371/journal.pcbi.1002202
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20181017/103371f5/attachment-0002.html>


More information about the fieldtrip mailing list