https://1library.org/document/q5wgv5rq-automatic-movement-assessment-switching-linear-dynamic-segmentation-performance.html