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.4.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

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

ecgaugmentation-0.0.4-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file ecgaugmentation-0.0.4.tar.gz.

File metadata

  • Download URL: ecgaugmentation-0.0.4.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.8.1

File hashes

Hashes for ecgaugmentation-0.0.4.tar.gz
Algorithm Hash digest
SHA256 d8cd188133b29f70bc8b4b73471ea8ff3dfc3b3aa4fbfb96ffd904ebe5253a84
MD5 5f613e4648acae543b55df9eb1e59dda
BLAKE2b-256 c213b739de4cda190cc071b22295fdeae106f05947984b51c810096d0e746003

See more details on using hashes here.

File details

Details for the file ecgaugmentation-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: ecgaugmentation-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 2.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.8.1

File hashes

Hashes for ecgaugmentation-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 34f2fc75e2c43610967e1951806f052d6e62908a0504ad608f29f1f6d1ca5695
MD5 532d58ab7ee74431b95534777abd0c14
BLAKE2b-256 b556a152f46264183393f42a76ff1a7c59e04577f2673e57f0a8695a123da03d

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