explorepy

Python API for Mentalab biosignal aquisition devices


Keywords
Mentalab, Explorepy, EEG signal
License
MIT
Install
pip install explorepy==0.5.0

Documentation

logo.png

Documentation Status PyPI Package latest release PyPI Wheel Supported versions Commits since latest release Travis-CI Build Status

Explorepy overview

Explorepy is an open-source Python-based biosignal acquisition API for Mentalab's Explore device. It provides users the following features:

  • Real-time streaming of ExG, orientation and environmental data
  • Real-time visualization
  • Data recording
  • LSL integration
  • Impedance measurement
  • Explore device configuration

Quick installation

Requirements

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

For a more detailed installation guide please see Installation page

Get started

CLI command

explorepy acquire -n Explore_XXXX

Enter explorepy -h for help.

Python code

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, bp_freq=(1, 30), notch_freq=50)  # Give the number of channels, frequencies of bandpass and notch filter

EEG:

EEG Dashboard

ECG with heart beat detection:

ECG Dashboard

Documentation

To see full documentation of the API, visit: https://explorepy.readthedocs.io/

Authors

License

This project is licensed under the MIT license.