hbp_nrp_cle.brainsim.nengo.NengoSimulationState module¶
NengoSimulationState.py moduleauthor: krach@fzi.de
-
class
NengoSimulationState(loihi=False)[source]¶ Bases:
objectHolds information about the Nengo simulation state
-
property
brain_root¶ Returns the brain root
-
delete_from_brain(device)[source]¶ Remove the brain device from the underlying root network structure.
-
property
initialized¶ Returns whether the simulation state is initialized.
- Returns
True, iff a simulation factory has been set.
-
load_brain(brain_file)[source]¶ Loads the brain model specified in the given Python script
- Parameters
brain_file – The Python file containing the network
-
property
simulation_data¶ Returns the simulation data
-
property
simulator¶ Returns the Nengo simulator instance. The simulator is initialized on first usage. In case the brain model has changed a new simulator is instantiated.
- Returns
-
property