spynnaker.pyNN.models.neuron.synapse_types package¶
Submodules¶
spynnaker.pyNN.models.neuron.synapse_types.abstract_synapse_type module¶
-
class
spynnaker.pyNN.models.neuron.synapse_types.abstract_synapse_type.
AbstractSynapseType
(data_types)[source]¶ -
Represents the synapse types supported.
Parameters: data_types – A list of data types in the component structure, in the order that they appear -
get_n_synapse_types
()[source]¶ Get the number of synapse types supported.
Returns: The number of synapse types supported Return type: int
-
spynnaker.pyNN.models.neuron.synapse_types.synapse_type_alpha module¶
-
class
spynnaker.pyNN.models.neuron.synapse_types.synapse_type_alpha.
SynapseTypeAlpha
(exc_response, exc_exp_response, tau_syn_E, inh_response, inh_exp_response, tau_syn_I)[source]¶ Bases:
spynnaker.pyNN.models.neuron.synapse_types.abstract_synapse_type.AbstractSynapseType
-
add_parameters
(parameters)[source]¶ Add the initial values of the parameters to the parameter holder
Parameters: parameters ( spinn_utilities.ranged.range_dictionary.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 ( spinn_utilities.ranged.range_dictionary.RangeDictionary
) – A holder of the state variables
-
exc_response
¶
-
get_n_cpu_cycles
(n_neurons)[source]¶ Get the number of CPU cycles required to update the state
Parameters: n_neurons (int) – The number of neurons to get the cycles for Return type: int
-
get_n_synapse_types
()[source]¶ Get the number of synapse types supported.
Returns: The number of synapse types supported Return type: int
-
get_synapse_id_by_target
(target)[source]¶ Get the ID of a synapse given the name.
Returns: The ID of the synapse Return type: int
-
get_synapse_targets
()[source]¶ Get the target names of the synapse type.
Returns: an array of strings Return type: array(str)
-
get_units
(variable)[source]¶ Get the units of the given variable
Parameters: variable (str) – The name of the variable
-
get_values
(parameters, state_variables, vertex_slice, ts)[source]¶ Get the values to be written to the machine for this model
Parameters: - parameters (
spinn_utilities.ranged.range_dictionary.RangeDictionary
) – The holder of the parameters - state_variables (
spinn_utilities.ranged.range_dictionary.RangeDictionary
) – The holder of the state variables - vertex_slice – The slice of variables being retrieved
Returns: A list with the same length as self.struct.field_types
Return type: A list of (single value or list of values or RangedList)
- parameters (
-
has_variable
(variable)[source]¶ Determine if this component has a variable by the given name
Parameters: variable (str) – The name of the variable Return type: bool
-
inh_response
¶
-
tau_syn_E
¶
-
tau_syn_I
¶
-
update_values
(values, parameters, state_variables)[source]¶ Update the parameters and state variables with the given struct values that have been read from the machine
Parameters: - values – The values read from the machine, one for each struct element
- parameters – The holder of the parameters to update
- state_variables – The holder of the state variables to update
-
spynnaker.pyNN.models.neuron.synapse_types.synapse_type_delta module¶
-
class
spynnaker.pyNN.models.neuron.synapse_types.synapse_type_delta.
SynapseTypeDelta
(isyn_exc, isyn_inh)[source]¶ Bases:
spynnaker.pyNN.models.neuron.synapse_types.abstract_synapse_type.AbstractSynapseType
This represents a synapse type with two delta synapses
-
add_parameters
(parameters)[source]¶ Add the initial values of the parameters to the parameter holder
Parameters: parameters ( spinn_utilities.ranged.range_dictionary.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 ( spinn_utilities.ranged.range_dictionary.RangeDictionary
) – A holder of the state variables
-
get_n_cpu_cycles
(n_neurons)[source]¶ Get the number of CPU cycles required to update the state
Parameters: n_neurons (int) – The number of neurons to get the cycles for Return type: int
-
get_n_synapse_types
()[source]¶ Get the number of synapse types supported.
Returns: The number of synapse types supported Return type: int
-
get_synapse_id_by_target
(target)[source]¶ Get the ID of a synapse given the name.
Returns: The ID of the synapse Return type: int
-
get_synapse_targets
()[source]¶ Get the target names of the synapse type.
Returns: an array of strings Return type: array(str)
-
get_units
(variable)[source]¶ Get the units of the given variable
Parameters: variable (str) – The name of the variable
-
get_values
(parameters, state_variables, vertex_slice)[source]¶ Get the values to be written to the machine for this model
Parameters: - parameters (
spinn_utilities.ranged.range_dictionary.RangeDictionary
) – The holder of the parameters - state_variables (
spinn_utilities.ranged.range_dictionary.RangeDictionary
) – The holder of the state variables - vertex_slice – The slice of variables being retrieved
Returns: A list with the same length as self.struct.field_types
Return type: A list of (single value or list of values or RangedList)
- parameters (
-
has_variable
(variable)[source]¶ Determine if this component has a variable by the given name
Parameters: variable (str) – The name of the variable Return type: bool
-
isyn_exc
¶
-
isyn_inh
¶
-
update_values
(values, parameters, state_variables)[source]¶ Update the parameters and state variables with the given struct values that have been read from the machine
Parameters: - values – The values read from the machine, one for each struct element
- parameters – The holder of the parameters to update
- state_variables – The holder of the state variables to update
-
spynnaker.pyNN.models.neuron.synapse_types.synapse_type_dual_exponential module¶
-
class
spynnaker.pyNN.models.neuron.synapse_types.synapse_type_dual_exponential.
SynapseTypeDualExponential
(tau_syn_E, tau_syn_E2, tau_syn_I, isyn_exc, isyn_exc2, isyn_inh)[source]¶ Bases:
spynnaker.pyNN.models.neuron.synapse_types.abstract_synapse_type.AbstractSynapseType
-
add_parameters
(parameters)[source]¶ Add the initial values of the parameters to the parameter holder
Parameters: parameters ( spinn_utilities.ranged.range_dictionary.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 ( spinn_utilities.ranged.range_dictionary.RangeDictionary
) – A holder of the state variables
-
get_n_cpu_cycles
(n_neurons)[source]¶ Get the number of CPU cycles required to update the state
Parameters: n_neurons (int) – The number of neurons to get the cycles for Return type: int
-
get_n_synapse_types
()[source]¶ Get the number of synapse types supported.
Returns: The number of synapse types supported Return type: int
-
get_synapse_id_by_target
(target)[source]¶ Get the ID of a synapse given the name.
Returns: The ID of the synapse Return type: int
-
get_synapse_targets
()[source]¶ Get the target names of the synapse type.
Returns: an array of strings Return type: array(str)
-
get_units
(variable)[source]¶ Get the units of the given variable
Parameters: variable (str) – The name of the variable
-
get_values
(parameters, state_variables, vertex_slice, ts)[source]¶ Get the values to be written to the machine for this model
Parameters: - parameters (
spinn_utilities.ranged.range_dictionary.RangeDictionary
) – The holder of the parameters - state_variables (
spinn_utilities.ranged.range_dictionary.RangeDictionary
) – The holder of the state variables - vertex_slice – The slice of variables being retrieved
Returns: A list with the same length as self.struct.field_types
Return type: A list of (single value or list of values or RangedList)
- parameters (
-
has_variable
(variable)[source]¶ Determine if this component has a variable by the given name
Parameters: variable (str) – The name of the variable Return type: bool
-
isyn_exc
¶
-
isyn_exc2
¶
-
isyn_inh
¶
-
tau_syn_E
¶
-
tau_syn_E2
¶
-
tau_syn_I
¶
-
update_values
(values, parameters, state_variables)[source]¶ Update the parameters and state variables with the given struct values that have been read from the machine
Parameters: - values – The values read from the machine, one for each struct element
- parameters – The holder of the parameters to update
- state_variables – The holder of the state variables to update
-
spynnaker.pyNN.models.neuron.synapse_types.synapse_type_exponential module¶
-
class
spynnaker.pyNN.models.neuron.synapse_types.synapse_type_exponential.
SynapseTypeExponential
(tau_syn_E, tau_syn_I, isyn_exc, isyn_inh)[source]¶ Bases:
spynnaker.pyNN.models.neuron.synapse_types.abstract_synapse_type.AbstractSynapseType
-
add_parameters
(parameters)[source]¶ Add the initial values of the parameters to the parameter holder
Parameters: parameters ( spinn_utilities.ranged.range_dictionary.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 ( spinn_utilities.ranged.range_dictionary.RangeDictionary
) – A holder of the state variables
-
get_n_cpu_cycles
(n_neurons)[source]¶ Get the number of CPU cycles required to update the state
Parameters: n_neurons (int) – The number of neurons to get the cycles for Return type: int
-
get_n_synapse_types
()[source]¶ Get the number of synapse types supported.
Returns: The number of synapse types supported Return type: int
-
get_synapse_id_by_target
(target)[source]¶ Get the ID of a synapse given the name.
Returns: The ID of the synapse Return type: int
-
get_synapse_targets
()[source]¶ Get the target names of the synapse type.
Returns: an array of strings Return type: array(str)
-
get_units
(variable)[source]¶ Get the units of the given variable
Parameters: variable (str) – The name of the variable
-
get_values
(parameters, state_variables, vertex_slice, ts)[source]¶ Get the values to be written to the machine for this model
Parameters: - parameters (
spinn_utilities.ranged.range_dictionary.RangeDictionary
) – The holder of the parameters - state_variables (
spinn_utilities.ranged.range_dictionary.RangeDictionary
) – The holder of the state variables - vertex_slice – The slice of variables being retrieved
Returns: A list with the same length as self.struct.field_types
Return type: A list of (single value or list of values or RangedList)
- parameters (
-
has_variable
(variable)[source]¶ Determine if this component has a variable by the given name
Parameters: variable (str) – The name of the variable Return type: bool
-
isyn_exc
¶
-
isyn_inh
¶
-
tau_syn_E
¶
-
tau_syn_I
¶
-
update_values
(values, parameters, state_variables)[source]¶ Update the parameters and state variables with the given struct values that have been read from the machine
Parameters: - values – The values read from the machine, one for each struct element
- parameters – The holder of the parameters to update
- state_variables – The holder of the state variables to update
-
spynnaker.pyNN.models.neuron.synapse_types.synapse_type_semd module¶
-
class
spynnaker.pyNN.models.neuron.synapse_types.synapse_type_semd.
SynapseTypeSEMD
(tau_syn_E, tau_syn_E2, tau_syn_I, isyn_exc, isyn_exc2, isyn_inh, multiplicator, exc2_old)[source]¶ Bases:
spynnaker.pyNN.models.neuron.synapse_types.abstract_synapse_type.AbstractSynapseType
-
add_parameters
(parameters)[source]¶ Add the initial values of the parameters to the parameter holder
Parameters: parameters ( spinn_utilities.ranged.range_dictionary.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 ( spinn_utilities.ranged.range_dictionary.RangeDictionary
) – A holder of the state variables
-
exc2_old
¶
-
get_n_cpu_cycles
(n_neurons)[source]¶ Get the number of CPU cycles required to update the state
Parameters: n_neurons (int) – The number of neurons to get the cycles for Return type: int
-
get_n_synapse_types
()[source]¶ Get the number of synapse types supported.
Returns: The number of synapse types supported Return type: int
-
get_synapse_id_by_target
(target)[source]¶ Get the ID of a synapse given the name.
Returns: The ID of the synapse Return type: int
-
get_synapse_targets
()[source]¶ Get the target names of the synapse type.
Returns: an array of strings Return type: array(str)
-
get_units
(variable)[source]¶ Get the units of the given variable
Parameters: variable (str) – The name of the variable
-
get_values
(parameters, state_variables, vertex_slice, ts)[source]¶ Get the values to be written to the machine for this model
Parameters: - parameters (
spinn_utilities.ranged.range_dictionary.RangeDictionary
) – The holder of the parameters - state_variables (
spinn_utilities.ranged.range_dictionary.RangeDictionary
) – The holder of the state variables - vertex_slice – The slice of variables being retrieved
Returns: A list with the same length as self.struct.field_types
Return type: A list of (single value or list of values or RangedList)
- parameters (
-
has_variable
(variable)[source]¶ Determine if this component has a variable by the given name
Parameters: variable (str) – The name of the variable Return type: bool
-
isyn_exc
¶
-
isyn_exc2
¶
-
isyn_inh
¶
-
multiplicator
¶
-
tau_syn_E
¶
-
tau_syn_E2
¶
-
tau_syn_I
¶
-
update_values
(values, parameters, state_variables)[source]¶ Update the parameters and state variables with the given struct values that have been read from the machine
Parameters: - values – The values read from the machine, one for each struct element
- parameters – The holder of the parameters to update
- state_variables – The holder of the state variables to update
-
Module contents¶
-
class
spynnaker.pyNN.models.neuron.synapse_types.
AbstractSynapseType
(data_types)[source]¶ -
Represents the synapse types supported.
Parameters: data_types – A list of data types in the component structure, in the order that they appear -
get_n_synapse_types
()[source]¶ Get the number of synapse types supported.
Returns: The number of synapse types supported Return type: int
-
-
class
spynnaker.pyNN.models.neuron.synapse_types.
SynapseTypeDualExponential
(tau_syn_E, tau_syn_E2, tau_syn_I, isyn_exc, isyn_exc2, isyn_inh)[source]¶ Bases:
spynnaker.pyNN.models.neuron.synapse_types.abstract_synapse_type.AbstractSynapseType
-
add_parameters
(parameters)[source]¶ Add the initial values of the parameters to the parameter holder
Parameters: parameters ( spinn_utilities.ranged.range_dictionary.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 ( spinn_utilities.ranged.range_dictionary.RangeDictionary
) – A holder of the state variables
-
get_n_cpu_cycles
(n_neurons)[source]¶ Get the number of CPU cycles required to update the state
Parameters: n_neurons (int) – The number of neurons to get the cycles for Return type: int
-
get_n_synapse_types
()[source]¶ Get the number of synapse types supported.
Returns: The number of synapse types supported Return type: int
-
get_synapse_id_by_target
(target)[source]¶ Get the ID of a synapse given the name.
Returns: The ID of the synapse Return type: int
-
get_synapse_targets
()[source]¶ Get the target names of the synapse type.
Returns: an array of strings Return type: array(str)
-
get_units
(variable)[source]¶ Get the units of the given variable
Parameters: variable (str) – The name of the variable
-
get_values
(parameters, state_variables, vertex_slice, ts)[source]¶ Get the values to be written to the machine for this model
Parameters: - parameters (
spinn_utilities.ranged.range_dictionary.RangeDictionary
) – The holder of the parameters - state_variables (
spinn_utilities.ranged.range_dictionary.RangeDictionary
) – The holder of the state variables - vertex_slice – The slice of variables being retrieved
Returns: A list with the same length as self.struct.field_types
Return type: A list of (single value or list of values or RangedList)
- parameters (
-
has_variable
(variable)[source]¶ Determine if this component has a variable by the given name
Parameters: variable (str) – The name of the variable Return type: bool
-
isyn_exc
¶
-
isyn_exc2
¶
-
isyn_inh
¶
-
tau_syn_E
¶
-
tau_syn_E2
¶
-
tau_syn_I
¶
-
update_values
(values, parameters, state_variables)[source]¶ Update the parameters and state variables with the given struct values that have been read from the machine
Parameters: - values – The values read from the machine, one for each struct element
- parameters – The holder of the parameters to update
- state_variables – The holder of the state variables to update
-
-
class
spynnaker.pyNN.models.neuron.synapse_types.
SynapseTypeExponential
(tau_syn_E, tau_syn_I, isyn_exc, isyn_inh)[source]¶ Bases:
spynnaker.pyNN.models.neuron.synapse_types.abstract_synapse_type.AbstractSynapseType
-
add_parameters
(parameters)[source]¶ Add the initial values of the parameters to the parameter holder
Parameters: parameters ( spinn_utilities.ranged.range_dictionary.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 ( spinn_utilities.ranged.range_dictionary.RangeDictionary
) – A holder of the state variables
-
get_n_cpu_cycles
(n_neurons)[source]¶ Get the number of CPU cycles required to update the state
Parameters: n_neurons (int) – The number of neurons to get the cycles for Return type: int
-
get_n_synapse_types
()[source]¶ Get the number of synapse types supported.
Returns: The number of synapse types supported Return type: int
-
get_synapse_id_by_target
(target)[source]¶ Get the ID of a synapse given the name.
Returns: The ID of the synapse Return type: int
-
get_synapse_targets
()[source]¶ Get the target names of the synapse type.
Returns: an array of strings Return type: array(str)
-
get_units
(variable)[source]¶ Get the units of the given variable
Parameters: variable (str) – The name of the variable
-
get_values
(parameters, state_variables, vertex_slice, ts)[source]¶ Get the values to be written to the machine for this model
Parameters: - parameters (
spinn_utilities.ranged.range_dictionary.RangeDictionary
) – The holder of the parameters - state_variables (
spinn_utilities.ranged.range_dictionary.RangeDictionary
) – The holder of the state variables - vertex_slice – The slice of variables being retrieved
Returns: A list with the same length as self.struct.field_types
Return type: A list of (single value or list of values or RangedList)
- parameters (
-
has_variable
(variable)[source]¶ Determine if this component has a variable by the given name
Parameters: variable (str) – The name of the variable Return type: bool
-
isyn_exc
¶
-
isyn_inh
¶
-
tau_syn_E
¶
-
tau_syn_I
¶
-
update_values
(values, parameters, state_variables)[source]¶ Update the parameters and state variables with the given struct values that have been read from the machine
Parameters: - values – The values read from the machine, one for each struct element
- parameters – The holder of the parameters to update
- state_variables – The holder of the state variables to update
-
-
class
spynnaker.pyNN.models.neuron.synapse_types.
SynapseTypeDelta
(isyn_exc, isyn_inh)[source]¶ Bases:
spynnaker.pyNN.models.neuron.synapse_types.abstract_synapse_type.AbstractSynapseType
This represents a synapse type with two delta synapses
-
add_parameters
(parameters)[source]¶ Add the initial values of the parameters to the parameter holder
Parameters: parameters ( spinn_utilities.ranged.range_dictionary.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 ( spinn_utilities.ranged.range_dictionary.RangeDictionary
) – A holder of the state variables
-
get_n_cpu_cycles
(n_neurons)[source]¶ Get the number of CPU cycles required to update the state
Parameters: n_neurons (int) – The number of neurons to get the cycles for Return type: int
-
get_n_synapse_types
()[source]¶ Get the number of synapse types supported.
Returns: The number of synapse types supported Return type: int
-
get_synapse_id_by_target
(target)[source]¶ Get the ID of a synapse given the name.
Returns: The ID of the synapse Return type: int
-
get_synapse_targets
()[source]¶ Get the target names of the synapse type.
Returns: an array of strings Return type: array(str)
-
get_units
(variable)[source]¶ Get the units of the given variable
Parameters: variable (str) – The name of the variable
-
get_values
(parameters, state_variables, vertex_slice)[source]¶ Get the values to be written to the machine for this model
Parameters: - parameters (
spinn_utilities.ranged.range_dictionary.RangeDictionary
) – The holder of the parameters - state_variables (
spinn_utilities.ranged.range_dictionary.RangeDictionary
) – The holder of the state variables - vertex_slice – The slice of variables being retrieved
Returns: A list with the same length as self.struct.field_types
Return type: A list of (single value or list of values or RangedList)
- parameters (
-
has_variable
(variable)[source]¶ Determine if this component has a variable by the given name
Parameters: variable (str) – The name of the variable Return type: bool
-
isyn_exc
¶
-
isyn_inh
¶
-
update_values
(values, parameters, state_variables)[source]¶ Update the parameters and state variables with the given struct values that have been read from the machine
Parameters: - values – The values read from the machine, one for each struct element
- parameters – The holder of the parameters to update
- state_variables – The holder of the state variables to update
-
-
class
spynnaker.pyNN.models.neuron.synapse_types.
SynapseTypeAlpha
(exc_response, exc_exp_response, tau_syn_E, inh_response, inh_exp_response, tau_syn_I)[source]¶ Bases:
spynnaker.pyNN.models.neuron.synapse_types.abstract_synapse_type.AbstractSynapseType
-
add_parameters
(parameters)[source]¶ Add the initial values of the parameters to the parameter holder
Parameters: parameters ( spinn_utilities.ranged.range_dictionary.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 ( spinn_utilities.ranged.range_dictionary.RangeDictionary
) – A holder of the state variables
-
exc_response
¶
-
get_n_cpu_cycles
(n_neurons)[source]¶ Get the number of CPU cycles required to update the state
Parameters: n_neurons (int) – The number of neurons to get the cycles for Return type: int
-
get_n_synapse_types
()[source]¶ Get the number of synapse types supported.
Returns: The number of synapse types supported Return type: int
-
get_synapse_id_by_target
(target)[source]¶ Get the ID of a synapse given the name.
Returns: The ID of the synapse Return type: int
-
get_synapse_targets
()[source]¶ Get the target names of the synapse type.
Returns: an array of strings Return type: array(str)
-
get_units
(variable)[source]¶ Get the units of the given variable
Parameters: variable (str) – The name of the variable
-
get_values
(parameters, state_variables, vertex_slice, ts)[source]¶ Get the values to be written to the machine for this model
Parameters: - parameters (
spinn_utilities.ranged.range_dictionary.RangeDictionary
) – The holder of the parameters - state_variables (
spinn_utilities.ranged.range_dictionary.RangeDictionary
) – The holder of the state variables - vertex_slice – The slice of variables being retrieved
Returns: A list with the same length as self.struct.field_types
Return type: A list of (single value or list of values or RangedList)
- parameters (
-
has_variable
(variable)[source]¶ Determine if this component has a variable by the given name
Parameters: variable (str) – The name of the variable Return type: bool
-
inh_response
¶
-
tau_syn_E
¶
-
tau_syn_I
¶
-
update_values
(values, parameters, state_variables)[source]¶ Update the parameters and state variables with the given struct values that have been read from the machine
Parameters: - values – The values read from the machine, one for each struct element
- parameters – The holder of the parameters to update
- state_variables – The holder of the state variables to update
-
-
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)[source]¶ Bases:
spynnaker.pyNN.models.neuron.synapse_types.abstract_synapse_type.AbstractSynapseType
-
add_parameters
(parameters)[source]¶ Add the initial values of the parameters to the parameter holder
Parameters: parameters ( spinn_utilities.ranged.range_dictionary.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 ( spinn_utilities.ranged.range_dictionary.RangeDictionary
) – A holder of the state variables
-
exc2_old
¶
-
get_n_cpu_cycles
(n_neurons)[source]¶ Get the number of CPU cycles required to update the state
Parameters: n_neurons (int) – The number of neurons to get the cycles for Return type: int
-
get_n_synapse_types
()[source]¶ Get the number of synapse types supported.
Returns: The number of synapse types supported Return type: int
-
get_synapse_id_by_target
(target)[source]¶ Get the ID of a synapse given the name.
Returns: The ID of the synapse Return type: int
-
get_synapse_targets
()[source]¶ Get the target names of the synapse type.
Returns: an array of strings Return type: array(str)
-
get_units
(variable)[source]¶ Get the units of the given variable
Parameters: variable (str) – The name of the variable
-
get_values
(parameters, state_variables, vertex_slice, ts)[source]¶ Get the values to be written to the machine for this model
Parameters: - parameters (
spinn_utilities.ranged.range_dictionary.RangeDictionary
) – The holder of the parameters - state_variables (
spinn_utilities.ranged.range_dictionary.RangeDictionary
) – The holder of the state variables - vertex_slice – The slice of variables being retrieved
Returns: A list with the same length as self.struct.field_types
Return type: A list of (single value or list of values or RangedList)
- parameters (
-
has_variable
(variable)[source]¶ Determine if this component has a variable by the given name
Parameters: variable (str) – The name of the variable Return type: bool
-
isyn_exc
¶
-
isyn_exc2
¶
-
isyn_inh
¶
-
multiplicator
¶
-
tau_syn_E
¶
-
tau_syn_E2
¶
-
tau_syn_I
¶
-
update_values
(values, parameters, state_variables)[source]¶ Update the parameters and state variables with the given struct values that have been read from the machine
Parameters: - values – The values read from the machine, one for each struct element
- parameters – The holder of the parameters to update
- state_variables – The holder of the state variables to update
-