Auryn simulator

Simulator for spiking neural networks with synaptic plasticity

User Tools

Site Tools


manual:patternmonitor

PatternMonitor

A PatternMonitor reads the firing rates of subpopulations of neurons in a NeuronGroup as specified in a pattern file and writes multicolumn text output to a pact file.

Example and Usage

PatternMonitor * patmon 
   = new PatternMonitor(neurons_e,
                        outputfile,
                        patternfile,
                        100);

This snipped of code defines a PatternMonitor patmon which is associated with a NeuronGroup neurons_e. Its output is written to outputfile and as a third argument it expects a pat file which specifies one or multiple subpopulations of neurons within neurons_e. The number 100 specifies the maximum number of patterns to load from patternfile. If it is omitted PatternMonitor will only read the first 10 to not clutter the output file with too many columns. The constructor accepts one additional parameter which controls the sampling interval which per default is set to 100ms.

manual/patternmonitor.txt · Last modified: 2018/02/28 18:01 by zenke