tardis.plasma.properties.level_population module¶
- class tardis.plasma.properties.level_population.LevelNumberDensity(plasma_parent)[source]¶
Bases:
ProcessingPlasmaProperty
Calculates the level populations
- Attributes:
- level_number_densityPandas DataFrame, dtype float
Index atom number, ion number, level number. Columns are zones.
- calculate(level_boltzmann_factor, ion_number_density, levels, partition_function)¶
Calculate the level populations from the level_boltzmann_factor, ion_number_density and partition_function
- latex_formula = ('N_{i,j}\\dfrac{bf_{i,j,k}}{Z_{i,j}}',)¶
- latex_name = ('N_{i,j,k}',)¶
- outputs = ('level_number_density',)¶
- class tardis.plasma.properties.level_population.LevelNumberDensityHeNLTE(plasma_parent)[source]¶
Bases:
LevelNumberDensity
- Attributes:
- level_number_densityPandas DataFrame, dtype float
Index atom number, ion number, level number. Columns are zones.