Skip to main content

Hight level Python module for OpenBCI hardware by GCPDS.

Project description

OpenBCI

Hight level Python module for OpenBCI hardware.

::: warning

  • This is NOT an official package from OpenBCI team.
  • This module is still unstable and not recommended for use in production. :::

What is?

A Python module for interaction with OpenBCI boards. Currently, we have support for Cyton (and Daisy) and their WiFi module. All source code can be accessed from our bitbucket repository.

What do we want?

We want a stable, high level, easy to use and extensible Python module for work with OpenBCI, for students and researchers. We are developing a set of tools for preprocessing, real-time data handling and streaming.

Who are we?

We are a research group focused on digital processing of signals and machine learning from the National University of Colombia at Manizales (GCPDS).

How works?

An acquisition object can be instantiated from differents backend imlplementation: Serial, WiFi and WebSockets.

Synchronous

For more details refers to Cyton data acquisition.

from openbci.acquisition import CytonRFDuino as Device
# from openbci.acquisition import CytonWiFi as Device

openbci = Device()
openbci.collect(5)

eeg_data = openbcib.eeg_buffer()

Aynchronous

For more details refers to WiFi data acquistion.

from openbci.acquisition import CytonRFDuino as Device
# from openbci.acquisition import CytonWiFi as Device

openbci = Device()
openbci.start_collect()
# some python stuff 
openbci.stop_collect()

eeg_data = openbcib.eeg_buffer()

WebSockets

For more details refers to WebSockets data acquistion.

from openbci.stream.ws import CytonWS_decorator

@CytonWS_decorator()
def eeg_with_ap(ws, eeg_data):
    """"""
    # some python stuff 

API

Contact:

Main developer: Yeison Cardona yencardonaal@unal.edu.co, @yeisondev.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for openbci, version 0.2.3
Filename, size File type Python version Upload date Hashes
Filename, size openbci-0.2.3-py3-none-any.whl (14.3 MB) File type Wheel Python version py3 Upload date Hashes View
Filename, size openbci-0.2.3.tar.gz (14.1 MB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page