Hello,
I had a question regarding the processing preferences that affect Band Pass Filtering.
We have tried processing fNIRS data with the Signal Processing Toolbox ON and also with the Signal Processing Toolbox OFF, and it gives us different outcome at the very end.
Signal Processing Toolbox ON
Signal Processing Toolbox OFF
I was wondering whether there is a preferred way, either to process with or without the Signal Processing Toolbox, when working with fNIRS data?
Let me know!
Thank you,
Annika
@edelaire
Hi @annikafleming12
Thanks for sharing the comparison plots.
The two filters are expected to give slightly different results because Brainstorm uses different implementations depending on whether the MATLAB Signal Processing Toolbox is available. The overall behavior is similar, but the transition band and stopband attenuation are not exactly identical.
In general, we recommend using the Signal Processing Toolbox when available, since it relies on MATLAB’s optimized filtering functions. However, the non-toolbox implementation is also valid and should produce comparable results for most fNIRS analyses (and for other modalities as well).
Best,
Takfarinas