Python API for Mentalab biosignal aquisition devices
Project description
=========
explorepy
=========
.. image:: logo.png
:scale: 100 %
:align: center
========
Overview
========
A Python API for Mentalab biosignal aquisition devices
Requirements
============
* Python 3.5 or newer version
* `numpy <https://github.com/pybluez/pybluez>`_
* `pybluez <https://github.com/pybluez/pybluez>`_ (check their repo for the requirements of pybluez)
* `pylsl <https://github.com/labstreaminglayer/liblsl-Python>`_
* `scipy <https://github.com/scipy/scipy>`_
* `bokeh <https://github.com/bokeh/bokeh>`_
Installation
============
To install ``explorepy`` from PyPI run:
::
pip install explorepy
To install the latest development version run:
::
pip install git+https://github.com/Mentalab-hub/explorepy
Example use
===========
CLI command:
``explorepy acquire -n Explore_XXXX``
Enter ``explorepy -h`` for help.
The following code connects to the Explore device and prints the data.
::
import explorepy
explorer = explorepy.Explore()
explorer.connect(device_name="Explore_XXXX") # Put your device Bluetooth name
explorer.acquire()
You can also visualize signal in real-time.
::
import explorepy
explorer = explorepy.Explore()
explorer.connect(device_name="Explore_XXXX") # Put your device Bluetooth name
explorer.visualize(n_chan=4) # Give number of channels (2, 4 or 8)
EEG:
.. image:: images/Dashboard_EEG.jpg
:width: 800
:alt: EEG Dashboard
ECG with heart beat detection:
.. image:: images/Dashboard_ECG.jpg
:width: 800
:alt: ECG Dashboard
Documentation
=============
To see full documentation of the API, visit: https://explorepy.readthedocs.io/
Authors
=======
- `Sebastian Herberger`_
- `Mohamad Atayi`_
- `Philipp Jakovleski`_
- `Andreas Gutsche`_
.. _Sebastian Herberger: https://github.com/SHerberger
.. _Mohamad Atayi: https://github.com/bmeatayi
.. _Philipp Jakovleski: https://github.com/philippjak
.. _Andreas Gutsche: https://github.com/andyman410
Changelog
=========
0.3.0 (10-05-2019)
------------------
* Explore dashboard
* Real-time visualization of ExG and orientation signal
* Device information in Dashboard
* Environmental data (battery, temperature and light)
* Real-time bandpass filter
* New packet structures (ADS1294R & ADS1298R)
* Heart rate estimation and R-peaks detector in dashboard
0.2.0 (2019-03-08)
------------------
* Added real-time recording feature
* Added Command Line Interface
* Added lsl integration
* Added new packet classes
* Fixed reconnect issues
* Removed input requests inside functions
0.1.0 (2019-01-18)
------------------
* First release on PyPI.
explorepy
=========
.. image:: logo.png
:scale: 100 %
:align: center
========
Overview
========
A Python API for Mentalab biosignal aquisition devices
Requirements
============
* Python 3.5 or newer version
* `numpy <https://github.com/pybluez/pybluez>`_
* `pybluez <https://github.com/pybluez/pybluez>`_ (check their repo for the requirements of pybluez)
* `pylsl <https://github.com/labstreaminglayer/liblsl-Python>`_
* `scipy <https://github.com/scipy/scipy>`_
* `bokeh <https://github.com/bokeh/bokeh>`_
Installation
============
To install ``explorepy`` from PyPI run:
::
pip install explorepy
To install the latest development version run:
::
pip install git+https://github.com/Mentalab-hub/explorepy
Example use
===========
CLI command:
``explorepy acquire -n Explore_XXXX``
Enter ``explorepy -h`` for help.
The following code connects to the Explore device and prints the data.
::
import explorepy
explorer = explorepy.Explore()
explorer.connect(device_name="Explore_XXXX") # Put your device Bluetooth name
explorer.acquire()
You can also visualize signal in real-time.
::
import explorepy
explorer = explorepy.Explore()
explorer.connect(device_name="Explore_XXXX") # Put your device Bluetooth name
explorer.visualize(n_chan=4) # Give number of channels (2, 4 or 8)
EEG:
.. image:: images/Dashboard_EEG.jpg
:width: 800
:alt: EEG Dashboard
ECG with heart beat detection:
.. image:: images/Dashboard_ECG.jpg
:width: 800
:alt: ECG Dashboard
Documentation
=============
To see full documentation of the API, visit: https://explorepy.readthedocs.io/
Authors
=======
- `Sebastian Herberger`_
- `Mohamad Atayi`_
- `Philipp Jakovleski`_
- `Andreas Gutsche`_
.. _Sebastian Herberger: https://github.com/SHerberger
.. _Mohamad Atayi: https://github.com/bmeatayi
.. _Philipp Jakovleski: https://github.com/philippjak
.. _Andreas Gutsche: https://github.com/andyman410
Changelog
=========
0.3.0 (10-05-2019)
------------------
* Explore dashboard
* Real-time visualization of ExG and orientation signal
* Device information in Dashboard
* Environmental data (battery, temperature and light)
* Real-time bandpass filter
* New packet structures (ADS1294R & ADS1298R)
* Heart rate estimation and R-peaks detector in dashboard
0.2.0 (2019-03-08)
------------------
* Added real-time recording feature
* Added Command Line Interface
* Added lsl integration
* Added new packet classes
* Fixed reconnect issues
* Removed input requests inside functions
0.1.0 (2019-01-18)
------------------
* First release on PyPI.
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
explorepy-0.3.0.tar.gz
(43.2 kB
view details)
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 explorepy-0.3.0.tar.gz.
File metadata
- Download URL: explorepy-0.3.0.tar.gz
- Upload date:
- Size: 43.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.6.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
264590e51d6fdb28d9ac41dab83ba54f2105a7b4642c84d716d3d0180273be58
|
|
| MD5 |
a3c64870fb5351023b37c86f53736bb2
|
|
| BLAKE2b-256 |
bdc341c9d2b9e70265a9b440ff6c308775ecac183743fe9712d19c8af7ecf4c0
|
File details
Details for the file explorepy-0.3.0-py2.py3-none-any.whl.
File metadata
- Download URL: explorepy-0.3.0-py2.py3-none-any.whl
- Upload date:
- Size: 16.7 MB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.6.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
05334aaa286d211bfff80a42820cde17c8dff6cb972eac179badfb31b0d8abde
|
|
| MD5 |
cb3e1ddfbd65f576dd16b6cf96a49e88
|
|
| BLAKE2b-256 |
6bc06647684fb1e2bbc462fa7144615c753f9a7ad74444f57db86221603c0dc9
|