[SciPy-dev] FFT docstrings (was: Scipy Tutorial (and updating it))

Stéfan van der Walt stefan@sun.ac...
Thu Dec 18 08:37:37 CST 2008

Hi Tom

2008/12/18 Tom Grydeland <tom.grydeland@gmail.com>:
> A comment was dropped on the `ifft` routine re the semantics of the
> zero padding done when `n > len(a)`.  I wrote a note in the
> documentation to address the issue, but at the same time I thought
> that perhaps we could add a helper routine (I suggest the name
> `ifftpad`) to implement the padding that the commenter would like to
> see, e.g.,
> ifftpad(a, m) -> _r[a[:n/2], zeros((m-n)/2), a[n/2:], zeros((m-n)/2) ]

I've been wanting this for a while, so I'm all in favour.


More information about the Scipy-dev mailing list