Blood pressure waveform processing toolbox
Project description
Blood Pressure Waveform Processing Toolbox // Vérnyomáshullám-feldolgozó eszközök.
Installation
$ cd <project_root> $ pip install -U .
Generating documentation
$ cd <project_root> $ pip install -U .[docs] $ cd <project_root>/docs $ make clean $ make html
This creates <project_root>/docs/build/html/index.html, that can be opened in a browser.
Tests
$ cd <project_root> $ pip install -U .[tests] $ python -m pytest $ python -m pytest --cov --cov-report=html
Tests requiring human evaluation (like visualisations) can be skipped or run separately (these are marked with the @pytest.mark.human decorator):
$ python -m pytest -m human $ python -m pytest -m "not human"
BP waveforms used for tests and examples were downloaded from the Autonomic Aging: A dataset to quantify changes of cardiovascular autonomic function during healthy aging [AAC] dataset of [PhysioNet].
Development
This project uses some automated QA and source formatting tools, such as isort, Flake8, Black and mypy:
$ cd <project_root> $ pip install -U .[dev] $ isort . $ flake8 . $ black . $ mypy .
References
Schumann, A., & Bär, K. (2021). Autonomic Aging: A dataset to quantify changes of cardiovascular autonomic function during healthy aging (version 1.0.0). PhysioNet. https://doi.org/10.13026/2hsy-t491.
Goldberger, A., Amaral, L., Glass, L., Hausdorff, J., Ivanov, P. C., Mark, R., … & Stanley, H. E. (2000). PhysioBank, PhysioToolkit, and PhysioNet: Components of a new research resource for complex physiologic signals. Circulation [Online]. 101 (23), pp. e215–e220.
- 0.0.3 (2024-04-30)
Features:
SignalReader base class and CsvReader.
Signal.plot: grid on by default. New parameter t0.
to_csv: simple CSV export
ChPoints.plot: plot independently of the containing signal.
Slicing of ChPoints, shifting indices with scalar (+, -)
visu.plot_signal_slices.
Fixes:
Signal.__getitem__ can no longer produce empty slices in Signal.slices.
Signal.slices validation error messages now contain the key.
- 0.0.2 (2024-02-27)
Breaking changes:
Signal.copy: arguments made keyword-only
Features:
CpIndices.NAMES
New attribute Signal.slices
Slicing Signal by time or onsets: by_t, by_onset.
Signal.t2i accepts backward (negative) time point.
Fixes:
Error message in Signal.chpoints setter.
Typing of Signal.y.
Validate in Signal that y, t and marks value is 1D (to prevent scalar values from wrongly called numpy functions).
- 0.0.1 (2023-01-12)
First release.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bpwave-0.0.3.tar.gz.
File metadata
- Download URL: bpwave-0.0.3.tar.gz
- Upload date:
- Size: 23.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
55620b1294a243e9c191c419bf57fb212c2115dddc40efde772efe5d051bc8c9
|
|
| MD5 |
d027d0130e2b30671c5838c63f8cfbb4
|
|
| BLAKE2b-256 |
e18102fd55d4873e9eee16c1585879b9b00aafee4046fbf495289212f25422dc
|
File details
Details for the file bpwave-0.0.3-py3-none-any.whl.
File metadata
- Download URL: bpwave-0.0.3-py3-none-any.whl
- Upload date:
- Size: 18.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8000a1bac1919e40dc4f4af831677f40cc5e12a4055b0496ef6fca8aae37e32
|
|
| MD5 |
8dd5238ea3f8092825f9d014f2d5a222
|
|
| BLAKE2b-256 |
1bd30124eedc7e6bfda1c2af76c5bb104dd180809666c318d69e65b453f8799e
|