This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
manual:populationratemonitor [2015/06/01 19:28] zenke |
manual:populationratemonitor [2015/06/01 19:28] (current) zenke Adds quotes |
||
---|---|---|---|
Line 7: | Line 7: | ||
PopulationRateMonitor * pmon_e = new PopulationRateMonitor( neurons_e, strbuf, 1.0 ); | PopulationRateMonitor * pmon_e = new PopulationRateMonitor( neurons_e, strbuf, 1.0 ); | ||
</code> | </code> | ||
- | here the file name of the output file of the current rank is first stored in the variable strbuf (which has to be declared at an earlier point), then the PopulationRateMonitor pmon_e is initialized for the excitatory NeuronGroup ''neurons_e''. The the third argument '1.0' tells the constructor to average the population firing rate over one second. | + | here the file name of the output file of the current rank is first stored in the variable strbuf (which has to be declared at an earlier point), then the PopulationRateMonitor ''pmon_e'' is initialized for the excitatory NeuronGroup ''neurons_e''. The the third argument ''1.0'' tells the constructor to average the population firing rate over one second. |