Smoothness and continuity of cost functionals for ECG mismatch computation. Issue 20 (2022)