PopulationRateMonitor class¶
(Shortest import: from brian2 import PopulationRateMonitor)
- class brian2.monitors.ratemonitor.PopulationRateMonitor(*args, **kw)[source]¶
Bases:
Group,CodeRunnerRecord instantaneous firing rates, averaged across neurons from a
NeuronGroupor other spike source.Attributes
The group we are recording from
Methods
reinit()Clears all recorded rates
resize(new_size)smooth_rate(self[, window, width])Return a smooth version of the population rate.
Details
- source¶
The group we are recording from
- smooth_rate(self, window='gaussian', width=None)¶
Return a smooth version of the population rate.