Network Scripting

Network scripting is a special case of Simbrain's scripting capability, which is documented here. Workspace level scripts can be used to create and modifying existing neural networks in many ways.

At the network level, scripts can be invoked from the script menu. The menu is pre-populated with a few scripts with self-explanatory functions. As with the workspace level script menu, this menu is auto-populated based on the contents of the {Simbrain_Dir}/network/scripts. You are encouraged to go that directory and view the script files to get a feel for how they work.

Network menu scripts are standard beanshell scripts with two pre-loaded objects:

  1. network, which refers to the underlying network
  2. networkPanel, which refers to its GUI representation in the desktop