The PyNEST implementation of the model is provided in the form of a python package spikingtemporalmemory and is contained in SpikingTemporalMemory/PyNEST:
cd PyNESTWe recommend installing the python package inside a python environment:
- Create a python environment
python -m venv spikingtm
- Activate the python environment:
source spikingtm/bin/activate - Note: NEST needs to be installed locally in the virtual environment (see software requirements)
The spikingtemporalmemory python package can be installed using:
pip install -U pip
pip install .Executing
pytestruns the unit test(s) in SpikingTemporalMemory/PyNEST/tests.
After installation, the spikingtemporalmemory python package can be imported in a python application using
import spikingtemporalmemorySee this example for a more detailed illustration of how the package can be used.
- NEST=>3.8.0 (NEST installation)
- NESTML>=8.1.0
- matplotlib, numpy, wandb, parameters_space
Build and install the custom neuron and synapse models using NESTML:
python compile_nestml_models.pyThis project is licensed under the GNU General Public License v3.0.
For details, see here.