[Numpy-discussion] fourier with single precision

David Cournapeau david at ar.media.kyoto-u.ac.jp
Thu Aug 2 00:59:47 EDT 2007


Lars Friedrich wrote:
> Hello,
>
> is there a way to tell numpy.fft.fft2 to use complex64 instead of 
> complex128 as output dtype to speed the up transformation?
>   
As far as I can read from the fft code in numpy, only double is 
supported at the moment, unfortunately. Note that you can get some speed 
by using scipy.fftpack methods instead, if scipy is an option for you.

David



More information about the NumPy-Discussion mailing list