Changeset 12842 for fact/tools/pyscripts


Ignore:
Timestamp:
02/04/12 07:45:53 (13 years ago)
Author:
neise
Message:
corrected import name of scipy.signal from spsi to signal
File:
1 edited

Legend:

Unmodified
Added
Removed
  • fact/tools/pyscripts/pyfact/pyfact.py

    r12841 r12842  
    66from   ctypes import *
    77import numpy as np
    8 
    9 import scipy.signal as spsi
     8from scipy import signal
    109
    1110# get the ROOT stuff + my shared libs
     
    149148        a = np.zeros( windowSize )
    150149        a[0] = len(b)
    151         smoothData[:,:] = spsi.lfilter(b, a, smoothData[:,:])
     150        smoothData[:,:] = signal.lfilter(b, a, smoothData[:,:])
    152151
    153152        self.smoothData = smoothData
     
    170169        b[length-1] = 1.
    171170        a[0] = 1.
    172         cfdData[:,:] = spsi.lfilter(b, a, cfdData[:,:])
     171        cfdData[:,:] = signal.lfilter(b, a, cfdData[:,:])
    173172       
    174173        self.cfdData = cfdData
Note: See TracChangeset for help on using the changeset viewer.