PoissonGroup class¶
(Shortest import: from brian2 import PoissonGroup)
- class brian2.input.poissongroup.PoissonGroup(*args, **kw)[source]¶
Bases:
Group,SpikeSourcePoisson spike source
Attributes
The 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.