from brian2 import PoissonInput)
PoissonInput(target, target_var, N, rate, weight, when='synapses', order=0)¶
Adds independent Poisson input to a target variable of a
Group. For large numbers of inputs, this is much more efficient than creating a
PoissonGroup. The synaptic events are generated randomly during the simulation and are not preloaded and stored in memory. All the inputs must target the same variable, have the same frequency and same synaptic weight. All neurons in the target
Groupreceive independent realizations of Poisson spike trains.
The group that is targeted by this input.
target_var : str
The variable of
targetthat is targeted by this input.
N : int
The number of inputs
The rate of each of the inputs
weight : str or
Either a string expression (that can be interpreted in the context of
target) or a
Quantitythat will be added for every event to the
target. The unit has to match the unit of
when : str, optional
When to update the target variable during a time step. Defaults to the
order : int, optional
The priority of of the update compared to other operations occurring at the same time step and in the same scheduling slot. Defaults to 0.