[Numpy-discussion] fft and roll
Sat Apr 28 11:51:24 CDT 2007
Ross Harder wrote:
> I'm new to Numpy, just bought the guide last week.
> I've been disappointed by the difficulty I'm having
> finding functions that are documented in the guide.
> far I've had to spend a lot of time tracking down that
> the fft2 and fftn functions from the fftpack library,
> which are documented in the numpy guide, are actually
> in scipy. I've also not been able to find the roll
> function documented on page 99 of the guide.
> Did I just buy the guide at a time when it's
> particularly out of date and there will be an update
Your numpy might be (very) out of date. All of those functions are in numpy 1.0
and later (at least).
In : import numpy
In : numpy.fft.fft2
Out: <function fft2 at 0x17954f0>
In : numpy.fft.fftn
Out: <function fftn at 0x1795470>
In : numpy.roll
Out: <function roll at 0x1475170>
"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