spynnaker.pyNN.models.neuron.neuron_models package¶
Module contents¶
- class spynnaker.pyNN.models.neuron.neuron_models.NeuronModelIzh(a, b, c, d, v_init, u_init, i_offset)¶
Bases:
AbstractStandardNeuronComponent
Model of neuron due to Eugene M. Izhikevich et al.
- Parameters:
a (float or iterable(float) or RandomDistribution or (mapping) function) – \(a\)
b (float or iterable(float) or RandomDistribution or (mapping) function) – \(b\)
c (float or iterable(float) or RandomDistribution or (mapping) function) – \(c\)
d (float or iterable(float) or RandomDistribution or (mapping) function) – \(d\)
v_init (float or iterable(float) or RandomDistribution or (mapping) function) – \(v_{init}\)
u_init (float or iterable(float) or RandomDistribution or (mapping) function) – \(u_{init}\)
i_offset (float or iterable(float) or RandomDistribution or (mapping) function) – \(I_{offset}\)
- add_parameters(parameters)[source]¶
Add the initial values of the parameters to the parameter holder.
- Parameters:
parameters (RangeDictionary) – A holder of the parameters
- add_state_variables(state_variables)[source]¶
Add the initial values of the state variables to the state variables holder.
- Parameters:
state_variables (RangeDictionary) – A holder of the state variables
- class spynnaker.pyNN.models.neuron.neuron_models.NeuronModelLeakyIntegrateAndFire(v_init, v_rest, tau_m, cm, i_offset, v_reset, tau_refrac)¶
Bases:
AbstractStandardNeuronComponent
Classic leaky integrate and fire neuron model.
- Parameters:
v_init (float or iterable(float) or RandomDistribution or (mapping) function) – \(V_{init}\)
v_rest (float or iterable(float) or RandomDistribution or (mapping) function) – \(V_{rest}\)
tau_m (float or iterable(float) or RandomDistribution or (mapping) function) – \(\tau_{m}\)
cm (float or iterable(float) or RandomDistribution or (mapping) function) – \(C_m\)
i_offset (float or iterable(float) or RandomDistribution or (mapping) function) – \(I_{offset}\)
v_reset (float or iterable(float) or RandomDistribution or (mapping) function) – \(V_{reset}\)
tau_refrac (float or iterable(float) or RandomDistribution or (mapping) function) – \(\tau_{refrac}\)
- add_parameters(parameters)[source]¶
Add the initial values of the parameters to the parameter holder.
- Parameters:
parameters (RangeDictionary) – A holder of the parameters
- add_state_variables(state_variables)[source]¶
Add the initial values of the state variables to the state variables holder.
- Parameters:
state_variables (RangeDictionary) – A holder of the state variables