phyphox Forums

Full Version: add Butterworth filter to analysis module
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi Jens,
I was wondering whether you're considering to add aButterworth filtet as an analysis module choosing the order, the cutoff frequency and th type (low/high). Such a filter is commonly used to soomth acc/gyro signals in movment analysis.
We have put it in on our list as it appears to make sense to have it as an independent module – we are not so sure about the effort yet that we have to spent (research the numerics and its stability).

Would technically FFT, multiply Butterworth characteristic, invFFT work? Then you could already play around with it…
Hi Jens, thanks for replying. So you mean to use fft to get the frequency-domain representation of the signal, and then set the power of unwanted frequencies to zero, followed by ifft to recover the filtered data in the time domain? I'm afraid the approach you suggested would introduce latency and can create undesirable ringing. But I'll try to investigate it. Thanks, Pietro
We thought of multiplying the (smooth) Butterworth weight function frequency-wise with the FFT. We are not yet sure if there are unwanted discretisation effects though…
ok Jens let me know about your progress!
Thanks, Pietro