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 revision Previous revision
manual:ratechecker [2015/07/02 19:36]
zenke Updates information concerning changes in System class.
manual:ratechecker [2015/07/02 19:40] (current)
zenke
Line 9: Line 9:
 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. 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'​s progress bar is provided by the [[System]] ​class ([[https://​www.fzenke.net/​auryn/​doxygen/​current/​classSystem.html]]). It's parameters can be configured using the functions ''​set_online_rate_monitor_id (int id=0)''​ and ''​set_online_rate_monitor_tau (AurynDouble tau=100e-3)''​.+**Note** that the rate estimate in Auryn'​s progress bar is provided by the [[System]].
manual/ratechecker.txt ยท Last modified: 2015/07/02 19:40 by zenke