will2hew / ECGXMLReader

Python class for reading ECG XML files.
14 stars 6 forks source link

ECGXMLReader

Python class for reading ECG XML files. Extracts lead voltages, and optionally augments 12L from 8L (common in GE MUSE XML).

Dependencies

Requires the following libraries:

Usage

ECGXMLReader can be called by other Python scripts and used to get raw voltage values from compressed formats.

from ECGXMLReader import ECGXMLReader

ecg = ECGXMLReader('ecg_file.xml', augmentLeads=True)

print( ecg.getLeadVoltages('I') )

Structure