Closed GillesDuvert closed 2 weeks ago
hm thanks to test...
OK. But now we have a problem: According to FFT documentation: "If the CENTER keyword is also set, then only the dimension given by the DIMENSION keyword is shifted to the center. The other dimensions remain unshifted."
This is NOT WHAT IDL DOES. (but GDL does, now)
Proof:
plot,ABS(FFT(FINDGEN(100,10),dim=1,/cen))
if the 2nd dimension is not shifted (as per the documentation) then the centered peaks should be in linear increasing order. This is true for GDL, but in IDL the peaks have been clearly shifted on the x-axis.
Bug report to IDL? Or reproduce this "feature" in GDL?
see #1898 . Our functionality did not change. good.
All cases of FFT are now supported by fftw.cpp GDL FFTW now ONLY when FFTW library is present. (old slow GSL code removed)