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

2008-08-09 Thread Stéfan van der Walt
2008/8/7 Nadav Horesh <[EMAIL PROTECTED]>: > 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

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

2008-08-09 Thread Nadav Horesh
, but I was too big to for this mailing list. -הודעה מקורית- מאת: [EMAIL PROTECTED] בשם Matthias Hillenbrand נשלח: ו 08-אוגוסט-08 07:38 אל: numpy-discussion@scipy.org נושא: Re: [Numpy-discussion] Horizontal lines in diffraction image (NumPyFFT) Hello, today I found time to do

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

2008-08-06 Thread Nadav Horesh
ROTECTED] בשם Matthias Hillenbrand נשלח: ה 07-אוגוסט-08 00:30 אל: numpy-discussion@scipy.org נושא: Re: [Numpy-discussion] Horizontal lines in diffraction image (NumPyFFT) Hello, > When you convolve two signals, of lengths N and M, you need to pad the > FFTs to length (N+M-1) before multiplication