Spike
|
In this short guide we will install Spike and show you a small calculation that you can do with it.
Spike is both a library and a bunch of executables. You can use every part of the library to build your own programs, e.g. take a look at the following program:
Here we calculate the trajectory of a leaky integrate-and-fire neuron with spike-frequency adaptation and save it to a file. This executable may also be found in app/spike_trajectory.cpp
.
In app/
you can find programs that I have written for my master thesis. Most of them are intended to be used on a computing cluster using MPI. Every simulation takes a .ini
file as an input argument, runs the simulation and produces an according .csv
output file. As an example, if we want to calculate the linear susceptibility of a leaky integrate-and-fire neuron, we would need an input file like this and put it in data/lif.ini
We have defined all parameters and may use the executable bin/spike_suscept
in parallel by running
This uses four processes in parallel and the output file data/lif_suscept_lin.csv
contains two columns: the first one being the frequencies and the second one being the complex value of the linear susceptibility at that frequency.