PoissonGroup class

(Shortest import: from brian2 import PoissonGroup)

class brian2.input.poissongroup.PoissonGroup(*args, **kw)[source]

Bases: Group, SpikeSource

Poisson spike source

Attributes

spikes

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_run before the main simulation loop starts.