Fourier

The classical method for calculating the spectral density.

fourier_transform(self)

Calculates the real fast fourier transform. Sets the values of self.spectrum and self.spectrum_freqs, self.phase.