tardis.workflows.standard_tardis_workflow module

class tardis.workflows.standard_tardis_workflow.StandardTARDISWorkflow(*args, **kwargs)[source]

Bases: SimpleTARDISWorkflow, PlasmaStateStorerMixin, HDFWriterMixin

convergence_plots = None
export_convergence_plots = False
get_convergence_estimates(transport_state)[source]

Compute convergence estimates from the transport state

Parameters:
transport_stateMonteCarloTransportState

Transport state object to compute estimates

Returns:
dict

Convergence estimates

EstimatedRadiationFieldProperties

Dilute radiation file and j_blues dataclass

hdf_properties = ['simulation_state', 'plasma_solver', 'transport_solver', 'iterations_w', 'iterations_t_rad', 'iterations_electron_densities', 'iterations_t_inner', 'spectrum_solver']
initialize_convergence_plots()[source]

Initialize the convergence plot attributes

Returns:
ConvergencePlots

The convergence plot instance

bool

If convergence plots are to be exported

Raises:
RuntimeError

Raised if run outside a notebook

TypeError

Raised if export_convergence_plots is not a bool

run()[source]

Run the TARDIS simulation until convergence is reached

update_convergence_plot_data(plot_data_dict)[source]

Updates convergence plotting data

Parameters:
plot_data_dictdict

Dictionary of data to update of the form {“name”: [value, item_type]}