[Numpy-discussion] which fft I should use

Robert Kern robert.kern at gmail.com
Wed Dec 27 11:58:24 CST 2006


Gennan Chen wrote:
> Hi! all,
> 
> 	There are so many fft routines in Scipy/Numpy. Does anyone know  
> which one should be used officially?

For maximum portability and speed, use numpy.dual.fft() and its friends. That
will use the optimized functions in scipy.fftpack if it is available and
numpy.fft otherwise.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco


More information about the Numpy-discussion mailing list