# monitors package

Base package for all monitors, i.e. objects to record activity during a simulation run.

Exported members: `EventMonitor`, `PopulationRateMonitor`, `RateMonitor`, `SpikeMonitor`, `StateMonitor`

## `ratemonitor` module

Module defining `PopulationRateMonitor` and the abstract `RateMonitor` class.

Exported members: `PopulationRateMonitor`, `RateMonitor`

Classes

`PopulationRateMonitor`(*args, **kw) | Record instantaneous firing rates, averaged across neurons from a `NeuronGroup` or other spike source.

`RateMonitor`(*args, **kw) | Abstract base class for monitors that record rates.

## `spikemonitor` module

Module defining `EventMonitor` and `SpikeMonitor`.

Exported members: `EventMonitor`, `SpikeMonitor`

Classes

`EventMonitor`(*args, **kw) | Record events from a `NeuronGroup` or another event source.

`SpikeMonitor`(*args, **kw) | Record spikes from a `NeuronGroup` or other spike source.

## `statemonitor` module

Exported members: `StateMonitor`

Classes

`StateMonitor`(*args, **kw) | Record values of state variables during a run

`StateMonitorView`(monitor, item) |