Skip to content

Package for simulation of integrate-and-fire neurons.

Notifications You must be signed in to change notification settings

chegerland/Spike

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

build docs

Spike

Spike is a small numerical toolset that can simulate single neurons and evaluate the resulting spike trains statistically by calculation all sorts of quantities like the firing rate etc. It is build as a library with which you can write your own scripts, it comes, however, with some useful executables ready to use.

Dependencies

  • Catch2: unit testing
  • doxygen: API documentation
  • boost: json file parser, program options and logging

Installation & Build

To install Spike, clone the repository by typing

git clone https://github.com/chegerland/Spike.git

then create a build directory and build the project using cmake (the j flag tells make to execute in parallel)

mkdir -p build/ && cd build
cmake .. &&  make -j 4

Documentation

Classes and functions are documented in the according .h files and an API documentation can be generated from them using (inside the docs/doxygen directory)

doxygen Doxyfile

which can also be viewed here: chegerland.github.io/Spike

Details on the implementation are written in .cpp files.

Development

The main branch should at all times contain a working copy of Spike. New features should be added via feature branches. For now, since I am the only one working on this project, I am directly using the the main branch.

Guidelines

We mostly follow the C++ Core Guidelines. Some important conventions we follow are:

  • Use a .cpp suffix for code files and .h for interface files.
  • Use include guards for all .h files.
  • Document code in the .h files.
  • Only declare functions in headers, write the actual code in the respective .cpp file.

Authors

Christoph Egerland @egerlanc

About

Package for simulation of integrate-and-fire neurons.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published