Running a full BCI simulation
If you’re eager to get started with NDS, you can run a full BCI simulation out of the box by following these steps:
Complete the installation (make sure to install the
[extras]
dependencies).Run the following script:
run_closed_loop
Note
You might need to give permissions like network access when running this script.
After running the run_closed_loop
script1, you’ll be prompted with instructions on how to perform the center-out reaching task. And that’s it, you’re now the brain
that makes the BCI
!
You can specify the path for settings of each module :
--nds-settings-path
defines the path for the settings file of the NDS modules (encoder and ephys generator)--decoder-settings-path
defines the path for the settings file of the decoder provided as example--task-settings-path
defines the path for the settings file of the center out reach task provided as example
- 1
This script automates running the
center_out_reach
task that is used to generate behavior data, the encoder to consume and generate spiking rates, the ephys_generator to transform the spiking rates into electrophysiology data, and the decoder to transform electrophysiology data back into decoded behavior.