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.CodeRunner
Record instantaneous firing rates, averaged across neurons from a
NeuronGroup
or other spike source.Attributes
source
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.
-