[Numpy-discussion] stop criterion for an alternating signal

Nils Wagner nwagner at iam.uni-stuttgart.de
Mon May 4 12:48:55 EDT 2009


Hi all,

How can I define a stop criterion for an alternating 
series ?

Any pointer would be appreciated.

Nils


from numpy import loadtxt, arange
from pylab import plot, show

A = loadtxt('alternate.dat')
m = len(A)

x = arange(0,m)
plot(x,A)
show()

-------------- next part --------------
A non-text attachment was scrubbed...
Name: alternate.dat
Type: video/mpeg
Size: 210 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20090504/b2da585e/attachment.m1v>


More information about the NumPy-Discussion mailing list