GeNN
4.9.0
GPU enhanced Neuronal Networks (GeNN)
|
Class representing a current injection into a group of neurons. More...
Public Member Functions | |
def | __init__ (self, name, model) |
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 current source model, its parameters and initial variables. More... | |
def | add_to (self, pop) |
Attach this CurrentSource to NeuronGroup and add it to the pygenn.genn_model.GeNNModel. More... | |
def | load (self) |
def | load_init_egps (self) |
def | unload (self) |
def | reinitialise (self) |
Reinitialise current source. More... | |
Public Member Functions inherited from pygenn.genn_groups.Group | |
def | __init__ (self, name, model) |
Init Group. More... | |
def | set_var (self, var_name, values) |
Set values for a Variable. More... | |
def | add_extra_global_param (self, param_name, param_values) |
Set extra global parameter. More... | |
def | set_extra_global_param (self, param_name, param_values) |
Set extra global parameter. More... | |
def | pull_state_from_device (self) |
Wrapper around GeNNModel.pull_state_from_device. More... | |
def | pull_var_from_device (self, var_name) |
Wrapper around GeNNModel.pull_var_from_device. More... | |
def | pull_extra_global_param_from_device (self, egp_name, size=None) |
Wrapper around GeNNModel.pull_extra_global_param_from_device. More... | |
def | push_state_to_device (self) |
Wrapper around GeNNModel.push_state_to_device. More... | |
def | push_var_to_device (self, var_name) |
Wrapper around GeNNModel.push_var_to_device. More... | |
def | push_extra_global_param_to_device (self, egp_name, size=None) |
Wrapper around GeNNModel.push_extra_global_param_to_device. 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, | |||
model | |||
) |
Init CurrentSource.
name | string name of the current source |
model | pygenn.genn_model.GeNNModel this current source is part of |
def pygenn.genn_groups.CurrentSource.add_to | ( | self, | |
pop | |||
) |
Attach this CurrentSource to NeuronGroup and add it to the pygenn.genn_model.GeNNModel.
pop | instance of NeuronGroup into which this CurrentSource should be injected |
def pygenn.genn_groups.CurrentSource.load | ( | self | ) |
def pygenn.genn_groups.CurrentSource.load_init_egps | ( | self | ) |
def pygenn.genn_groups.CurrentSource.reinitialise | ( | self | ) |
Reinitialise current source.
def pygenn.genn_groups.CurrentSource.set_current_source_model | ( | self, | |
model, | |||
param_space, | |||
var_space | |||
) |
Set current 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.unload | ( | self | ) |
pygenn.genn_groups.CurrentSource.current_source_model |
pygenn.genn_groups.CurrentSource.pop |
pygenn.genn_groups.CurrentSource.target_pop |