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
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.2.tar.gz
(1.7 kB
view hashes)
Built Distribution
Close
Hashes for ecgaugmentation-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d9b9380469646ce355095bb7fcb430d67c90f9dd7f1daeb64a7518dcaa7ca96 |
|
MD5 | 7038481278e5bc458d07b858a9f2a75d |
|
BLAKE2b-256 | 1d78a3dcf926203d30442af686f080fea6fe88143a91975d468c8079dabb765d |