pynn_brainscales.brainscales2.simulator.State

class pynn_brainscales.brainscales2.simulator.State

Bases: pyNN.common.control.BaseState

Represent the simulator state.

__init__()

Initialize the simulator.

Methods

__init__()

Initialize the simulator.

add(runtime)

Adds currently specified configuration, network_graph and inputs to list, which is processed serially in run()

clear()

prepare_static_config()

preprocess(snippet_begin_time, snippet_end_time)

Execute all steps needed for the hardware back-end.

reset()

Reset the state of the current network to time t = 0.

run()

Performs a hardware run of the currently scheduled experiment.

run_until(tstop)

Attributes

dt

add(runtime: float)

Adds currently specified configuration, network_graph and inputs to list, which is processed serially in run()

clear()
dt: Final[float] = 3.4e-05
prepare_static_config()
preprocess(snippet_begin_time, snippet_end_time)

Execute all steps needed for the hardware back-end. Includes place&route of network graph or execution of calibration. Can be called manually to obtain calibration results for e.g. CalibHXNeuronCuba/Coba and make adjustments if needed. If not called manually is automatically called on run().

reset()

Reset the state of the current network to time t = 0.

run()

Performs a hardware run of the currently scheduled experiment.

run_until(tstop)