As a user, I want to be able to set individual thresholds for each member of a LIF population to allow for more flexibility in designing networks.
Conditions of satisfaction
Users can pass an array or list of thresholds as well as a single float to the vth parameter that will assign the corresponding threshold to each LIF neuron in the population.
For example: lif = LIF(shape=(4,), vth=[1, 2, 3, 4]) This will create 4 LIF neurons that have individual thresholds of 1, 2, 3 and 4 respectively.
User story
As a user, I want to be able to set individual thresholds for each member of a LIF population to allow for more flexibility in designing networks.
Conditions of satisfaction
lif = LIF(shape=(4,), vth=[1, 2, 3, 4])
This will create 4 LIF neurons that have individual thresholds of 1, 2, 3 and 4 respectively.