PoissonInput#
- class brainpy.dyn.PoissonInput(target_var, num_input, freq, weight, mode=None, name=None, seed=None)[source]#
Poisson Input to the given
Variable
.Adds independent Poisson input to a target variable. 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 variable receive independent realizations of Poisson spike trains.
- Parameters:
- reset_state(*args, **kwargs)[source]#
Reset function which resets local states in this model.
Simply speaking, this function should implement the logic of resetting of local variables in this node.
See https://brainpy.readthedocs.io/en/latest/tutorial_toolbox/state_resetting.html for details.