This plasticity rule automatically scales the total input to every post-synaptic neuron targetted by the synapse group in question on every timestep. The scaling is using the L2-norm (i.e. the input weight vectors are always the same length). The length of the input vectors is either their individual length when the simulation started OR if a target value is set and the settarget boolean is true, all input vectors are set to the length of the target value.
Class Name:
WeightNormSTDPPlasticityParameter Structure:
struct weightnorm_stdp_plasticity_parameters_struct { bool settarget; float target;}