Esempio n. 1
0
def test_stand():
    t1 = TimeSeries([1, 2, 3, 4], [40, 50, 60, 70])
    val = _corr.stand(np.array(t1.values()), 55.0, 10)
    assert (list(val) == [-1.5, -0.5, 0.5, 1.5])
Esempio n. 2
0
def test_stand():
    t1 = TimeSeries([1, 2, 3, 4], [40, 50, 60, 70])
    val = _corr.stand(np.array(t1.values()), 55.0, 10)
    assert(list(val) == [-1.5, -0.5, 0.5, 1.5])