PopulationRateMonitor class

(Shortest import: from brian2 import PopulationRateMonitor)

class brian2.monitors.ratemonitor.PopulationRateMonitor(*args, **kw)[source]

Bases: 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

reinit()[source]

Clears all recorded rates

resize(new_size)[source]
smooth_rate(self, window='gaussian', width=None)

Return a smooth version of the population rate.