minplascalc.parsers#
Functions#
|
Parse a string of data in NIST online database format. |
|
Parse a list of atomic energy level data in NIST online database format. |
Module Contents#
- minplascalc.parsers.nist_string(nist_line: str) list[float] #
Parse a string of data in NIST online database format.
- Parameters:
nist_line (
str
) – A string representing a line of information from a NIST-style data source.- Returns:
Each value in the data string.
- Return type:
list
offloat
- minplascalc.parsers.nist_energy_levels(data: list[str]) list[tuple[float, float]] #
Parse a list of atomic energy level data in NIST online database format.
- Parameters:
data (
list
ofstr
) – NIST-style data line for each energy level.- Returns:
Energy levels. Each entry contains the energy of the level Ei and the associated quantum number J.
- Return type:
list
oflength-2 lists