rizer.io.minplascalc.nist_parsers#
Downloads the couple (J, Level[eV]) from the [NIST_ASD] lebels data.
J is the total angular momentum number. Level is the energy level in electron volts.
Inspired from exoclime/HELIOS-K
Attributes#
Functions#
|
Get the angular momentum and energy levels for a given atom and ionization state. |
|
Get the spectral lines for a given atom and ionization state. |
Module Contents#
- rizer.io.minplascalc.nist_parsers.get_nist_energy_levels(atom_symbol: str, ionization_state: str) list[tuple[float, float]]#
Get the angular momentum and energy levels for a given atom and ionization state.
- Parameters:
- Returns:
A list of tuples, each containing the angular momentum number J and the energy level, in \(\text{J}\).
- Return type:
- Raises:
ValueError – If the request to the NIST Atomic Spectra Database fails, or if the input is incorrect.
- rizer.io.minplascalc.nist_parsers.get_nist_spectral_lines(atom_symbol: str, ionization_state: str) list[tuple[float, float, float]]#
Get the spectral lines for a given atom and ionization state.
Lines included are the observed one, as well as those of Ritz.
- Parameters:
- Returns:
A list of tuples, each containing:
the wavelength \(\lambda\), in \(\text{m}\),
the transition strength \(g_k A_{ki}\), in \(\text{Hz}\), and
the line energy \(E_k\), in \(J\).
- Return type:
- Raises:
ValueError – If the request to the NIST Atomic Spectra Database fails, or if the input is incorrect.
Notes
See https://physics.nist.gov/PhysRefData/ASD/Html/lineshelp.html#LINES_INCLUDE_RITZ
- rizer.io.minplascalc.nist_parsers.Z = 'O'#