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
Is there a timeline for implementing the bxb function to perform beat-by-beat comparison algorithms described in ANSI/AAMI EC38:1998, the American National Standard for Ambulatory ECGs, and in ANSI/AAMI EC57:1998, the American National Standard for Testing and Reporting Performance Results of Cardiac Rhythm and ST Segment Measurement Algorithm?
Definitely this would be a useful thing to have in the package! It's
not an issue I've thought much about, but would make a nice student
project. :)
One element of that would be a way to calculate *exactly the same
statistics* that are calculated by bxb - for purposes of benchmarking
it's important that the algorithm works exactly the same way. That
includes handling a lot of special cases that are specific to arrhythmia
analysis.
But the problem of comparing two sets of annotations based on fuzzy
time matching also has more general applicability, so it would be good
to implement this in a way that is more flexible, and usable outside
the ECG domain (e.g. allowing the application to specify the
possible "beat classes" or even a custom matching function.)
Do you have a specific task or application in mind?
We usually use this tool to benchmark ECG QRS detection algorithms vs annotated databases according to the abovementioned standards.
For the time being I guess we will have to continue using the original bxb C-code.
We now have wfdb.processing.bxb, bxb_record, and sumstats for beat-by-beat annotation comparison. These were added in #679 as development features. They were checked against the WFDB bxb program on many cases, but for standards-based reporting, please verify results against the original program. #684 tracks running that comparison in CI.
We would welcome any discrepancies you find in QRS benchmarking, including the record, annotations, and options used. I am leaving this issue open while the implementation retains its development status.
Please open a new issue if you identify bugs with the implementation or have suggestions for improvement. I'd also appreciate more general feedback if you find it to be helpful.
Activity
bemoody commentedon Nov 3, 2021
fabbra commentedon Nov 3, 2021
We usually use this tool to benchmark ECG QRS detection algorithms vs annotated databases according to the abovementioned standards.
For the time being I guess we will have to continue using the original
bxbC-code.Add beat-by-beat comparison of annotations, as WFDB bxb does (develop…
tompollard commentedon Nov 24, 2026
We now have
wfdb.processing.bxb,bxb_record, andsumstatsfor beat-by-beat annotation comparison. These were added in #679 as development features. They were checked against the WFDBbxbprogram on many cases, but for standards-based reporting, please verify results against the original program. #684 tracks running that comparison in CI.We would welcome any discrepancies you find in QRS benchmarking, including the record, annotations, and options used. I am leaving this issue open while the implementation retains its development status.
tompollard commentedon Nov 25, 2026
The (development) feature is available in the public release (https://wfdb.readthedocs.io/en/latest/changes.html#version-5-2-0-nov-2026).
Please open a new issue if you identify bugs with the implementation or have suggestions for improvement. I'd also appreciate more general feedback if you find it to be helpful.