[SciPy-User] Reality check

Robert Kern robert.kern@gmail....
Sat Jul 10 22:43:59 CDT 2010


On Sat, Jul 10, 2010 at 22:37, David Goldsmith <d.l.goldsmith@gmail.com> wrote:
> The default for the axis argument of fftpack.rfft is -1; I couldn't find the
> source for what this function ultimately calls, but the fact that it
> preserves the shape of its input (determined empirically) suggests that it
> means transform over the last axis (as opposed to transform flattened
> input).  Two questions:
>
> a) Is this correct?

Yes.

> b) I forget: this means that it is transforming "across" columns, i.e., each
> row represents a separate data set, correct?

Yes.

-- 
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 SciPy-User mailing list