Skip to main content

Documentation Status Downloads Latest Version Supported Python versions Supported Python implementations Development Status License

A Python package for gathering and viewing data from the Olimex EKG/EMG Shield.

NOTICE

THIS SOFTWARE DOES NOT PROVIDE MEDICAL ADVICE

The information provided by this software is not medical advice. By using this software, You acknowledge that this software does not and should not be construed to provide health-related or medical advice, or clinical decision support, or to provide, support or replace any diagnosis, recommendation, advice, treatment or decision by an appropriately trained and licensed physician, or to create a patient-physician relationship. You hereby agree that this software will not be relied on or used, in whole or in part, for any of the preceding purposes by or on Your behalf with respect to any individual(s). If You believe You suffer from any medical condition, whether or not this software’s results support this belief, You should immediately seek professional medical advice or consult with a qualified medical professional.

Installation

pip install olimex-ekg-emg

Usage

First run both Jupyter Noteobook and Bokeh’s server:

In one terminal window:

$ jupyter notebook

In another terminal window:

$ bokeh serve

Then from within a Jupyter notebook cell:

from olimex.nb import exg; exg(<port or mock data name>)

This will start a new browser tab/window where the EKG will appear. the value passed to the exg function can be a port (eg. /dev/tty.usbmodem1411, COM1) or the name of a mock data file (nsr.bin).

To list all available ports that may be sending EKG data, use:

from olimex.utils import list_serial_ports

list_serial_ports()

To list all mock data:

from olimex.utils import get_mock_data_list

_, mock_data = get_mock_data_list()
mock_data

Example Output

https://github.com/logston/olimex-ekg-emg/raw/master/docs/images/nsr.gif

Further Documentation

Further documentation can be found on Read the Docs.

Release files for olimex-ekg-emg 0.2.1

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

Source distribution (sdist)

Source distribution for olimex-ekg-emg 0.2.1
File Size Uploaded
olimex-ekg-emg-0.2.1.tar.gz 8.2 MB Details

Release files / olimex-ekg-emg-0.2.1.tar.gz

Download URL olimex-ekg-emg-0.2.1.tar.gz
Size 8.2 MB
Tags Source
SHA-256 checksum
How to use checksums
19e723427b57fc087e206ca498741dddbb6798fd0014f7b7590897fc3c0aac6e
BLAKE2b-256 checksum
How to use checksums
62bae2df9238e092375e2b7452d6d48f2d81f98bf716c526f5bfa6aa51c89d73
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
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