PoissonGroup class¶
(Shortest import: from brian2 import PoissonGroup)
-
class
brian2.input.poissongroup.PoissonGroup(**kwds)[source]¶ Bases:
brian2.groups.group.Group,brian2.core.spikesource.SpikeSourcePoisson spike source
Attributes
spikesThe spikes returned by the most recent thresholding operation. Methods
before_run([run_namespace])Optional method to prepare the object before a run. Details
-
spikes¶ The spikes returned by the most recent thresholding operation.
-
before_run(run_namespace=None)[source]¶ Optional method to prepare the object before a run.
Called by
Network.after_runbefore the main simulation loop starts.
-