This repository contains implementations of the eLIF and mAdExp models for BRIAN, NEST, and NEURON.
Just install the BRIAN simulator via pip:
pip install --user brian2
- Install NEST (see here)
- Install NESTML using
pip install nestml
(this code requires NESTML >= 4). - Then run
python nestml/nestml_install.py
to install the models. - See the FAQ if you encouter any issue.
- Download and install NEURON (see here)
- Compile the models via
nrnivmodl elif.mod
andnrnivmodl madexp.mod
Once the installation of one of the simulators is done, you can run the corresponding files:
elif_brian_impl.py
ormadexp_brian_impl.py
for BRIANelif_nest_impl.py
ormadexp_nest_impl.py
for NESTelif_neuron_impl.py
ormadexp_neuron_impl.py
for NEURON
To do this, you can call them with python using e.g.
python elif_brian_impl.py
.