[Numpy-discussion] What does fftn take as parameters?

Roger Binns rogerb at rogerbinns.com
Tue Dec 6 13:17:52 EST 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06/12/11 09:59, Chris Barker wrote:
> That would be a lot of links

Huh?  The current page defines axis in terms of axis so if you don't know
what it is you have to look it up.  The search is completely useless as I
showed.  You want using numpy to be some sort of secret one has to work
hard at?

What I was asking for was that the word axis in the doc page links to a
page that explains terms like axis and shape as numpy uses them.

> By the way, if you are getting JSON (from a web service?), converting
> to liats, converting to numpy arrays, then fft-ing (then maybe
> converting all that back?)

I don't know what a liat is and I'm not converting to numpy arrays.  I
pass in regular Python lists and treat the result as though it was a
regular Python list.

I need to do 16 ffts with columns of data all the same length.  That was
why the interest in fftn (misplaced).  Someone else mentioned that fft can
actually do multiple ffts in one go and the math guy mentioned that it
should be more efficient that way.

At the moment I do indeed use a for loop with 16 iterations.

Roger
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk7eXFAACgkQmOOfHg372QQlRwCdGtE7+yhBX6Ng/gQp24/M76n7
BVoAn28GtkQ5KKxENJLJwD4alAWUWhB+
=myKN
-----END PGP SIGNATURE-----



More information about the NumPy-Discussion mailing list