Auryn simulator

Simulator for spiking neural networks with synaptic plasticity

User Tools

Site Tools


manual:ratechecker

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
manual:ratechecker [2015/06/14 06:15] – Fixes link zenkemanual:ratechecker [2015/07/02 17:40] (current) zenke
Line 1: Line 1:
 ====== RateChecker ====== ====== 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.+A rate checker monitors the firing rate of a single [[SpikingGroup]] and triggers if it goes either above or below a predefined threshold. 
  
 In most cases your definition will look similar to this: In most cases your definition will look similar to this:
Line 7: Line 7:
 RateChecker * chk = new RateChecker( neurons_e , 0.1 , 1000. , 100e-3); RateChecker * chk = new RateChecker( neurons_e , 0.1 , 1000. , 100e-3);
 </code> </code>
-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+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
 + 
 +**Note** that the rate estimate in Auryn'progress bar is provided by the [[System]].
manual/ratechecker.txt · Last modified: 2015/07/02 17:40 by zenke