[Scipy-svn] r2163 - trunk/Lib/signal

scipy-svn at scipy.org scipy-svn at scipy.org
Tue Aug 15 07:01:49 CDT 2006


Author: stefan
Date: 2006-08-15 07:01:44 -0500 (Tue, 15 Aug 2006)
New Revision: 2163

Modified:
   trunk/Lib/signal/signaltools.py
Log:
Convert remez input argument to array.


Modified: trunk/Lib/signal/signaltools.py
===================================================================
--- trunk/Lib/signal/signaltools.py	2006-08-14 23:19:23 UTC (rev 2162)
+++ trunk/Lib/signal/signaltools.py	2006-08-15 12:01:44 UTC (rev 2163)
@@ -422,7 +422,7 @@
     if weight is None:
         weight = [1] * len(desired)
 
-    bands = bands.copy()
+    bands = asarray(bands).copy()
     return sigtools._remez(numtaps, bands, desired, weight, tnum, Hz,
                            maxiter, grid_density)
 



More information about the Scipy-svn mailing list