MCPcopy Index your code
hub / github.com/DynamicTimeWarping/dtw-python / test_plot_threeway

Method test_plot_threeway

tests/test_plot.py:31–37  ·  view source on GitHub ↗

Test the three-way plot.

(self)

Source from the content-addressed store, hash-verified

29 self.template = np.cos(self.idx)
30
31 def test_plot_threeway(self):
32 """Test the three-way plot."""
33 # Find the best match with the canonical recursion formula
34 alignment = dtw(self.query, self.template, keep_internals=True)
35
36 # Display the warping curve, i.e. the alignment curve
37 alignment.plot(type="threeway")
38
39 def test_plot_twoway(self):
40 """Test the two-way plot."""

Callers

nothing calls this directly

Calls 2

dtwFunction · 0.90
plotMethod · 0.45

Tested by

no test coverage detected