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.0.0.tar.gz (4.1 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.0.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for muse2wfdb-1.0.0.tar.gz
Algorithm Hash digest
SHA256 325a6c8d6ec90b26ecf3a7b418bd718750a72de5ac38027aadb2b968070f1b5c
MD5 84bcf4380ebaa7c59a2213b89d2cea32
BLAKE2b-256 94cb1a3d05c9e976273a14e146183a74db966d9dd347b99acf8d92f0c2b289a3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: muse2wfdb-1.0.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.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1450eb718100b21b7138cc38ee325356e0ae088c7bba1218bc725ba45829f66f
MD5 d4ca51c4e220b388711c078fe5f58154
BLAKE2b-256 37ee1190c08fb744e49b30050a7cc06065496fb9abdadb4304564ddf6e28ce77

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