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.3.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.3-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ecgquant-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 0612bebbf92dd55659f8f1361b0d4cc7633bc72ad4638916c3091150a133d931
MD5 40cd364d05f9e455a5db9237ae61c2e9
BLAKE2b-256 0662ec25a0ba88ef374b86541526e7506d5a238f6351e199108d041d7ea1baba

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ecgquant-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5093ac7b4d4d29890729b8dce1bd9d69b12c051767207df5241d6e969908e2e9
MD5 a6f959bf575baa76790563ca89d01161
BLAKE2b-256 0618090bbc9bacbaf080cc22c6634dfd08cfbbc7cf8b0bc8b272839f0c11263f

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