How can I do de FFT in Python?
I want to perform the FFT on some data that I have. By loading the scipy package, I use rfft and rfftfreq, but when it comes to plotting, the output is not what it should be. My code is as follows:
I want to perform the FFT on some data that I have. By loading the scipy package, I use rfft and rfftfreq, but when it comes to plotting, the output is not what it should be. My code is as follows: