Hi all,
I am working on an ECG QRS detection algorithm which I did implement it using C language. The code detects the ECG peaks regardless of the beat type (Normal, Paced, … etc.) and it saves the detected peaks into a text file as time location of the peak.
To evaluate my algorithm I have to compare the obtained peaks to those provided in the reference annotation files (MIT-BIH arrhythmia database). By comparison I can find the FP and FN peaks, and then calculate the sensitivity and positive predictivity from them. The main objective to find all of the peaks and not the type of the beat.
According to the Physionet guide, using the “WFDB Software Package" in "Cygwin” I have to do the following:
I am looking for few clear examples showing how to convert the text file into an annotation file and then compare the annotations to the referenced ones. I also tried “rr2ann” function to convert my text file into an annotation file but it did not work for me.
Thanks :)