VitalPy: A Vital Signal Analysis Package
Currently, the package supports PPG preprocessing and extraction of more than 400 features. The PPG pipeline was originally implemented for analysis of the AuroraBP database.
It provides:
- PPG preprocessing: Singal quality metrics, baseline extraction, etc.
- PPG feature extraction: time-domain, frequency-domain, statistical features ( >400 features)
- Compatibility with PPG recorded from 128 Hz to 500 Hz: tested with local devices and large datasets.
Use
VitalPy is written in Python (3.9+). Navigate to the Python repository and install the required packages:
pip install -r requirements.txt
Import:
from src.ppg.PPGSignal import PPGSignal
Check the signal (make sure that the file waveform_df is in dataframe format and contains the columns 't' for time and 'ppg' for the signal values):
signal = PPGSignal(waveform_df, verbose=1)
signal.check_keypoints()
Get features:
signal = PPGSignal(waveform_df, verbose=0)
features = signal.extract_features()
Example plots for a AuroraBP signal
Used file: measurements_oscillometric/o001/o001.initial.Sitting_arm_down.tsv
Mean signal
The following figure shows the mean template computed from all templates within the signal given as input.
Preprocessing steps
All preprocessing steps are depicted. The final result should have filtered out all low quality waveforms.
PPG Keypoints
Exemplary PPG keypoint extraction.
License
VitalPy is available under the General Public License v3.0.
Citation
If you use this repository or any of its components and/or our paper as part of your research, please cite the publication as follows:
A. Cisnalet al. "Robust Feature Selection for Continuous BP Estimation in Multiple Populations: Towards Cuffless Ambulatory BP Monitoring," IEEE J Biomed Health Inform, Under Review (2023).
@unpublished{vitalpy,
title={Robust Feature Selection for Continuous BP Estimation in Multiple Populations: Towards Cuffless Ambulatory BP Monitoring},
author={Cisnal, Ana and Li, Yanke and Fuchs, Bertram and Ejtehadi, Mehdi and Riener, Robert and Paez-Granados, Diego},
journal={IEEE Journal of Biomedical and Health Informatics},
year={2023},
note = "Under review"
}
Metadata
Release files for vitalpython 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vitalpython-0.1.0.tar.gz | 193.0 kB | Without provenance | Details for vitalpython-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vitalpython-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for vitalpython-0.1.0-py3-none-any.whl |
Total release size: 238.9 kB
Release files / vitalpython-0.1.0.tar.gz
| Download URL | vitalpython-0.1.0.tar.gz |
|---|---|
| Size | 193.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a1e1fd5951954691af253d13f9d9ea2eac67f13bda52f641fadae0285c801de5
|
|
BLAKE2b-256 checksum How to use checksums |
e93c88938ea582db7a18ccbc25d9f72fabae23c02af41bb83f82f718bd995fe3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Release files / vitalpython-0.1.0-py3-none-any.whl
| Download URL | vitalpython-0.1.0-py3-none-any.whl |
|---|---|
| Size | 45.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cd71cc3e967cd98c399b8c4ca3a3e5d63a2d70587b66aaa81dce9656fb59050f
|
|
BLAKE2b-256 checksum How to use checksums |
f97904d4483d69059b72240ef433b14c257f60434467a63207b332b256b9d7ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Security for vitalpython 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.