def test_NormalizationAnalyzer():

    t1 = ts.TimeSeries(data=[[99, 100, 101], [99, 100, 101]], sampling_interval=1.)
    t2 = ts.TimeSeries(data=[[-1, 0, 1], [-1, 0, 1]], sampling_interval=1.)

    N1 = nta.NormalizationAnalyzer(t1)
    npt.assert_almost_equal(N1.percent_change[0], t2[0])

    t3 = ts.TimeSeries(data=[[100, 102], [1, 3]], sampling_interval=1.)
    t4 = ts.TimeSeries(data=[[-1, 1], [-1, 1]], sampling_interval=1.)

    N2 = nta.NormalizationAnalyzer(t3)
    npt.assert_almost_equal(N2.z_score[0], t4[0])
Called by the CollectorIterator object to retrieve the
dataset/ETHPy150Open nipy/nitime/nitime/tests/test_analysis.py/test_NormalizationAnalyzer--crossover with--dataset/ETHPy150Open serverdensity/sd-agent/checks/libs/thread_pool.py/AbstractResultCollector._get_result