Hello,

I have some small periodic data (about 32 points), and I want to fit it in a Fourier transform function.

Actually I use the fast Fourier transform method using the python toolbox (numpy.fft.fft). At first I calculate all Fourier complex coefficients (32 coefficients), however I get a noisy function as shown in the attached figure.

My question, is what is the best method to smooth the results?

Should I reduce the number of points by interpolating other points (e.g. 16 or 8 points) based the 32 points?

Should I apply some filters, like low-pass filter? if yes how can I choose the frequencies threshold to apply this filter?

Should I apply an filter based on the power of the complex Fourier coefficients (power = ||Ci||^2), and keep only frequencies which correspond to high powers? if yes how can I choose the power threshold?

Or are there other methods?

Thanks in advance.

More Oussama Braydi's questions See All
Similar questions and discussions