MCPcopy
hub / github.com/stumpy-dev/stumpy / test_mstump_discords

Function test_mstump_discords

tests/test_mstump.py:271–278  ·  view source on GitHub ↗
(T, m)

Source from the content-addressed store, hash-verified

269
270@pytest.mark.parametrize("T, m", test_data)
271def test_mstump_discords(T, m):
272 excl_zone = int(np.ceil(m / 4))
273
274 ref_P, ref_I = naive.mstump(T, m, excl_zone, discords=True)
275 comp_P, comp_I = mstump(T, m, discords=True)
276
277 npt.assert_almost_equal(ref_P, comp_P)
278 npt.assert_almost_equal(ref_I, comp_I)
279
280
281@pytest.mark.parametrize("T, m", test_data)

Callers

nothing calls this directly

Calls 1

mstumpFunction · 0.90

Tested by

no test coverage detected