Auryn simulator

Simulator for spiking neural networks with synaptic plasticity

User Tools

Site Tools


manual:ratechecker

This is an old revision of the document!


RateChecker

A rate checker monitors the firing rate of a single SpikingGroup and triggers if it goes either above or below a predefined threshold. It should be included in every Auryn simulation, because it also provides the rate estimate for the Auryn progress bar.

In most cases your definition will look similar to this:

RateChecker * chk = new RateChecker( neurons_e , 0.1 , 1000. , 100e-3);

Here the first argument neurons_e is any NeuronGroup defined earlier. The second and third argument give the min/max firing rate in Hz beyond which the checker will trigger. If you don't want a minimum firing rate, just make it negative - and if you don't want a higher limit, just pick a very large number like it is done here (1000Hz cannot be achieved by my most standard neuron models in Auryn). Finally, the last argument gives the timescale over which the RateChecker computes the running firing rate average. In this case it is set to 100ms. Note that because the RateChecker computes a running average it takes about 5-6 x the time constant until the rate estimate has converged to the actual firing rate. To avoid that the RateChecker triggers spuriously before that, it is initialized at (max-min)/2, so don't be surprised if you progress bar shows an initial blip of non-zero firing rate even if you anticipate your network to have a completely different rate.

manual/ratechecker.1434262546.txt.gz · Last modified: 2015/06/14 06:15 by zenke