GSLWeaveCodeObject class

(Shortest import: from brian2.codegen import GSLWeaveCodeObject)

class brian2.codegen.runtime.GSLweave_rt.GSLweave_rt.GSLWeaveCodeObject(owner, code, variables, variable_indices, template_name, template_source, compiler_kwds, name='weave_code_object*')[source]

Bases: brian2.codegen.runtime.weave_rt.weave_rt.WeaveCodeObject

Methods

run() Runs the code in the namespace.

Details

run()[source]

Runs the code in the namespace.

Returns:

return_value : dict

A dictionary with the keys corresponding to the output_variables defined during the call of CodeGenerator.code_object.