https://123dok.net/document/yevnmmez-wavelets-extrema-representation-for-qrs-t-cancellation-and-p-wave-detection.html