simple_dist

simple_dist(x1: float, x2: float) float[source]

Get distance between two samples for dtw distance.

Parameters
  • x1 (float) – first value

  • x2 (float) – second value

Returns

distance between x1 and x2

Return type

float