User Reference:NeuroStimulationParamsGUI: Difference between revisions
Wengelhardt (talk | contribs) No edit summary |
|||
| Line 27: | Line 27: | ||
Here three graphs are visualized, each with a different time scale. The top left, labeled "Single Pulse", shows one single pulse. The top right graph shows the full time range of the stimulation pulses. The bottom shows the full stimulation train, which is mainly defined by the parameters "Train Duration" and "Train Frequency". Each "pulse", where the value is 1, is the duration of the stimulation, which is shown in the top right figure. You can think of it as increasing the time scale as you go clockwise from the "Single Pulse" graph. | Here three graphs are visualized, each with a different time scale. The top left, labeled "Single Pulse", shows one single pulse. The top right graph shows the full time range of the stimulation pulses. The bottom shows the full stimulation train, which is mainly defined by the parameters "Train Duration" and "Train Frequency". Each "pulse", where the value is 1, is the duration of the stimulation, which is shown in the top right figure. You can think of it as increasing the time scale as you go clockwise from the "Single Pulse" graph. | ||
===Right panel=== | ===Right panel=== | ||
Here is where you can look at the parameters as they would be in BCI2000. They are split up into two tables: Configurations and Triggers. The Configuration table specifies what you are seeing in the figures. The Triggers table correlates to when each configuration is triggered, and to which | Here is where you can look at the parameters as they would be in BCI2000. They are split up into two tables: Configurations and Triggers. The Configuration table specifies what you are seeing in the figures. The Triggers table correlates to when each configuration is triggered, and to which electrode(s) the configuration goes to. | ||
===Important Notes=== | ===Important Notes=== | ||
* The expression that is automatically added is "StimulusCode==", and the number increases from 1. This seems to be the most common trigger in experiments, but if you desire something else, you can manually change it in the table on the right. It still must be a [[User_Reference:Expression_Syntax|valid BCI2000 expression]]. | * The expression that is automatically added is "StimulusCode==", and the number increases from 1. This seems to be the most common trigger in experiments, but if you desire something else, you can manually change it in the table on the right. It still must be a [[User_Reference:Expression_Syntax|valid BCI2000 expression]]. | ||
Revision as of 16:10, 19 May 2022

Functional Description
This Matlab tool helps create parameter files for the Blackrock CereStim and the Neuro Omega from Alpha Omega. If this tool is desired for another stimulation device, please contact engelhardt@neurotechcenter.org and it can be implemented.
Versioning
Authors
- William Engelhardt (engelhardt@neurotechcenter.org)
Version History
- 2022/05/10: Initial working release R6736.
Source Code Revisions
- Initial development: 6736
- Known to compile under: 6736
- Broken since: --
Known Issues/Important Things to Know
- On some versions of Matlab the table column and row names may not show up. If this happens, please change your version of Matlab.
Installation
Assuming you have already installed BCI2000, navigate to "tools", then "NeuroStimulationParamsGUI". This folder will contain the installation file for the Matlab application. Double-clicking this will automatically open Matlab, and install the app in your apps. You can find it under the header "APPS". Open this app, and you are set.
General Overview
There are three main sections to the app:
Left panel
This is where you define the parameters for your desired stimulation. The bottom button, "Export to parameter file", lets you export the tables on the Right Panel to a valid BCI2000 parameter file.
Middle panel
Here three graphs are visualized, each with a different time scale. The top left, labeled "Single Pulse", shows one single pulse. The top right graph shows the full time range of the stimulation pulses. The bottom shows the full stimulation train, which is mainly defined by the parameters "Train Duration" and "Train Frequency". Each "pulse", where the value is 1, is the duration of the stimulation, which is shown in the top right figure. You can think of it as increasing the time scale as you go clockwise from the "Single Pulse" graph.
Right panel
Here is where you can look at the parameters as they would be in BCI2000. They are split up into two tables: Configurations and Triggers. The Configuration table specifies what you are seeing in the figures. The Triggers table correlates to when each configuration is triggered, and to which electrode(s) the configuration goes to.
Important Notes
- The expression that is automatically added is "StimulusCode==", and the number increases from 1. This seems to be the most common trigger in experiments, but if you desire something else, you can manually change it in the table on the right. It still must be a valid BCI2000 expression.
- When channels with the same configuration are added, they are added under the same Trigger column. If you want to stimulate channels separately with the same configuration, just change one number of the configuration, generate a new configuration, then change that number back to match the original configuration
CereStim
-
Figure 1: An example configuration for the CereStim.
Refer to the CereStim Wiki page to see the description and limits on each parameter.
NeuroOmega
-
Figure 2: An example configuration for the NeuroOmega.
Refer to the Neuro Omega Wiki page to see the description and limits on each parameter.
- The "Recording Channels" section changes the channels listed in the "Channel" dropdown. If you want to use a channel that is not in any of the options, you can manually change it in the table.
