Time-series averaging using constrained dynamic time warping with tolerance. (February 2018)