Skip to content

Latest commit

 

History

History

README.md

PyNEST implementation

Installing the python package spikingtemporalmemory

The PyNEST implementation of the model is provided in the form of a python package spikingtemporalmemory and is contained in SpikingTemporalMemory/PyNEST:

cd PyNEST

We 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 .

Testing

Executing

pytest

runs the unit test(s) in SpikingTemporalMemory/PyNEST/tests.

Usage

After installation, the spikingtemporalmemory python package can be imported in a python application using

import spikingtemporalmemory

See this example for a more detailed illustration of how the package can be used.

Software requirements

  • 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.py

References

License

License: GPL v3

This project is licensed under the GNU General Public License v3.0.
For details, see here.