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-navarro[at]uv.es),

Ignacio Garcia-Fernandez (ignacio.garcia[at]uv.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.4.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.4-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ecgquant-0.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 8200711b8f371cd228efd23ff85b4147782be777224eddae518522a8a1099247
MD5 9f6789c67a385d96dfd1c6f3f7bbeccf
BLAKE2b-256 3910934fc978bbe07a5f6c3d5c2aebc60eb0879acbf85d7e63d7b14b545556ed

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ecgquant-0.1.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 94f365ed6666c1864a7466de0924b909af8c67efb7fd5952c415e3d7cf306e10
MD5 edfcbeae2a086746a740affadc2aacb2
BLAKE2b-256 dd87ec6efcf68305533d0aa0a9302547c7fcc6ca806cddc3e71f0f8f2d06c2ae

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