A novel and lightweight P, QRS, and T peaks detector using adaptive thresholding and template waveform. (May 2021)