GeNN  4.9.0
GPU enhanced Neuronal Networks (GeNN)
model_preprocessor.py File Reference

Classes

class  pygenn.model_preprocessor.Variable
 Class holding information about GeNN variables. More...
 
class  pygenn.model_preprocessor.ExtraGlobalParameter
 Class holding information about GeNN extra global paramete. More...
 

Namespaces

 pygenn.model_preprocessor
 This module provides functions for model validation, parameter type conversions and defines class Variable.
 

Functions

def pygenn.model_preprocessor.prepare_model (model, group, param_space, var_space, model_family)
 Prepare a model by checking its validity and extracting information about variables and parameters. More...
 
def pygenn.model_preprocessor.prepare_snippet (snippet, param_space, snippet_family)
 Prepare a snippet by checking its validity and extracting information about parameters. More...
 
def pygenn.model_preprocessor.is_model_valid (model, model_family)
 Check whether the model is valid, i.e is native or derived from model_family.Custom. More...
 
def pygenn.model_preprocessor.param_space_to_vals (model, param_space)
 Convert a param_space dict to ParamValues. More...
 
def pygenn.model_preprocessor.param_space_to_val_vec (model, param_space)
 Convert a param_space dict to a std::vector<double> More...
 
def pygenn.model_preprocessor.var_space_to_vals (model, var_space)
 Convert a var_space dict to VarValues. More...
 
def pygenn.model_preprocessor.var_ref_space_to_var_refs (model, var_ref_space)
 Convert a var_ref_space dict to VarReferences. More...
 
def pygenn.model_preprocessor.var_ref_space_to_wu_var_refs (model, var_ref_space)
 Convert a var_ref_space dict to WUVarReferences. More...
 
def pygenn.model_preprocessor.egp_ref_space_to_egp_refs (model, egp_ref_space)
 Convert a egp_ref_space dict to EGPReferences. More...
 
def pygenn.model_preprocessor.pre_var_space_to_vals (model, var_space)
 Convert a var_space dict to PreVarValues. More...
 
def pygenn.model_preprocessor.post_var_space_to_vals (model, var_space)
 Convert a var_space dict to PostVarValues. More...