[Scipy-svn] r5558 - trunk/scipy/signal

scipy-svn@scip... scipy-svn@scip...
Wed Feb 18 12:01:48 CST 2009


Author: stefan
Date: 2009-02-18 12:01:31 -0600 (Wed, 18 Feb 2009)
New Revision: 5558

Modified:
   trunk/scipy/signal/signaltools.py
Log:
Whitespace cleanup in signaltools.

Modified: trunk/scipy/signal/signaltools.py
===================================================================
--- trunk/scipy/signal/signaltools.py	2009-02-18 18:00:45 UTC (rev 5557)
+++ trunk/scipy/signal/signaltools.py	2009-02-18 18:01:31 UTC (rev 5558)
@@ -1596,7 +1596,7 @@
 
     See also:  resample
     """
-    
+
     if not isinstance(q, int):
         raise TypeError, "q must be an integer"
 
@@ -1605,15 +1605,15 @@
             n = 30
         else:
             n = 8
-    
+
     if ftype == 'fir':
         b = firwin(n+1, 1./q, window='hamming')
         a = 1.
     else:
         b, a = cheby1(n, 0.05, 0.8/q)
-        
+
     y = lfilter(b, a, x, axis=axis)
 
     sl = [None]*y.ndim
-    sl[axis] = slice(None, None, q)    
+    sl[axis] = slice(None, None, q)
     return y[sl]



More information about the Scipy-svn mailing list