tardis.plasma.properties.radiative_properties module

class tardis.plasma.properties.radiative_properties.BetaSobolev(plasma_parent)[source]

Bases: tardis.plasma.properties.base.ProcessingPlasmaProperty

Attributes
beta_sobolevNumpy Array, dtype float
calculate(tau_sobolevs)[source]
static calculate_beta_sobolev(tau_sobolevs, beta_sobolevs)[source]
latex_name = ('\\beta_{\\textrm{sobolev}}',)
outputs = ('beta_sobolev',)
class tardis.plasma.properties.radiative_properties.RawRadBoundBoundTransProbs(plasma_parent)[source]

Bases: tardis.plasma.properties.radiative_properties.TransitionProbabilities, tardis.plasma.properties.base.TransitionProbabilitiesProperty

Attributes
p_rad_bbpandas.DataFrame, dtype float

Unnormalized transition probabilities for radiative bound-bound transitions

calculate(atomic_data, beta_sobolev, j_blues, stimulated_emission_factor, tau_sobolevs, continuum_interaction_species)[source]
outputs = ('p_rad_bb',)
transition_probabilities_outputs = ('p_rad_bb',)
class tardis.plasma.properties.radiative_properties.StimulatedEmissionFactor(plasma_parent=None, nlte_species=None)[source]

Bases: tardis.plasma.properties.base.ProcessingPlasmaProperty

Attributes
stimulated_emission_factorNumpy Array, dtype float

Indexed by lines, columns as zones.

calculate(g, level_number_density, lines_lower_level_index, lines_upper_level_index, metastability, lines)[source]
get_g_lower(g, lines_lower_level_index)[source]
get_g_upper(g, lines_upper_level_index)[source]
get_metastable_upper(metastability, lines_upper_level_index)[source]
latex_formula = ('1-\\dfrac{g_{lower}n_{upper}}{g_{upper}n_{lower}}',)
outputs = ('stimulated_emission_factor',)
class tardis.plasma.properties.radiative_properties.TauSobolev(plasma_parent)[source]

Bases: tardis.plasma.properties.base.ProcessingPlasmaProperty

Attributes
tau_sobolevPandas DataFrame, dtype float

Sobolev optical depth for each line. Indexed by line. Columns as zones.

calculate(lines, level_number_density, lines_lower_level_index, time_explosion, stimulated_emission_factor, j_blues, f_lu, wavelength_cm)[source]
latex_formula = ('\\dfrac{\\pi e^{2}}{m_{e} c}f_{lu}\\lambda t_{exp}\\\n        n_{lower} \\Big(1-\\dfrac{g_{lower}n_{upper}}{g_{upper}n_{lower}}\\Big)',)
latex_name = ('\\tau_{\\textrm{sobolev}}',)
outputs = ('tau_sobolevs',)
class tardis.plasma.properties.radiative_properties.TransitionProbabilities(plasma_parent)[source]

Bases: tardis.plasma.properties.base.ProcessingPlasmaProperty

Attributes
transition_probabilitiesPandas DataFrame, dtype float
calculate(atomic_data, beta_sobolev, j_blues, stimulated_emission_factor, tau_sobolevs)[source]
calculate_transition_probabilities(macro_atom_data, beta_sobolev, j_blues, stimulated_emission_factor)[source]
initialize_macro_atom_transition_type_filters(atomic_data, macro_atom_data)[source]
outputs = ('transition_probabilities',)
prepare_transition_probabilities(macro_atom_data, beta_sobolev, j_blues, stimulated_emission_factor)[source]