| 1 |
# Excitatory/Inhibitory Network for PopNet |
| 2 |
|
| 3 |
## Requirements |
| 4 |
|
| 5 |
* BMTK |
| 6 |
* NEST 2.12+ |
| 7 |
|
| 8 |
## Files |
| 9 |
* network/ - Circuit file of E/I cells and external network. If folder doesn't exists use the build_network.py script. |
| 10 |
* inputs/ - Spike-train files corresponding to the external network used to drive the simulation. |
| 11 |
* config.json - simulation and network parameters. |
| 12 |
* build_network.py - Used to build the network/ files. |
| 13 |
* run_popnet.py - Script for running the network simulation. |
| 14 |
|
| 15 |
|
| 16 |
## Building the Network |
| 17 |
|
| 18 |
The Network model files must be built for running the simulation using the build_network.py script. |
| 19 |
|
| 20 |
```bash |
| 21 |
$ python build_network.py |
| 22 |
``` |
| 23 |
|
| 24 |
## Running the Simulation |
| 25 |
|
| 26 |
You can use config.json to change parameters for simulating the network. By default everything recorded during the |
| 27 |
simulation is saved in the output/ directory, including a running log.txt to keep track of progress. |
| 28 |
|
| 29 |
```bash |
| 30 |
$ python run_popnet.py config.json |
| 31 |
``` |