myogen.simulator.neuron.simulation_runner.SimulationRunner.__init__#

SimulationRunner.__init__(
network: Network,
models: dict[str, Any],
step_callback: Callable[[Any], Any],
model_outputs: dict[str, list[str] | None] | None = None,
temperature__celsius: float = 36.0,
)[source]#

Initialize SimulationRunner with network, models, and step callback.

Parameters:
  • network (Network) – Configured Network instance with populations and connections.

  • models (Dict[str, Any]) – Physiological models (e.g., {“hill”: hill_model, “spin”: spindle_model}).

  • step_callback (Callable) – User-defined function called at each simulation timestep.

  • model_outputs (Optional[Dict[str, Union[List[str], None]]], optional) – Explicit model output attributes to collect. None uses smart defaults. Format: {“model_name”: [“attr1”, “attr2”]} or {“model_name”: None} for defaults, by default None.

  • temperature__celsius (float, optional) – NEURON simulation temperature, by default 36.0.