br_stimpy.stimpy
stimpy: a python package to interface with Blackrock Cerestim API.
Quickstart Example:
from br_stimpy import stimpy
stim_obj = stimpy.Stimulator()
print(stim_obj.api_version)
stim_obj.connect()
stim_obj.simple_stimulus(
electrode=1,
afcf=stimpy.WFType.wf_cathodic_first,
pulses=1,
amp1=10,
amp2=10,
width1=200,
width2=200,
frequency=100,
interphase=100,
)
stim_obj.disconnect()
Note that this module imports constants from constants
in
addition to the classes imported or defined here.
Functions
Get Cerestim API library version |
|
Lookup docstr for a pybind11 enum value and output as string |
Classes
The stimulator is capable of sending stimulation up to 96 different electrodes. |
|
Group Stimulus Structure |
|
The stimulator is capable of housing up to 16 current modules. |
|
The Stimulator is capable of setting different output compliance voltage levels based on the users needs and safety considerations. |
|
There are many versions of the stimulator. |
|
A stimulator object creates a USB connection with the actual CereStim 96 and calls are made to it through the stimulator object. |
|
The Stimulator has internal states, and based on those states the stimulator is allowed to perform different functions. |
|
Simple python interface to Blackrock Cerestim 96 |
|
The stimulator is able to begin stimulating based on an external TTL logic. |
|
The Stimulator is capable of outputting a biphasic current pulse. |