Nengo runs on Linux, OS X, and Windows. The only requirement is that you have Java already installed on your computer. Most computers already do have this installed.
To download Nengo, download the file from http://nengo.ca
To install Nengo, just unzip the file.
To run Nengo, either:
- Double-click on nengo.bat (in Windows)
- run ./nengo (in OS X and Linux)
When creating an NEF model, the first step is to create a Network. This will contain all of the neural ensembles and any needed inputs to the system.
- File->New Network (or drag a network from the sidebar)
- Give the network a name
Nengo also allows users to interact with the model via a scripting interface using the Python language. This can be useful for writing scripts to create components of models that you use often.
You can also use it to inspect and modify various aspects of the model.
Press Ctrl-1 (Command-1 OS X) or choose View->Toggle Script Console to show the script interface
- The full flexibility of the Python programming language is available in this console. It interfaces to the underlying Java code of the simulation using Jython, making all Java methods available.
If you click on an object in the GUI (so that it is highlighted in yellow), this same object is available by the name that in the script console.
- Click on an ensemble
- Open the script console
- type print that.neurons
- type that.neurons=50
You can also run scripts by typing run [scriptname.py] or by opening the script using File->Open or by clicking the folder in the top left.