johannesmik / neurons

Python simulations of neuron models like SRM and STDP
BSD 2-Clause "Simplified" License
35 stars 14 forks source link

Can we support a threshold for each neuron in SRM? #9

Open johannesmik opened 9 years ago

johannesmik commented 9 years ago

Until now, the threshhold value for the neurons is unique among all neurons in the SRM model.

Maybe we can define a threshold for each neuron, similar to the way we can define a $t_s$ for each neuron.

Liuxg16 commented 8 years ago

Has this proposal been realized?

johannesmik commented 8 years ago

Yes this has been realized.

When you instantiate a new SRM object you can pass the threshold as a 1D numpy array consisting of the thresholds for each neuron.