Skip to main content

Convert GE MUSE ECG XML exports to WFDB format

Project description

muse2wfdb

Convert GE MUSE XML ECG exports to WFDB format

muse2wfdb is a lightweight Python library that converts ECG data exported from the GE MUSE Resting ECG System (in XML format) into WFDB (WaveForm DataBase) format, compatible with PhysioNet tools and the wfdb Python package.

Installation

Install directly from PyPI:

pip install muse2wfdb

Or install locally from source:

git clone https://github.com/nagyl1999/muse2wfdb.git
cd muse2wfdb
pip install .

Usage

An example is provided in the examples folder.

from muse2wfdb.converter import muse_to_wfdb
import wfdb

muse_export = "examples/anonim_pac_xml_export.txt"
wfdb_filename = "patient001_ecg"

muse_to_wfdb(muse_export, wfdb_filename)

record = wfdb.rdrecord(wfdb_filename)
annotation = wfdb.rdann(wfdb_filename, 'atr')

wfdb.plot_wfdb(record=record, annotation=annotation, title="MUSE exported ECG")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

muse2wfdb-1.1.0.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

muse2wfdb-1.1.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file muse2wfdb-1.1.0.tar.gz.

File metadata

  • Download URL: muse2wfdb-1.1.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for muse2wfdb-1.1.0.tar.gz
Algorithm Hash digest
SHA256 a0116c9669a12f13533d3fb02d7ab585570052a62da0c42aa4bc26e7185590ea
MD5 ec84a4495b7c89dc16b1799b70b2bc22
BLAKE2b-256 71e689fe1ec3eb473be404f97e2dd1958d066ca3845e0af10c61caab6c20c5ea

See more details on using hashes here.

File details

Details for the file muse2wfdb-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: muse2wfdb-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for muse2wfdb-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 50e7d8dd1f5f5502ec1125908ba457abe087872d3624f997e4db264b91ef8733
MD5 3514ddadfbd2d871a8a5575b7818e6a9
BLAKE2b-256 6bebfa0146aaad7a8cc9c8168e079d70c2d6fb6799c6e009037b60cd329eb9f0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page