statsmodels.sandbox.stats.multicomp.maxzero
statsmodels.sandbox.stats.multicomp.maxzero(x) [source]
find all up zero crossings and return the index of the highest Not used anymore >>> np.random.seed(12345)
>>> x = np.random.randn(8)
>>> x
array([-0.20470766, 0.47894334, -0.51943872, -0.5557303 , 1.96578057,
1.39340583, 0.09290788, 0.28174615])
>>> maxzero(x)
(4, array([1, 4]))
no up-zero-crossing at end >>> np.random.seed(0)
>>&