tardis.base module

tardis.base.run_tardis(config, atom_data=None, packet_source=None, simulation_callbacks=[], virtual_packet_logging=False)[source]

This function is one of the core functions to run TARDIS from a given config object.

It will return a model object containing

Parameters
configstr or dict or tardis.io.config_reader.Configuration

filename of configuration yaml file or dictionary or TARDIS Configuration object

atom_datastr or tardis.atomic.AtomData

if atom_data is a string it is interpreted as a path to a file storing the atomic data. Atomic data to use for this TARDIS simulation. If set to None, the atomic data will be loaded according to keywords set in the configuration [default=None]

virtual_packet_loggingbool

option to enable virtual packet logging [default=False]

Returns
Simulation