Re: FFTW versus NRC FFT



As a postscript to Steven Johnson's detailed messages, simply remember
that the complex-to-real and real-to-complex Fourier transforms are
critically phase dependent, and to know in detail what each package
assumes about these phases.

I ran into this while using FFTW on my grid -\pi < y < \pi, where the
branch cut falls between grid nodes. FFTW assumes you are on 0 < y < 2\pi
and that the first grid node is on the branch cut.

--
ciao,
Bruce

drift wave turbulence: http://www.rzg.mpg.de/~bds/

.


Quantcast