[SciPy-user] Correlate Times?

Ryan May rmay@ou....
Thu Jan 17 15:46:41 CST 2008


Can someone explain this to me?

In [3]: import scipy as S

In [5]: import scipy.signal as SS

In [6]: from numpy.random import rand

In [7]: up = rand(18000)

In [10]: %timeit N.correlate(up,up,mode='full')
10 loops, best of 3: 829 ms per loop

In [11]: %timeit S.correlate(up,up,mode='full')
10 loops, best of 3: 827 ms per loop

In [12]: %timeit SS.correlate(up,up,mode='full')
10 loops, best of 3: 11.5 s per loop

Is this a configuration problem?  If not, why does
scipy.signal.correlate even exist?



Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma

More information about the SciPy-user mailing list