Skip to main content

Processing pipeline for ECG records and quantification of basic and advanced electrocardiographic markers, natively compatible with the PTB and PTBXL databases.

Project description

ECGquant

A robust Python processing pipeline for Electrocardiogram (ECG) records, specifically tailored to handle and analyse data from the PTB and PTB-XL databases.

Authorship

Hector Martinez-Navarro (hector.martinez-navarrouv.es), Ignacio Garcia-Fernandez (ignacio.garciauv.es) COMMLAB, Universitat de Valencia

Overview

ECGquant automates the extraction, processing, and visualization of electrocardiographic features. Built on top of standard scientific libraries, it provides a reliable and clean interface for clinical data analysis, precise wave delineation, and biomarker quantification.

Features

  • Extensively validated
  • Disease-agnostic
  • Compatible with Physionet databases: native support for loading and parsing PTB and PTB-XL database records via wfdb.
  • Signal processing: advanced noise filtering and baseline wander removal utilising scipy and numpy.
  • Wave delineation: accurate detection and localization of P, Q, R, S, and T wave peaks, onsets, and offsets.
  • Clinical markers: automated identification of critical cardiac markers, including the J-point and the ST segment (isoelectric line).
  • Advanced pattern recognition: fQRS detection, tombstone patterns, biphasic T waves, T wave inversion...
  • Data management: export, manipulate, and analyse structured patient datasets seamlessly with pandas.
  • Visualisation: built-in plotting tools via matplotlib to inspect clean signals and verify extracted fiducial points.¨

Currently, the library provides lead-derived markers. Future versions will incorporate new complex clinically-relevant ECG markers comprehending information from multimple leads.

Installation

You can install the package directly from PyPI:

pip install ECGquant

ECGquant.py provides a working pipeline for processing ECG data from PTB or PTB-XL databases. Make sure you update the path of the database downloaded and decompressed in your computer.

Requirements

The library requires Python >= 3.10 and depends on the following core packages:

  • numpy
  • scipy
  • pandas
  • matplotlib
  • wfdb

License

This project is licensed under the MIT License. See the LICENSE file for details.

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

ecgquant-0.1.2.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

ecgquant-0.1.2-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file ecgquant-0.1.2.tar.gz.

File metadata

  • Download URL: ecgquant-0.1.2.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for ecgquant-0.1.2.tar.gz
Algorithm Hash digest
SHA256 7bf4f04fc482768a446275cf915b86875e898aa4c9929fa1b644166282c4cbd0
MD5 3690e8cd46eecc63b816f33d58d227e3
BLAKE2b-256 5d84b755c50916966179a3855247dbee7423099d16cb89519afa564b466469f6

See more details on using hashes here.

File details

Details for the file ecgquant-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: ecgquant-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for ecgquant-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c563e0672506ef71efae6bfa3f13ce4c0da7ed03a39e1147416d1e78c469bc6d
MD5 2f6eb0e98e60ab11750b108ca92efb05
BLAKE2b-256 8ce6226c8cf6cfde9852fab2621fa61e74adc0982d41d3a749ab7fb635d84192

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