spynnaker.pyNN.models.neuron.additional_inputs package

Module contents

class spynnaker.pyNN.models.neuron.additional_inputs.AbstractAdditionalInput(structs, units)

Bases: AbstractStandardNeuronComponent

Represents a possible additional independent input for a model.

Parameters:
  • structs (list(Struct)) – The structures of the component

  • units (dict) – The units to use for each parameter

class spynnaker.pyNN.models.neuron.additional_inputs.AdditionalInputCa2Adaptive(tau_ca2, i_ca2, i_alpha)

Bases: AbstractAdditionalInput

Parameters:
  • tau_ca2 (float or iterable(float) or RandomDistribution or (mapping) function) – \(\tau_{\mathrm{Ca}^{+2}}\)

  • i_ca2 (float or iterable(float) or RandomDistribution or (mapping) function) – \(I_{\mathrm{Ca}^{+2}}\)

  • i_alpha (float or iterable(float) or RandomDistribution or (mapping) function) – \(I_{\alpha}\)

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 i_alpha

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

Return type:

float

property i_ca2

Settable model parameter: \(I_{\mathrm{Ca}^{+2}}\)

Return type:

float

property tau_ca2

Settable model parameter: \(\tau_{\mathrm{Ca}^{+2}}\)

Return type:

float