Skip to main content

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.

Release files for openbci 0.2.3

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

Source distribution (sdist)

Source distribution for openbci 0.2.3
File Size Uploaded
openbci-0.2.3.tar.gz 14.1 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for openbci 0.2.3
File Interpreter ABI Platform
openbci-0.2.3-py3-none-any.whl Python 3 none any Details

Total release size: 28.4 MB

Release files / openbci-0.2.3.tar.gz

Download URL openbci-0.2.3.tar.gz
Size 14.1 MB
Tags Source
SHA-256 checksum
How to use checksums
ab2e6be93e1be0d4fb40e6f476ec6f0033b04afd5d14af97e61554ea916db62b
BLAKE2b-256 checksum
How to use checksums
c08e5dab9c7abfaf3db72cd2d11b400259b1dfdf7a1366689957c5b921d62dea
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / openbci-0.2.3-py3-none-any.whl

Download URL openbci-0.2.3-py3-none-any.whl
Size 14.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
c2046ad97bae05ace41577013ce7738fffda8ef8727fd1e058fbb6eafb307960
BLAKE2b-256 checksum
How to use checksums
d5b427839065d6cd2ddc7b9a8c1da42732193d0a602e5aea7756bea718733bf2
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.2.3 This release

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.1.10

2 release files

0.1.8

2 release files

0.1.7

1 release file

0.1

2 release files

0.0

1 release file

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