pip install netpyne
pip install neuron
pip install mpi4py
> cd ~/SDH-network
> nrnivmodl
> ipython
>> run init_mechanical.py
Files used are cfg_mechanical.py
(configuration parameters), netParams_mechanical.py
(network parameters), cells.py
(cell types and attributes), genrn.py
(generic neuron template), spkt_gen.py
, plus .JSON files for primary afferent spike trains and .mod files for spinal neurons.
> ipython
>> mpiexec -np X nrniv -python -mpi init_mechanical.py
Where X
is the number of nodes you want to use.