Recorder#
- class brainpy.state.network.Recorder(*args, **kwargs)#
Forward a source-population signal to a passive NESTDevice each step.
- Parameters:
source (
Dynamics) – Module to read from.attr (
strorcallable) –If
str: attribute name onsourcewhose.valueis read (e.g.'V').If callable: invoked as
attr(source)each step. Useful for quantities that aren’t persisted as aState— e.g. spikes:attr=lambda s: s.get_spike(s.V.value).
device (
NESTDevice) – Recording device with a compatibleupdatesignature (e.g.spike_recorder,multimeter).