myogen.utils.continuous_saver.ContinuousSaver.finalize#

ContinuousSaver.finalize(
timestep__ms: Quantity__ms,
spike_results=None,
) None[source]#

Save final chunk and spike data.

Call this after simulation completes.

Parameters:
  • timestep__ms (Quantity__ms) – Integration timestep in milliseconds

  • spike_results (NEO Block, optional) – NEO Block containing spike trains from SimulationRunner. If provided, spike data will be extracted and saved to chunks.

Return type:

None