Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 759 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 759 Bytes

cerebuswrapper

A thin convenience wrapper around CereLink's cerebus.cbpy.

Installation

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

Usage

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.