tardis.io.model.parse_atom_data module

tardis.io.model.parse_atom_data.parse_atom_data(config, atom_data=None)[source]

Parse atom data for the simulation.

Parameters:
configobject

The configuration object containing information about the atom data.

atom_dataobject, optional

Existing atom data to be used, if provided.

Returns:
object

The initialized atom data.

Raises:
ValueError

If no atom_data option is found in the configuration.