tardis.analysis module

Code to analyse the model.

class tardis.analysis.LastLineInteraction(last_line_interaction_in_id, last_line_interaction_out_id, last_line_interaction_shell_id, output_nu, input_nu, lines, packet_filter_mode='packet_out_nu')[source]

Bases: object

property atomic_number
classmethod from_simulation(simulation, packet_filter_mode='packet_out_nu')[source]
property ion_number
plot_wave_in_out(fig, do_clf=True, plot_resonance=True)[source]
set_ion(atomic_number, ion_number)[source]
property shell
update_last_interaction_filter()[source]
property wavelength_end
property wavelength_start
class tardis.analysis.TARDISHistory(hdf5_fname, iterations=None)[source]

Bases: object

Records the history of the model

calculate_departure_coefficients(species, iteration=-1)[source]
calculate_relative_lte_level_populations(species, iteration=-1)[source]
get_last_line_interaction(iteration=-1)[source]
load_atom_data()[source]
load_ion_populations(iterations=None)[source]
load_jblues(iterations=None)[source]
load_level_populations(iterations=None)[source]
load_spectrum(iteration, spectrum_keyword='luminosity_density')[source]
load_t_inner(iterations=None)[source]
load_t_rads(iterations=None)[source]
load_ws(iterations=None)[source]