Comprehensive Dynamic Time Warping (DTW) package for Python. Supports partial matching and various constraint options (e.g., Sakoe-Chiba band, Itakura parallelogram). Current version 0.1.1 is a basic release; development appears infrequent.
pip install dtwalignNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Simple alignment of two sequences and print distance and warping path.
Flatten arrays before passing: x.ravel(), y.ravel().
Use Python 3.6+.
Do not pass step_pattern; only default symmetric2 is available.
Remove or impute NaN values before calling dtw.
Ensure both inputs are 1D arrays or use ravel().