tardis.plasma.properties.nlte module

class tardis.plasma.properties.nlte.HeliumNLTE(plasma_parent)[source]

Bases: tardis.plasma.properties.base.ProcessingPlasmaProperty

static calculate(level_boltzmann_factor, ionization_data, beta_rad, g, g_electron, w, t_rad, t_electrons, delta, zeta_data, number_density, partition_function)[source]

Updates all of the helium level populations according to the helium NLTE recomb approximation.

static calculate_helium_one(g_electron, beta_rad, ionization_data, level_boltzmann_factor, g, w)[source]

Calculates the He I level population values, in equilibrium with the He II ground state.

static calculate_helium_three(t_rad, w, zeta_data, t_electrons, delta, g_electron, beta_rad, ionization_data, g)[source]

Calculates the He III level population values.

outputs = ('helium_population',)
class tardis.plasma.properties.nlte.HeliumNumericalNLTE(plasma_parent, heating_rate_data_file)[source]

Bases: tardis.plasma.properties.base.ProcessingPlasmaProperty

IMPORTANT: This particular property requires a specific numerical NLTE solver and a specific atomic dataset (neither of which are distributed with Tardis) to work.

calculate(ion_number_density, electron_densities, t_electrons, w, lines, j_blues, levels, level_boltzmann_factor, t_rad, zeta_data, g_electron, delta, partition_function, ionization_data, beta_rad, g, time_explosion)[source]
outputs = ('helium_population',)
class tardis.plasma.properties.nlte.PreviousBetaSobolev[source]

Bases: tardis.plasma.properties.base.PreviousIterationProperty

Attributes
previous_beta_sobolevThe beta sobolev values converged upon in the previous iteration.
outputs = ('previous_beta_sobolev',)
set_initial_value(kwargs)[source]
class tardis.plasma.properties.nlte.PreviousElectronDensities[source]

Bases: tardis.plasma.properties.base.PreviousIterationProperty

Attributes
previous_electron_densitiesThe values for the electron densities converged upon in the previous iteration.
outputs = ('previous_electron_densities',)
set_initial_value(kwargs)[source]