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}\)

property a

Settable model parameter: \(a\)

Return type:

float

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

property b

Settable model parameter: \(b\)

Return type:

float

property c

Settable model parameter: \(c\)

Return type:

float

property d

Settable model parameter: \(d\)

Return type:

float

property i_offset

Settable model parameter: \(I_{offset}\)

Return type:

float

property u_init

Settable model parameter: \(u_{init}\)

Return type:

float

property v_init

Settable model parameter: \(v_{init}\)

Return type:

float

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

property cm

Settable model parameter: \(C_m\)

Return type:

float

property i_offset

Settable model parameter: \(I_{offset}\)

Return type:

float

property tau_m

Settable model parameter: \(\tau_{m}\)

Return type:

float

property tau_refrac

Settable model parameter: \(\tau_{refrac}\)

Return type:

float

property v_init

Settable model parameter: \(V_{init}\)

Return type:

float

property v_reset

Settable model parameter: \(V_{reset}\)

Return type:

float

property v_rest

Settable model parameter: \(V_{rest}\)

Return type:

float