GeNN
3.3.0
GPU enhanced Neuronal Networks (GeNN)
|
Class representing a current injection into a group of neurons. More...
Public Member Functions | |
def | __init__ (self, name) |
Init CurrentSource. More... | |
def | size (self) |
Number of neuron in the injected population. More... | |
def | size (self, _) |
def | set_current_source_model (self, model, param_space, var_space) |
Set curront source model, its parameters and initial variables. More... | |
def | add_to (self, nn_model, pop) |
Inject this CurrentSource into population and add it 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 current source. More... | |
def | __init__ (self, name) |
Init CurrentSource. More... | |
def | size (self) |
Number of neuron in the injected population. More... | |
def | size (self, _) |
def | set_current_source_model (self, model, param_space, var_space) |
Set curront source model, its parameters and initial variables. More... | |
def | add_to (self, nn_model, pop) |
Inject this CurrentSource into population and add it 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 current source. 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 | |
current_source_model | |
target_pop | |
pop | |
Public Attributes inherited from pygenn.genn_groups.Group | |
name | |
vars | |
extra_global_params | |
Class representing a current injection into a group of neurons.
def pygenn.genn_groups.CurrentSource.__init__ | ( | self, | |
name | |||
) |
Init CurrentSource.
name | string name of the current source |
def pygenn.genn_groups.CurrentSource.__init__ | ( | self, | |
name | |||
) |
Init CurrentSource.
name | string name of the current source |
def pygenn.genn_groups.CurrentSource.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.CurrentSource.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.CurrentSource.add_to | ( | self, | |
nn_model, | |||
pop | |||
) |
Inject this CurrentSource into population and add it to the GeNN NNmodel.
pop | instance of NeuronGroup into which this CurrentSource should be injected |
nn_model | GeNN NNmodel |
def pygenn.genn_groups.CurrentSource.add_to | ( | self, | |
nn_model, | |||
pop | |||
) |
Inject this CurrentSource into population and add it to the GeNN NNmodel.
pop | instance of NeuronGroup into which this CurrentSource should be injected |
nn_model | GeNN NNmodel |
def pygenn.genn_groups.CurrentSource.load | ( | self, | |
slm, | |||
scalar | |||
) |
def pygenn.genn_groups.CurrentSource.load | ( | self, | |
slm, | |||
scalar | |||
) |
def pygenn.genn_groups.CurrentSource.reinitialise | ( | self, | |
slm, | |||
scalar | |||
) |
Reinitialise current source.
slm | SharedLibraryModel instance for acccessing variables |
scalar | String specifying "scalar" type |
def pygenn.genn_groups.CurrentSource.reinitialise | ( | self, | |
slm, | |||
scalar | |||
) |
Reinitialise current source.
slm | SharedLibraryModel instance for acccessing variables |
scalar | String specifying "scalar" type |
def pygenn.genn_groups.CurrentSource.set_current_source_model | ( | self, | |
model, | |||
param_space, | |||
var_space | |||
) |
Set curront source 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.CurrentSource.set_current_source_model | ( | self, | |
model, | |||
param_space, | |||
var_space | |||
) |
Set curront source 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.CurrentSource.size | ( | self | ) |
Number of neuron in the injected population.
def pygenn.genn_groups.CurrentSource.size | ( | self, | |
_ | |||
) |
def pygenn.genn_groups.CurrentSource.size | ( | self | ) |
Number of neuron in the injected population.
def pygenn.genn_groups.CurrentSource.size | ( | self, | |
_ | |||
) |
pygenn.genn_groups.CurrentSource.current_source_model |
pygenn.genn_groups.CurrentSource.pop |
pygenn.genn_groups.CurrentSource.target_pop |