def test_astd():
    data = np.array([
        1.80044838, 2.02938314, 1.03534016, 4.84225057, 1.54256458, 5.19290675,
        2.18474784, 4.77054777, 1.51736933, 0.72727580
    ])
    s = pycircstat.astd(data)
    assert_allclose(1.1475, s, atol=0.001, rtol=0.001)
def circvVals(rad, w, d):
    vStr = pcirc.vector_strength(rad, w=w, d=d/2, ci=None)
    vDir = pcirc.mean(rad, w=w, d=d/2, ci=None)
    astd = pcirc.astd(rad, w=w, d=d/2, ci=None)
    skew = pcirc.skewness(rad, w=w, ci=None)
    kurt = pcirc.kurtosis(rad, w=w, ci=None)
    return vStr, vDir, astd, skew, kurt
def test_astd():
    data = np.array([1.80044838, 2.02938314, 1.03534016, 4.84225057,
                     1.54256458, 5.19290675, 2.18474784,
                     4.77054777, 1.51736933, 0.72727580])
    s = pycircstat.astd(data)
    assert_allclose(1.1475, s, atol=0.001, rtol=0.001)