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

Method step

dtw/stepPattern.py:408–411  ·  view source on GitHub ↗
(self, di, dj)

Source from the content-addressed store, hash-verified

406 self.j = [0]
407
408 def step(self, di, dj): # equivalent to .Pstep
409 self.i.append(di)
410 self.j.append(dj)
411 return self
412
413 def get(self): # eqv to .Pend
414 ia = numpy.array(self.i, dtype=numpy.double)

Callers 7

_RJtypeIFunction · 0.80
_RJtypeIIFunction · 0.80
_RJtypeIIIFunction · 0.80
_RJtypeIVFunction · 0.80
_RJtypeVFunction · 0.80
_RJtypeVIFunction · 0.80
_RJtypeVIIFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected