biotop: picking peaks in physiological data
A simple GUI for human-assisted semiautomatic ECG and respiration preprocessing.
Purpose ECG analysis of real-world data can be tricky, especially when there are lots of artefacts. Automated pipelines exist but the results can often not be inspected, and not manually adjusted.
The current script allows you to import, view and explore ECG and respiratory data. You can run automated peak detection which you can then inspect and modify manually. The results are saved in a JSON file format.
Prerequisites
- Python 3.X
Prerequisite packages are installed automatically using the following:
python3 -m pip install biotop
Usage
For ECG analysis:
biotop
For respiration analysis:
respire
Basic GUI controls
- Mouse scroll wheel up/down : Scroll back and forth in time
Ctrlkey + Mouse scroll wheel up/down : Zoom in/out in time- Mouse left button double click : Insert peak (or zoom in if not zoomed in enough)
- Hold down
shiftwhile moving the mouse : Snap to closest maximum - Mouse right button single click : Remove peak
- Mouse middle button click : Insert marker for invalid region
- Mouse middle button double click : Remove invalid region
- Keyboard keys:
ztoggles between micro and macro zoom (make sure the window has focus)ashows the entire signal- Left/right arrow keys scroll through the signal slowly
- PageDown/PageUp keys browse through the signal a full window at a time
For respire (the respiration picker script)
- Hold down
ctrlwhile moving the mouse : Snap to closest minimum (handy for selecting troughs)
Development
Install latest development version:
pip install --upgrade "biotop @ git+https://github.com/florisvanvugt/biotop"
Wishlist
- Show a window when waiting for peak autodetection to complete
- Make sure y axis labels remain visible even for greater zoom
Metadata
Release files for biotop 0.5.3
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 |
|---|---|---|---|---|
| biotop-0.5.3.tar.gz | 38.0 kB | Without provenance | Details for biotop-0.5.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| biotop-0.5.3-py3-none-any.whl | Python 3 | none | any | Details for biotop-0.5.3-py3-none-any.whl |
Total release size: 76.6 kB
Release files / biotop-0.5.3.tar.gz
| Download URL | biotop-0.5.3.tar.gz |
|---|---|
| Size | 38.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
38246e44751d07d978917cc132f27ba6b43ba9c9cf440022c5d8bef09d7b981e
|
|
BLAKE2b-256 checksum How to use checksums |
6859545d15eed194650d88edd75e194319d6bd90c30b3ed531e3f2d7a4085270
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Release files / biotop-0.5.3-py3-none-any.whl
| Download URL | biotop-0.5.3-py3-none-any.whl |
|---|---|
| Size | 38.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5aa6d1c7f2cc1a11ccbbb2c4b1cf1864e683b776967a5ffa4d8c4c74c5d90686
|
|
BLAKE2b-256 checksum How to use checksums |
aad5529420f214316ae288bd7e85e5dc770ffe096e56ac3975afb64237d50cb5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Security for biotop 0.5.3
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.