Skip to main content

ECG augmentation

Project description

ECG Augmentation

ECG Augmentation is a Python library for augmenting 12-lead ECG signals.

Installation

Use the package manager pip to install ECG Augmentation.

pip install ecgaugmentation

Usage

import ecgaugmentation

in_path = "." # path to -fecg.npy ECG files
iterations = 100
anomaly_type = "RBBB"

ecgs, annotations = ecgaugmentation.augment(in_path, out_path, anomaly_type)

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

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

ecgaugmentation-0.0.1.tar.gz (1.6 kB view hashes)

Uploaded Source

Built Distribution

ecgaugmentation-0.0.1-py3-none-any.whl (2.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page