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

Pauli Virtanen pav at iki.fi
Tue Dec 6 04:58:48 EST 2011


06.12.2011 08:49, Roger Binns kirjoitti:
> Note that I am using regular Python lists (they were JSON at one point)
> and the fft documentation is incomprehensible to someone who hasn't used
> numpy before and only cares about fft (there are a lot of matches for
> Google searches about fft and python pointing to numpy).
>
> The doc doesn't actually say what axis is and doesn't have an example.
> Additionally a "shape" attribute is used which is peculiar to whatever
> numpy uses as its data representation.

I think this cannot be helped --- it does not make sense to explain
basic Numpy concepts in every docstring, especially `axis` and `shape`
are very common.

However, an example with the axis keyword could be useful.

-- 
Pauli Virtanen




More information about the NumPy-Discussion mailing list