This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

add Butterworth filter to analysis module
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
Hi Jens, I hope you're still around. So: I followed your suggestion and I used FFT for removing high frequency noise and then I used invFFT for reconstructing the signal back. I did the implementation in Matlab and it worked as I succeded in obtaining something very similar to the result of a Butterworth filter.
Now the problem with Phyphox is that I do not have a "invFFT" module. Are you planning to release such a module for the editor? Is there any experiment I could refer to?
Thanks, Pietro
FFT and invFFT are almost identical, see, so you could you apply FFT again with minor adjustments. Smile
ok, got it. I'll try. Thanks Jens!

Forum Jump: