C++ library for simulating spiking neural networks

Frank/Phenom 6a7c5b463f Add X11 license file 4 år sedan
cmake e8a18157d5 ObjSim: object oriented simulation library for spiking neural networks 4 år sedan
data e8a18157d5 ObjSim: object oriented simulation library for spiking neural networks 4 år sedan
doc e8a18157d5 ObjSim: object oriented simulation library for spiking neural networks 4 år sedan
env 987f54a712 Add .gitignore files 4 år sedan
minimal e8a18157d5 ObjSim: object oriented simulation library for spiking neural networks 4 år sedan
mycxxtests e8a18157d5 ObjSim: object oriented simulation library for spiking neural networks 4 år sedan
python 987f54a712 Add .gitignore files 4 år sedan
scripts e8a18157d5 ObjSim: object oriented simulation library for spiking neural networks 4 år sedan
sensorycancel e8a18157d5 ObjSim: object oriented simulation library for spiking neural networks 4 år sedan
simulations e8a18157d5 ObjSim: object oriented simulation library for spiking neural networks 4 år sedan
src e8a18157d5 ObjSim: object oriented simulation library for spiking neural networks 4 år sedan
.cproject e8a18157d5 ObjSim: object oriented simulation library for spiking neural networks 4 år sedan
.gitignore e8a18157d5 ObjSim: object oriented simulation library for spiking neural networks 4 år sedan
.hgignore e8a18157d5 ObjSim: object oriented simulation library for spiking neural networks 4 år sedan
.project e8a18157d5 ObjSim: object oriented simulation library for spiking neural networks 4 år sedan
CMakeLists.txt e8a18157d5 ObjSim: object oriented simulation library for spiking neural networks 4 år sedan
LICENSE.md 6a7c5b463f Add X11 license file 4 år sedan
build_all.sh e8a18157d5 ObjSim: object oriented simulation library for spiking neural networks 4 år sedan
readme.md 305d015bfd Document compiling and running of simulations, add jupyter start script 4 år sedan
start_jupyter.sh 305d015bfd Document compiling and running of simulations, add jupyter start script 4 år sedan

readme.md

ObjSim

This is a c++ based object oriented library for simulating spiking neural networks. It was used for simulations in the following publications:

Compiling

Running build_all.sh will compile:

  • the simulation library csim (source code is in src)
  • simulation main programs:
    • simulations/fm/som02/som02.cpp which was used in Frank Michler et al. (2009)
    • minimal/minimal.cpp is a minimal simulation program demonstrating how to use the library.
  • some unit tests in mycxxtests using the cxxtest library

Binaries will be installed in install.

Running via command line

You can run the simulations via:

cd install/bin/som02
./som02

settings_som02.cfg contains default simulation parameters that can be overwritten via command line arguments.

Running via Jupyter noteooks

start_jupyter.sh starts jupyter notebook in subdirectory python. The notebook python/ipynb/run_objsim_with_gaussian_input.ipynb Before you must provide a shell script in env/activate_python_env.sh to setup your python environment. You can use env/activate_python_env_EXAMPLE.sh as an example.

python/ipynb/calc_maps.ipynb demonstrates how to load simulation data and calculate topographic maps.