Skip to content

Implement bxb: ANSI/AAMI-standard beat-by-beat annotation comparator #334

Done

Description

@fabbra

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?

See also issue #222 (comment)

Activity

  1. bemoody commented on Nov 3, 2021

    @bemoody
    Collaborator
  2. fabbra commented on Nov 3, 2021

    @fabbra
    Author

    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.

  3. tompollard commented on Nov 24, 2026

    @tompollard
    Member

    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.

  4. tompollard commented on Nov 25, 2026

    @tompollard
    Member

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions