You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working on the MIT-BIH records. The aim is to calculate the Heart Rate and find the maximum, minimum and the mean of the Heart rates. I extracted the ECG signal from the record, calculated the QRS peaks and calculated the Heart Rates using the compute_hr function from the wfdb package. Similarly extracted the QRS peaks from the annotation file and calculated the Heart Rates using the compute_hr function from the wfdb package. For the 101 record, the maximum Heart Rate from the annotations is 900.00bpm while the calculated qrs indices gave a maximum Heart rate of 111.3402bpm. I have this issue with many other records.
First we need to classify annotations as beat and non-beat annotations. The annotations classified as beat annotations, need to be passed to the compute_hr.
If you observe the compute_hr function, the result is an array whose length is equivalent to the length of the input ECG signal. When additional Heart Rate parameters are calculated, it may result in conflicts.
compute_hr uses every annotation it is given, and MIT-BIH annotation files also have non-beat annotations (such as rhythm changes) close to beats, which give very high rates. Pass only the beat annotations to compute_hr.
Activity
m0bi5 commentedon Apr 18, 2020
Facing the same issue, were you able to figure it out?
MishalJasmine commentedon Apr 30, 2020
@m0bi5 I oberserved two things,
compute_hr.compute_hrfunction, the result is an array whose length is equivalent to the length of the input ECG signal. When additional Heart Rate parameters are calculated, it may result in conflicts.I hope this will help you.
Use the last RR interval in compute_hr (#601)
tompollard commentedon Nov 23, 2026
compute_hruses every annotation it is given, and MIT-BIH annotation files also have non-beat annotations (such as rhythm changes) close to beats, which give very high rates. Pass only the beat annotations tocompute_hr.