I just came across "dynamic time warping" in terms of shifting signals. Basically, I'd like to use dtw to "sync" signals (at least judge dtw's functionality for that purpose) that were taken at different times.
I looked intensively on http://dtw.r-forge.r-project.org/ and also on the documentation (https://cran.r-project.org/web/packages/dtw/dtw.pdf ) and tried to understand the method.
I just wanted to ask if it is possible to find a shift between two measurement signals for the best possible match, even if the measurement data were recorded at different times and thus wear occurs (which can influence the signals).
As a result of the experiment in R, I get these plot:
I would still like to know how I could "extract" the shifted and stretched signal or how I could calculate the necessary alignment parameters?