FFT magnitude and phase spectrum — how to interpret (and fix noisy phase)
How to get amplitude and phase from an FFT: |X[k]|, atan2, why phase looks noisy, the magnitude threshold fix, Matlab + Python, and links to bins/fftshift and the FFT calculator.