Skip to main content

UCI cBP demo

https://img.shields.io/pypi/v/uci_cbp_demo.svg https://img.shields.io/travis/taoyilee/uci_cbp_demo.svg Documentation Status

GUI to demo continuous blood pressure sensing works on Linux, Windows, and MacOS X. This GUI requires custom firmware installed on MbientLab Metamotion R device, and a capacitor to digital converter from Analog Devices, AD7746.

Pull requests welcome! Please fork repository to begin with.

Quick Start

Following command assumes a Linux environment. For Windows and MacOSX setup, you may need to tweak the commands a little bit, according to your system setup.

# setup virtual environment
python -m venv venv

# enter virtual environment
source venv/bin/activate

# install the latest code from PyPI
pip install uci-cbp-demo

# power up the hardware

# start GUI with parameters a=1 b=0
uci_cbp_demo gui -a 1 -b 0

To list available CLI options, use

uci_cbp_demo gui --help
# Usage: uci_cbp_demo gui [OPTIONS]
#
# Options:
# -a INTEGER  Scaling coefficient
# -b INTEGER  Shifting in Y
# --help      Show this message and exit.

Troubleshooting

  1. If you run into issues saying

    Could not fetch URL https://pypi.python.org/ … There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:645) - skipping

    Try follow steps described in pypa repository

curl https://bootstrap.pypa.io/get-pip.py | python

MAC OS Notes

  1. OS X/macOS support via Core Bluetooth API, from at least version 10.11

  2. The macOS backend of Bleak is written with pyobjc directives for interfacing with Foundation and CoreBluetooth APIs. There are some values that pyobjc is not able to overwrite and thuse the corebleak framework was written to circumvent these issues. The most noticible difference between the other backends of bleak and this backend, is that CoreBluetooth doesn’t scan for other devices via MAC address. Instead, UUIDs are utilized that are often unique between the device that is scanning the the device that is being scanned.

History

0.1.0 (2020-02-17)

  • First release on PyPI.

0.1.2 (2020-02-17)

  • Fix typo and restrict support to Python 3.8

0.1.3 (2020-02-17)

  • Add device scanner and MacOSX support

0.2 (2020-02-17)

  • Support 2 channel operation and new board

0.5.0 (2020-04-19)

  • Supports waveform export

  • Allows searching for devices from GUI

  • GUI settings persistence

Metadata

Release files for uci-cbp-demo 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for uci-cbp-demo 0.6.0
File Size Uploaded
uci_cbp_demo-0.6.0.tar.gz 563.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for uci-cbp-demo 0.6.0
File Interpreter ABI Platform
uci_cbp_demo-0.6.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 592.1 kB

Release files / uci_cbp_demo-0.6.0.tar.gz

Download URL uci_cbp_demo-0.6.0.tar.gz
Size 563.8 kB
Tags Source
SHA-256 checksum
How to use checksums
5b22435c57b33d0632606226ea6d9cc2638b617e9a8eb124263aef25be1663b0
BLAKE2b-256 checksum
How to use checksums
e76f6a2bec1e0496bed41b3fcb63f306f8d3e06d1354567c46b2dda0f23d8b9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.14.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.5

Release files / uci_cbp_demo-0.6.0-py2.py3-none-any.whl

Download URL uci_cbp_demo-0.6.0-py2.py3-none-any.whl
Size 28.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
f4b166b10c3c574d059a307ff55505e11231399da2556d4de577b4527f8879a2
BLAKE2b-256 checksum
How to use checksums
c7591b79a8f86c126ca65bd208e7222932f403db85d8dfc6bc3a5f03fdf13da8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.14.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.5

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.1

2 release files

0.2

2 release files

0.1.5

2 release files

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page