Skip to content

kiriclope/SPINN

Repository files navigation

Spiking RNN simulator

Introduction

This package provides an implementation of a spiking recurrent neural network simulator with c++. The network can have multiple neural populations, different connectivity profiles (all to all, sparse, tuned, ...). For more info look at the config files in ./conf/.

Installation

This package requires A C++ Compiler supporting C++17, CMake (optional) and yaml-cpp

To install with CMake:

cd bin/
cmake ..
make

If you have already installed the dependencies you can just use the Makefile

make

Alternatively you can use Docker

docker pull ghcr.io/kiriclope/lif_cpp:latest

Usage

Assuming the dependencies are installed, here is how to run the model (see notebooks folder or org folder for more doc)

from python

from run_model import run_cpp

run_cpp('session_name', 'bin_path', 'config_file_path')

Contributing

Feel free to contribute.

MIT License
Copyright (c) [2023] [A. Mahrach]