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.pyto install the models. - See the FAQ if you encouter any issue.
- Download and install NEURON (see here)
- Compile the models via
nrnivmodl elif.modandnrnivmodl madexp.mod
Once the installation of one of the simulators is done, you can run the corresponding files:
elif_brian_impl.pyormadexp_brian_impl.pyfor BRIANelif_nest_impl.pyormadexp_nest_impl.pyfor NESTelif_neuron_impl.pyormadexp_neuron_impl.pyfor NEURON
To do this, you can call them with python using e.g.
python elif_brian_impl.py.