A thin convenience wrapper around CereLink's cerebus.cbpy.
Requirements:
Cerelink python module cerebus
must be installed.
- Either download and install from the wheel on the releases page,
- or directly from source if on an internet-connected machine,
pip install git+https://github.com/SachsLab/cerebuswrapper.git
from cerebuswrapper import CbSdkConnection
cbsdk_conn = CbSdkConnection()
cbsdk_conn.connect()
cbsdk_conn.cbsdk_config = {'reset': True, 'get_continuous': True}
result, data = cbsdk_conn.get_continuous_data()
cbsdk_conn.disconnect() # Will also disconnect when being deleted.