Dtwalign
Comprehensive dynamic time warping module for python
Install / Use
/learn @statefb/DtwalignREADME
DTW (Dynamic Time Warping)
Comprehensive dynamic time warping module for python.
Documentation is available via ReadTheDocs.
Note: Please consider to use python-dtw package which is compatible with dtw for R.
Installation
pip install dtwalign
Features
Fast computation
by Numba
Partial alignment
- before alignment

- after alignment

Local constraint (step pattern)
example:
| Symmetric2 | AsymmetricP2 | TypeIVc |
| :--------------------------: | :----------------------------: | :-----------------------: |
|
|
|
|
Global constraint (windowing)
example:
| Sakoechiba | Itakura | User defined |
| :--------------------------: | :-----------------------: | :------------------------: |
|
|
|
|
Alignment path visualization

Usage
see example
Reference
- Sakoe, H.; Chiba, S., Dynamic programming algorithm optimization for spoken word recognition, Acoustics, Speech, and Signal Processing
-
Paolo Tormene, Toni Giorgino, Silvana Quaglini, Mario Stefanelli (2008). Matching Incomplete Time Series with Dynamic Time Warping: An Algorithm and an Application to Post-Stroke Rehabilitation. Artificial Intelligence in Medicine, 45(1), 11-34.
-
Toni Giorgino (2009). Computing and Visualizing Dynamic Time Warping Alignments in R: The dtw Package. Journal of Statistical Software, 31(7), 1-24.
Related Skills
node-connect
339.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
claude-opus-4-5-migration
83.8kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
frontend-design
83.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
model-usage
339.1kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
