[Numpy-discussion] Horizontal lines in diffraction image (NumPyFFT)

Stéfan van der Walt stefan@sun.ac...
Sat Aug 9 18:47:38 CDT 2008


2008/8/7 Nadav Horesh <nadavh@visionsense.com>:
> The 0 padding is easy in numpp/pylab as in octave/matlab, by just adding one
> argument. In pylab it is the "a" keyword:
>
>  y = fft(x, n=2*len(x))

Just be careful about using the n parameter for `ifft`; in that case
it does not pad correctly.

Stéfan


More information about the Numpy-discussion mailing list