I've been working on a ECG signal collected during exercise through my chest mount heart rate monitor. My goal is to accurately detect the location of the R-wave; R-wave is the narrow peak similar to the ones I circled in red.

Can you suggest any method for preprocessing the data so that it will be easier to extract the signal?

I have tried wavelet transform but I am not getting any luck.

enter image description here

You can download the data here. Sampling frequency is 150 Hz.

  • 2
    $\begingroup$ I would start by reviewing Physionet's resources. Not only the toolkit but the papers they have produced on QRS detection (Look for "George Moody"). In a nutshell, (possibly detrend), rectify, integrate, apply threshold (possibly adaptive). This will give you the R peaks with very good accuracy. $\endgroup$ – A_A Jun 21 '19 at 8:21
  • $\begingroup$ I've went ahead and removed all the chatter from your question; it was actually making it worse. $\endgroup$ – Marcus Müller Jun 21 '19 at 8:31
  • $\begingroup$ haha @MarcusMüller thanks man $\endgroup$ – Larry To Jun 24 '19 at 1:23

A typical approach would be the Pan-tompkins algorithm. You can also apply a first order low pass filter or a mean filter to improve results.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.