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

Stéfan van der Walt stefan at sun.ac.za
Sat Aug 9 19:47:38 EDT 2008


2008/8/7 Nadav Horesh <nadavh at 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