To simulate the Spinal Dorsal Horn Network Model:
- Install python3 (from https://www.python.org/downloads/)
Then open the terminal (for Macs) and run the following commands: 2. Install NEURON and NetPyNE:
pip3 install neuron pip3 install netpyne
- Change to the directory containing SDH model files. Example:
cd ~/Downloads/SDHmodel
- Compile the mod files:
nrnivmodl mods
- Run the script to initialize the model:
nrniv -python init_mechanical.py
Running the model scripts (Step 5) can also be done in the interative Python (IPython) shell:
ipython run init_mechanical.py
- Data and figures will save to SDHmodel/data directory
The output of this code reproduces the raster plot (Fig. 3A) and synaptic connectivity matrix (Fig. 3D) from Sekiguchi et al. (2021).