bug in scipy.signal.firwin?
Hi In the following line the sum function is the standard python sum function, which doesn't have axis keyword. return h / sum(h,axis=0) I'm using In [56]: scipy.__version__ Out[56]: '0.5.2' In [57]: scipy.__numpy_version__ Out[57]: '1.0.1' on a Gentoo Linux, 2.6.18-gentoo-r4 -- |_|0|_| |_|_|0| |0|0|0|
On Wed, Jun 20, 2007 at 03:25:19PM -0500, Reynaldo wrote:
In the following line the sum function is the standard python sum function, which doesn't have axis keyword.
return h / sum(h,axis=0)
I'm using
In [56]: scipy.__version__ Out[56]: '0.5.2'
In [57]: scipy.__numpy_version__ Out[57]: '1.0.1'
on a Gentoo Linux, 2.6.18-gentoo-r4
I'm think this has been fixed in SVN. Please try the latest version and let us know. Cheers Stéfan
I've downloaded latest svn version and as you correctly said it's been fixed. But, i prefer not to mess with svn right now, i added 'numpy.sum' and works fine for me. Thanks Reynaldo 2007/6/20, Stefan van der Walt <stefan@sun.ac.za>:
On Wed, Jun 20, 2007 at 03:25:19PM -0500, Reynaldo wrote:
In the following line the sum function is the standard python sum function, which doesn't have axis keyword.
return h / sum(h,axis=0)
I'm using
In [56]: scipy.__version__ Out[56]: '0.5.2'
In [57]: scipy.__numpy_version__ Out[57]: '1.0.1'
on a Gentoo Linux, 2.6.18-gentoo-r4
I'm think this has been fixed in SVN. Please try the latest version and let us know.
Cheers Stéfan _______________________________________________ SciPy-user mailing list SciPy-user@scipy.org http://projects.scipy.org/mailman/listinfo/scipy-user
-- |_|0|_| |_|_|0| |0|0|0|
participants (2)
-
Reynaldo -
Stefan van der Walt