GeNN
3.3.0
GPU enhanced Neuronal Networks (GeNN)
|
Class representing synaptic connection between two groups of neurons. More...
Public Member Functions | |
def | __init__ (self, name) |
Init SynapseGroup. More... | |
def | num_synapses (self) |
Number of synapses in group. More... | |
def | weight_update_var_size (self) |
Size of each weight update variable. More... | |
def | max_row_length (self) |
def | set_psm_var (self, var_name, values) |
Set values for a postsynaptic model variable. More... | |
def | set_pre_var (self, var_name, values) |
Set values for a presynaptic variable. More... | |
def | set_post_var (self, var_name, values) |
Set values for a postsynaptic variable. More... | |
def | set_weight_update (self, model, param_space, var_space, pre_var_space, post_var_space) |
Set weight update model, its parameters and initial variables. More... | |
def | set_post_syn (self, model, param_space, var_space) |
Set postsynaptic model, its parameters and initial variables. More... | |
def | get_var_values (self, var_name) |
def | is_connectivity_init_required (self) |
def | matrix_type (self) |
Type of the projection matrix. More... | |
def | matrix_type (self, matrix_type) |
def | is_ragged (self) |
Tests whether synaptic connectivity uses Ragged format. More... | |
def | is_bitmask (self) |
Tests whether synaptic connectivity uses Bitmask format. More... | |
def | is_dense (self) |
Tests whether synaptic connectivity uses dense format. More... | |
def | has_individual_synapse_vars (self) |
Tests whether synaptic connectivity has individual weights. More... | |
def | has_individual_postsynaptic_vars (self) |
Tests whether synaptic connectivity has individual postsynaptic model variables. More... | |
def | set_sparse_connections (self, pre_indices, post_indices) |
Set ragged foramt connections between two groups of neurons. More... | |
def | set_connected_populations (self, source, target) |
Set two groups of neurons connected by this SynapseGroup. More... | |
def | add_to (self, model_spec, delay_steps) |
Add this SynapseGroup to the GeNN NNmodel. More... | |
def | add_extra_global_param (self, param_name, param_values) |
Add extra global parameter. More... | |
def | load (self, slm, scalar) |
def | reinitialise (self, slm, scalar) |
Reinitialise synapse group. More... | |
def | __init__ (self, name) |
Init SynapseGroup. More... | |
def | num_synapses (self) |
Number of synapses in group. More... | |
def | weight_update_var_size (self) |
Size of each weight update variable. More... | |
def | max_row_length (self) |
def | set_psm_var (self, var_name, values) |
Set values for a postsynaptic model variable. More... | |
def | set_pre_var (self, var_name, values) |
Set values for a presynaptic variable. More... | |
def | set_post_var (self, var_name, values) |
Set values for a postsynaptic variable. More... | |
def | set_weight_update (self, model, param_space, var_space, pre_var_space, post_var_space) |
Set weight update model, its parameters and initial variables. More... | |
def | set_post_syn (self, model, param_space, var_space) |
Set postsynaptic model, its parameters and initial variables. More... | |
def | get_var_values (self, var_name) |
def | is_connectivity_init_required (self) |
def | matrix_type (self) |
Type of the projection matrix. More... | |
def | matrix_type (self, matrix_type) |
def | is_yale (self) |
Tests whether synaptic connectivity uses Yale format. More... | |
def | is_ragged (self) |
Tests whether synaptic connectivity uses Ragged format. More... | |
def | is_bitmask (self) |
Tests whether synaptic connectivity uses Bitmask format. More... | |
def | is_dense (self) |
Tests whether synaptic connectivity uses dense format. More... | |
def | has_individual_synapse_vars (self) |
Tests whether synaptic connectivity has individual weights. More... | |
def | has_individual_postsynaptic_vars (self) |
Tests whether synaptic connectivity has individual postsynaptic model variables. More... | |
def | set_sparse_connections (self, pre_indices, post_indices) |
Set yale or ragged foramt connections between two groups of neurons. More... | |
def | set_connected_populations (self, source, target) |
Set two groups of neurons connected by this SynapseGroup. More... | |
def | add_to (self, nn_model, delay_steps) |
Add this SynapseGroup to the GeNN NNmodel. More... | |
def | add_extra_global_param (self, param_name, param_values) |
Add extra global parameter. More... | |
def | load (self, slm, scalar) |
def | reinitialise (self, slm, scalar) |
Reinitialise synapse group. More... | |
Public Member Functions inherited from pygenn.genn_groups.Group | |
def | __init__ (self, name) |
Init Group. More... | |
def | set_var (self, var_name, values) |
Set values for a Variable. More... | |
def | __init__ (self, name) |
Init Group. More... | |
def | set_var (self, var_name, values) |
Set values for a Variable. More... | |
Public Attributes | |
connections_set | |
w_update | |
postsyn | |
src | |
trg | |
psm_vars | |
pre_vars | |
post_vars | |
connectivity_initialiser | |
synapse_order | |
ind | |
row_lengths | |
pop | |
indInG | |
Public Attributes inherited from pygenn.genn_groups.Group | |
name | |
vars | |
extra_global_params | |
Class representing synaptic connection between two groups of neurons.
def pygenn.genn_groups.SynapseGroup.__init__ | ( | self, | |
name | |||
) |
Init SynapseGroup.
name | string name of the group |
def pygenn.genn_groups.SynapseGroup.__init__ | ( | self, | |
name | |||
) |
Init SynapseGroup.
name | string name of the group |
def pygenn.genn_groups.SynapseGroup.add_extra_global_param | ( | self, | |
param_name, | |||
param_values | |||
) |
Add extra global parameter.
param_name | string with the name of the extra global parameter |
param_values | iterable or a single value |
def pygenn.genn_groups.SynapseGroup.add_extra_global_param | ( | self, | |
param_name, | |||
param_values | |||
) |
Add extra global parameter.
param_name | string with the name of the extra global parameter |
param_values | iterable or a single value |
def pygenn.genn_groups.SynapseGroup.add_to | ( | self, | |
model_spec, | |||
delay_steps | |||
) |
Add this SynapseGroup to the GeNN NNmodel.
model_spec | GeNN ModelSpec |
def pygenn.genn_groups.SynapseGroup.add_to | ( | self, | |
nn_model, | |||
delay_steps | |||
) |
Add this SynapseGroup to the GeNN NNmodel.
nn_model | GeNN NNmodel |
def pygenn.genn_groups.SynapseGroup.get_var_values | ( | self, | |
var_name | |||
) |
def pygenn.genn_groups.SynapseGroup.get_var_values | ( | self, | |
var_name | |||
) |
def pygenn.genn_groups.SynapseGroup.has_individual_postsynaptic_vars | ( | self | ) |
Tests whether synaptic connectivity has individual postsynaptic model variables.
def pygenn.genn_groups.SynapseGroup.has_individual_postsynaptic_vars | ( | self | ) |
Tests whether synaptic connectivity has individual postsynaptic model variables.
def pygenn.genn_groups.SynapseGroup.has_individual_synapse_vars | ( | self | ) |
Tests whether synaptic connectivity has individual weights.
def pygenn.genn_groups.SynapseGroup.has_individual_synapse_vars | ( | self | ) |
Tests whether synaptic connectivity has individual weights.
def pygenn.genn_groups.SynapseGroup.is_bitmask | ( | self | ) |
Tests whether synaptic connectivity uses Bitmask format.
def pygenn.genn_groups.SynapseGroup.is_bitmask | ( | self | ) |
Tests whether synaptic connectivity uses Bitmask format.
def pygenn.genn_groups.SynapseGroup.is_connectivity_init_required | ( | self | ) |
def pygenn.genn_groups.SynapseGroup.is_connectivity_init_required | ( | self | ) |
def pygenn.genn_groups.SynapseGroup.is_dense | ( | self | ) |
Tests whether synaptic connectivity uses dense format.
def pygenn.genn_groups.SynapseGroup.is_dense | ( | self | ) |
Tests whether synaptic connectivity uses dense format.
def pygenn.genn_groups.SynapseGroup.is_ragged | ( | self | ) |
Tests whether synaptic connectivity uses Ragged format.
def pygenn.genn_groups.SynapseGroup.is_ragged | ( | self | ) |
Tests whether synaptic connectivity uses Ragged format.
def pygenn.genn_groups.SynapseGroup.is_yale | ( | self | ) |
Tests whether synaptic connectivity uses Yale format.
def pygenn.genn_groups.SynapseGroup.load | ( | self, | |
slm, | |||
scalar | |||
) |
def pygenn.genn_groups.SynapseGroup.load | ( | self, | |
slm, | |||
scalar | |||
) |
def pygenn.genn_groups.SynapseGroup.matrix_type | ( | self | ) |
Type of the projection matrix.
def pygenn.genn_groups.SynapseGroup.matrix_type | ( | self, | |
matrix_type | |||
) |
def pygenn.genn_groups.SynapseGroup.matrix_type | ( | self | ) |
Type of the projection matrix.
def pygenn.genn_groups.SynapseGroup.matrix_type | ( | self, | |
matrix_type | |||
) |
def pygenn.genn_groups.SynapseGroup.max_row_length | ( | self | ) |
def pygenn.genn_groups.SynapseGroup.max_row_length | ( | self | ) |
def pygenn.genn_groups.SynapseGroup.num_synapses | ( | self | ) |
Number of synapses in group.
def pygenn.genn_groups.SynapseGroup.num_synapses | ( | self | ) |
Number of synapses in group.
def pygenn.genn_groups.SynapseGroup.reinitialise | ( | self, | |
slm, | |||
scalar | |||
) |
Reinitialise synapse group.
slm | SharedLibraryModel instance for acccessing variables |
scalar | String specifying "scalar" type |
def pygenn.genn_groups.SynapseGroup.reinitialise | ( | self, | |
slm, | |||
scalar | |||
) |
Reinitialise synapse group.
slm | SharedLibraryModel instance for acccessing variables |
scalar | String specifying "scalar" type |
def pygenn.genn_groups.SynapseGroup.set_connected_populations | ( | self, | |
source, | |||
target | |||
) |
Set two groups of neurons connected by this SynapseGroup.
source | string name of the presynaptic neuron group |
target | string name of the postsynaptic neuron group |
def pygenn.genn_groups.SynapseGroup.set_connected_populations | ( | self, | |
source, | |||
target | |||
) |
Set two groups of neurons connected by this SynapseGroup.
source | string name of the presynaptic neuron group |
target | string name of the postsynaptic neuron group |
def pygenn.genn_groups.SynapseGroup.set_post_syn | ( | self, | |
model, | |||
param_space, | |||
var_space | |||
) |
Set postsynaptic model, its parameters and initial variables.
model | type as string of intance of the model |
param_space | dict with model parameters |
var_space | dict with model variables |
def pygenn.genn_groups.SynapseGroup.set_post_syn | ( | self, | |
model, | |||
param_space, | |||
var_space | |||
) |
Set postsynaptic model, its parameters and initial variables.
model | type as string of intance of the model |
param_space | dict with model parameters |
var_space | dict with model variables |
def pygenn.genn_groups.SynapseGroup.set_post_var | ( | self, | |
var_name, | |||
values | |||
) |
Set values for a postsynaptic variable.
var_name | string with the name of the presynaptic variable |
values | iterable or a single value |
def pygenn.genn_groups.SynapseGroup.set_post_var | ( | self, | |
var_name, | |||
values | |||
) |
Set values for a postsynaptic variable.
var_name | string with the name of the presynaptic variable |
values | iterable or a single value |
def pygenn.genn_groups.SynapseGroup.set_pre_var | ( | self, | |
var_name, | |||
values | |||
) |
Set values for a presynaptic variable.
var_name | string with the name of the presynaptic variable |
values | iterable or a single value |
def pygenn.genn_groups.SynapseGroup.set_pre_var | ( | self, | |
var_name, | |||
values | |||
) |
Set values for a presynaptic variable.
var_name | string with the name of the presynaptic variable |
values | iterable or a single value |
def pygenn.genn_groups.SynapseGroup.set_psm_var | ( | self, | |
var_name, | |||
values | |||
) |
Set values for a postsynaptic model variable.
var_name | string with the name of the postsynaptic model variable |
values | iterable or a single value |
def pygenn.genn_groups.SynapseGroup.set_psm_var | ( | self, | |
var_name, | |||
values | |||
) |
Set values for a postsynaptic model variable.
var_name | string with the name of the postsynaptic model variable |
values | iterable or a single value |
def pygenn.genn_groups.SynapseGroup.set_sparse_connections | ( | self, | |
pre_indices, | |||
post_indices | |||
) |
Set ragged foramt connections between two groups of neurons.
pre_indices | ndarray of presynaptic indices |
post_indices | ndarray of postsynaptic indices |
def pygenn.genn_groups.SynapseGroup.set_sparse_connections | ( | self, | |
pre_indices, | |||
post_indices | |||
) |
Set yale or ragged foramt connections between two groups of neurons.
pre_indices | ndarray of presynaptic indices |
post_indices | ndarray of postsynaptic indices |
def pygenn.genn_groups.SynapseGroup.set_weight_update | ( | self, | |
model, | |||
param_space, | |||
var_space, | |||
pre_var_space, | |||
post_var_space | |||
) |
Set weight update model, its parameters and initial variables.
model | type as string of intance of the model |
param_space | dict with model parameters |
var_space | dict with model variables |
pre_var_space | dict with model presynaptic variables |
post_var_space | dict with model postsynaptic variables |
def pygenn.genn_groups.SynapseGroup.set_weight_update | ( | self, | |
model, | |||
param_space, | |||
var_space, | |||
pre_var_space, | |||
post_var_space | |||
) |
Set weight update model, its parameters and initial variables.
model | type as string of intance of the model |
param_space | dict with model parameters |
var_space | dict with model variables |
pre_var_space | dict with model presynaptic variables |
post_var_space | dict with model postsynaptic variables |
def pygenn.genn_groups.SynapseGroup.weight_update_var_size | ( | self | ) |
Size of each weight update variable.
def pygenn.genn_groups.SynapseGroup.weight_update_var_size | ( | self | ) |
Size of each weight update variable.
pygenn.genn_groups.SynapseGroup.connections_set |
pygenn.genn_groups.SynapseGroup.connectivity_initialiser |
pygenn.genn_groups.SynapseGroup.ind |
pygenn.genn_groups.SynapseGroup.indInG |
pygenn.genn_groups.SynapseGroup.pop |
pygenn.genn_groups.SynapseGroup.post_vars |
pygenn.genn_groups.SynapseGroup.postsyn |
pygenn.genn_groups.SynapseGroup.pre_vars |
pygenn.genn_groups.SynapseGroup.psm_vars |
pygenn.genn_groups.SynapseGroup.row_lengths |
pygenn.genn_groups.SynapseGroup.src |
pygenn.genn_groups.SynapseGroup.synapse_order |
pygenn.genn_groups.SynapseGroup.trg |
pygenn.genn_groups.SynapseGroup.w_update |