tardis.io.model.parse_simulation_state module

tardis.io.model.parse_simulation_state.parse_simulation_state(config, packet_source, enable_legacy_mode, kwargs, atom_data)[source]

Initialize the simulation state.

Parameters:
configobject

The configuration object for the simulation.

packet_sourceobject

The packet source for the simulation.

legacy_mode_enabledbool

Flag indicating if legacy mode is enabled.

kwargsdict

Additional keyword arguments.

atom_dataobject

The atom data for the simulation.

Returns:
object

The initialized simulation state.