Auryn simulator

Simulator for spiking neural networks with synaptic plasticity

User Tools

Site Tools


manual:spikemonitor

The SpikeMonitor

SpikeMonitors record spikes from a designated NeuronGroup and dump them to a text file (a ras file). The format is standard two column which can be readily read with gnuplot. The first column codes the time and the second column carries the NeuronID.

Output example

The image showes the typical output of a ras file in gnuplot recorded from a balanced network with hidden Hopfield like patterns.

Usage

SpikeMonitor(SpikingGroup * source, string filename, NeuronID from, NeuronID to);

The default constructor can handle four arguments. source is the SpikingGroup to read from. filename specifies the full path and filename to write to. from and to can be used to select a limited range of neurons in the group to increase performance. If no values are given, all neurons in the group are used for recording. If only from is given it will be interpreted as the last value in the range starting from 0.

manual/spikemonitor.txt · Last modified: 2014/11/05 15:46 by zenke