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.

Source Distribution

openbci-0.2.3.tar.gz (14.1 MB view details)

Uploaded Source

Built Distribution

openbci-0.2.3-py3-none-any.whl (14.3 MB view details)

Uploaded Python 3

File details

Details for the file openbci-0.2.3.tar.gz.

File metadata

  • Download URL: openbci-0.2.3.tar.gz
  • Upload date:
  • Size: 14.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.8.1

File hashes

Hashes for openbci-0.2.3.tar.gz
Algorithm Hash digest
SHA256 ab2e6be93e1be0d4fb40e6f476ec6f0033b04afd5d14af97e61554ea916db62b
MD5 8d5e72e74373317018d1934df48b7f75
BLAKE2b-256 c08e5dab9c7abfaf3db72cd2d11b400259b1dfdf7a1366689957c5b921d62dea

See more details on using hashes here.

File details

Details for the file openbci-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: openbci-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 14.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.8.1

File hashes

Hashes for openbci-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c2046ad97bae05ace41577013ce7738fffda8ef8727fd1e058fbb6eafb307960
MD5 3e634280f28e175e514955b76e5fb21b
BLAKE2b-256 d5b427839065d6cd2ddc7b9a8c1da42732193d0a602e5aea7756bea718733bf2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page