inguz-DSPUtil icon indicating copy to clipboard operation
inguz-DSPUtil copied to clipboard

Opposite sign on imaginary part in result of DSPUtil.Fourier.FFT()

Open osmanovv opened this issue 10 years ago • 1 comments

Comparing to Python's scipy/numpy FFT (http://docs.scipy.org/doc/numpy/reference/routines.fft.html) there are wrong sign on computing imaginary part of the result (absolute value is ok).

osmanovv avatar Apr 01 '14 06:04 osmanovv

Here is some text from Mathematica Fourier[list] (finds the discrete Fourier transform of a list of complex numbers)

Different choices of definitions can be specified using the option FourierParameters. Some common choices for {a,b} are {0,1} (default), {-1,1} (data analysis), {1,-1} (signal processing). The setting b=-1 effectively corresponds to conjugating both input and output lists.

VasOleMil avatar Apr 06 '21 15:04 VasOleMil