spynnaker.pyNN.models.neuron.synapse_types package¶
Module contents¶
- class spynnaker.pyNN.models.neuron.synapse_types.AbstractSynapseType(structs, units)¶
Bases:
AbstractStandardNeuronComponent
Represents the synapse types supported.
- Parameters:
- abstract get_n_synapse_types()[source]¶
Get the number of synapse types supported.
- Returns:
The number of synapse types supported
- Return type:
- class spynnaker.pyNN.models.neuron.synapse_types.SynapseTypeAlpha(exc_response, exc_exp_response, tau_syn_E, inh_response, inh_exp_response, tau_syn_I)¶
Bases:
AbstractSynapseType
- Parameters:
exc_response (float or iterable(float) or RandomDistribution or (mapping) function) – \(response^\mathrm{linear}_e\)
exc_exp_response (float or iterable(float) or RandomDistribution or (mapping) function) – \(response^\mathrm{exponential}_e\)
tau_syn_E (float or iterable(float) or RandomDistribution or (mapping) function) – \(\tau^{syn}_e\)
inh_response (float or iterable(float) or RandomDistribution or (mapping) function) – \(response^\mathrm{linear}_i\)
inh_exp_response (float or iterable(float) or RandomDistribution or (mapping) function) – \(response^\mathrm{exponential}_i\)
tau_syn_I (float or iterable(float) or RandomDistribution or (mapping) function) – \(\tau^{syn}_i\)
- 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 exc_response¶
- get_n_synapse_types()[source]¶
Get the number of synapse types supported.
- Returns:
The number of synapse types supported
- Return type:
- get_synapse_id_by_target(target)[source]¶
Get the ID of a synapse given the name.
- Returns:
The ID of the synapse
- Return type:
- get_synapse_targets()[source]¶
Get the target names of the synapse type.
- Returns:
an array of strings (usually a list or tuple)
- Return type:
iterable(str)
- property inh_response¶
- property tau_syn_E¶
- property tau_syn_I¶
- class spynnaker.pyNN.models.neuron.synapse_types.SynapseTypeDelta(isyn_exc, isyn_inh)¶
Bases:
AbstractSynapseType
This represents a synapse type with two delta synapses.
- Parameters:
- 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
- get_n_synapse_types()[source]¶
Get the number of synapse types supported.
- Returns:
The number of synapse types supported
- Return type:
- get_synapse_id_by_target(target)[source]¶
Get the ID of a synapse given the name.
- Returns:
The ID of the synapse
- Return type:
- get_synapse_targets()[source]¶
Get the target names of the synapse type.
- Returns:
an array of strings (usually a list or tuple)
- Return type:
iterable(str)
- property isyn_exc¶
- property isyn_inh¶
- class spynnaker.pyNN.models.neuron.synapse_types.SynapseTypeDualExponential(tau_syn_E, tau_syn_E2, tau_syn_I, isyn_exc, isyn_exc2, isyn_inh)¶
Bases:
AbstractSynapseType
- Parameters:
tau_syn_E (float or iterable(float) or RandomDistribution or (mapping) function) – \(\tau^{syn}_{e_1}\)
tau_syn_E2 (float or iterable(float) or RandomDistribution or (mapping) function) – \(\tau^{syn}_{e_2}\)
tau_syn_I (float or iterable(float) or RandomDistribution or (mapping) function) – \(\tau^{syn}_i\)
isyn_exc (float or iterable(float) or RandomDistribution or (mapping) function) – \(I^{syn}_{e_1}\)
isyn_exc2 (float or iterable(float) or RandomDistribution or (mapping) function) – \(I^{syn}_{e_2}\)
isyn_inh (float or iterable(float) or RandomDistribution or (mapping) function) – \(I^{syn}_i\)
- 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
- get_n_synapse_types()[source]¶
Get the number of synapse types supported.
- Returns:
The number of synapse types supported
- Return type:
- get_synapse_id_by_target(target)[source]¶
Get the ID of a synapse given the name.
- Returns:
The ID of the synapse
- Return type:
- get_synapse_targets()[source]¶
Get the target names of the synapse type.
- Returns:
an array of strings (usually a list or tuple)
- Return type:
iterable(str)
- property isyn_exc¶
- property isyn_exc2¶
- property isyn_inh¶
- property tau_syn_E¶
- property tau_syn_E2¶
- property tau_syn_I¶
- class spynnaker.pyNN.models.neuron.synapse_types.SynapseTypeExponential(tau_syn_E, tau_syn_I, isyn_exc, isyn_inh)¶
Bases:
AbstractSynapseType
- Parameters:
tau_syn_E (float or iterable(float) or RandomDistribution or (mapping) function) – \(\tau^{syn}_e\)
tau_syn_I (float or iterable(float) or RandomDistribution or (mapping) function) – \(\tau^{syn}_i\)
isyn_exc (float or iterable(float) or RandomDistribution or (mapping) function) – \(I^{syn}_e\)
isyn_inh (float or iterable(float) or RandomDistribution or (mapping) function) – \(I^{syn}_i\)
- 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
- get_n_synapse_types()[source]¶
Get the number of synapse types supported.
- Returns:
The number of synapse types supported
- Return type:
- get_synapse_id_by_target(target)[source]¶
Get the ID of a synapse given the name.
- Returns:
The ID of the synapse
- Return type:
- get_synapse_targets()[source]¶
Get the target names of the synapse type.
- Returns:
an array of strings (usually a list or tuple)
- Return type:
iterable(str)
- property isyn_exc¶
- property isyn_inh¶
- property tau_syn_E¶
- property tau_syn_I¶
- class spynnaker.pyNN.models.neuron.synapse_types.SynapseTypeSEMD(tau_syn_E, tau_syn_E2, tau_syn_I, isyn_exc, isyn_exc2, isyn_inh, multiplicator, exc2_old, scaling_factor)¶
Bases:
AbstractSynapseType
- Parameters:
tau_syn_E (float or iterable(float) or RandomDistribution or (mapping) function) – \(\tau^{syn}_{e_1}\)
tau_syn_E2 (float or iterable(float) or RandomDistribution or (mapping) function) – \(\tau^{syn}_{e_2}\)
tau_syn_I (float or iterable(float) or RandomDistribution or (mapping) function) – \(\tau^{syn}_i\)
isyn_exc (float or iterable(float) or RandomDistribution or (mapping) function) – \(I^{syn}_{e_1}\)
isyn_exc2 (float or iterable(float) or RandomDistribution or (mapping) function) – \(I^{syn}_{e_2}\)
isyn_inh (float or iterable(float) or RandomDistribution or (mapping) function) – \(I^{syn}_i\)
multiplicator (float or iterable(float) or RandomDistribution or (mapping) function) –
exc2_old (float or iterable(float) or RandomDistribution or (mapping) function) –
scaling_factor (float or iterable(float) or RandomDistribution or (mapping) function) –
- 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 exc2_old¶
- get_n_synapse_types()[source]¶
Get the number of synapse types supported.
- Returns:
The number of synapse types supported
- Return type:
- get_synapse_id_by_target(target)[source]¶
Get the ID of a synapse given the name.
- Returns:
The ID of the synapse
- Return type:
- get_synapse_targets()[source]¶
Get the target names of the synapse type.
- Returns:
an array of strings (usually a list or tuple)
- Return type:
iterable(str)
- property isyn_exc¶
- property isyn_exc2¶
- property isyn_inh¶
- property multiplicator¶
- property scaling_factor¶
- property tau_syn_E¶
- property tau_syn_E2¶
- property tau_syn_I¶