- class brainpy.dyn.PoissonInput(target_var, num_input, freq, weight, mode=None, name=None, seed=None)#
Poisson Input to the given
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.
int) – The number of inputs.
- reset_state(*args, **kwargs)#
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.
The function to specify the updating rule.