mvtsa.warping.wdtw(x, y, g=0.05, w_max=1.0, metric='sqeuclidean')[source]#
Weighted DTW: the local cost of cell (i,j) is multiplied by
\(w_{max}/(1+\exp(-g(|i-j|-m_c)))\), where \(m_c\) is half of
the length; large phase differences are penalized smoothly.