Jump to content

Contributions:CereStim: Difference between revisions

From BCI2000 Wiki
Abelsten (talk | contribs)
No edit summary
Abelsten (talk | contribs)
Line 34: Line 34:


===StimulationConfigurations===
===StimulationConfigurations===
[[File:cerestim_stimulation_definition.png|400px|thumb|right|upright=2.5|Stimulation pulse shape definition]]
<!--[[File:cerestim_stimulation_definition.png|400px|thumb|right|upright=2.5|Stimulation pulse shape definition]]-->
<gallery mode="packed" widths=300px heights=300px>
File:cerestim_stimulation_definition.png|Figure 1: Stimulation pulse shape definition.
File:cerestim_stimulation_configurations.png|Figure 2: Stimulation pulse shape definition in BCI2000.
</gallery>


===StimulationTriggers===
===StimulationTriggers===

Revision as of 16:59, 21 July 2021

Versioning

Blackrock CereStim 96

Author

Alexander Belsten (belsten@neurotechcenter.org)

Version History

  • 2021/07/21: Initial release

Source Code Revisions

  • Initial development: 6337
  • Known to compile under: 6337
  • Broken since: --

Functional Description

This output extension integrates the Blackrock CereStim 96 intracranial stimulator with BCI2000. This integration enables automated stimulation of up to 96 electrodes with 15 different stimulation waveforms.

Integration into BCI2000

Enable the extension in your CMake configuration, enable EXTENSIONS_CERESTIM=On in the Extensions folder of the CMake GUI and then generate the BCI2000 Visual Studio solution in CMake. Next, open the solution with Visual Studio and rebuild the BCI2000FrameworkAppModule, and then rebuild any user application module you want to use the extension with. Once the extension is built into the user application, you can enable it by appending --EnableCereStim=1 to the user application module start executable command in your batch file.

Parameters

The CereStim is configured in the "CereStim" tab. The configurable parameters are:

AppliedVoltage

The CereStim drives current, so the applied voltage fluctuates according to the impedance between the current source (electrode) and drain. This dropdown parameter sets the maximum applied voltage (there will be no notification that this maximum has been met).

AppliedCurrent

This parameter sets the maximum applied current in microamps. Unlike the applied voltage which fluctuates and therefore may or may not hit the maximum, this parameter serves the purpose of being a safety check for your uploaded stimulation configurations. Thus, to be 100% sure you are not stimulating above a desired current value, you can set this parameter to that maximum. If set to auto, the default will be the maximum current the CereStim can stimulate with.

AppliedPhaseCharge

This parameter sets the maximum applied phase charge, where charge=amplitude*width. Amplitude is the current amplitude in microamps and width is phase duration in microseconds. If set to auto, this parameter will default to the maximum value.

AppliedFrequency

This parameter sets the maximum frequency that stimulation pulses can have in Hz. If set to auto, this value defaults to the maximum.

StimulationConfigurations

StimulationTriggers

DeviceInfo

This parameter is auto populated with information about the hardware and firmware versions of the CereStim stimulator that is connected. This information will be viewable during offline analysis by opening the resulting .dat file.

States

CereStimStimulation

Latency

See also