PopulationRateMonitor class¶
(Shortest import: from brian2 import PopulationRateMonitor)
-
class
brian2.monitors.ratemonitor.PopulationRateMonitor(source, name='ratemonitor*', codeobj_class=None, dtype=<class 'numpy.float64'>)[source]¶ Bases:
brian2.groups.group.Group,brian2.groups.group.CodeRunnerRecord instantaneous firing rates, averaged across neurons from a
NeuronGroupor other spike source.Attributes
sourceThe 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.
-