BrainBit for developers Subscribe for updates Visit website

Python

Samples - GitLab

The latest version is `1.0.12`.

Supported platforms:
- Windows 10 +
- Astra Linux
- Ubuntu 22.04
- MacOS 10.14 +

Required Python >= 3.7

By pip:

    
pip install pyneurosdk2
    

 

For Linux install the library separately:

1. Download NeuroSDK2 `libneurosdk2.deb` package to your distribution from GitHub

2. Install package:

    
sudo apt install ./libneurosdk2.deb
    

 

The package has the following structure:
- neurosdk - the main package with the implementation of methods
- sample - is a part of neurosdk package, file `sample.py`
- libs - also into neurosdk package, contain .dll library files

 

The library provides three main modules:

- scanner - to search for devices

    
from neurosdk.scanner import Scanner
    

 

- sensor - common methods of interaction with the device

    
from neurosdk.sensor import Sensor
    

 

- BrainBitSensor - methods of interaction with BrainBit device

    
from neurosdk.brainbit_sensor import BrainBitSensor
    

 

- types - implementation of all types of the library, you can either connect everything or only those necessary for a specific task

    
from neurosdk.cmn_types import *