PoissonGroup class

(Shortest import: from brian2 import PoissonGroup)

class brian2.input.poissongroup.PoissonGroup(**kwds)[source]

Bases: brian2.groups.group.Group, brian2.core.spikesource.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.