[Numpy-discussion] stop criterion for an alternating signal

Nils Wagner nwagner@iam.uni-stuttgart...
Mon May 4 11:48:55 CDT 2009

Hi all,

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

Any pointer would be appreciated.


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

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

x = arange(0,m)

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

More information about the Numpy-discussion mailing list