|
From: Alan G I. <ai...@am...> - 2005-07-27 20:08:54
|
On Wed, 27 Jul 2005, Ren=E9 Bastian apparently wrote:=20 > Outcommenting > if len(data) < len(kernel): > data, kernel =3D kernel, data > in convolve.py gives the correct result.=20 The author is not listed for this numarray module, so we cannot directly ask why this behavior was chosen. You might use Numeric.convolve instead of numarray.convolve.Convolve.convolve: Numeric gives the expected result here. fwiw, Alan Isaac |