nist_ionization_energy: Ionization Energies from the NIST Atomic Spectra Database

View source: R/nist.R

nist_ionization_energyR Documentation

Ionization Energies from the NIST Atomic Spectra Database

Description

Retrieves ionization energies from the NIST Atomic Spectra Database, for example the ionization energy of the neutral atom needed by saha_boltzmann().

Usage

nist_ionization_energy(species, timeout = 120)

Arguments

species

A character vector of emitters in spectroscopic notation: "Ca I" gives the energy needed to ionize neutral calcium, "Ca II" that needed to ionize Ca^{+}.

timeout

The download timeout, in seconds. Default is 120.

Value

A named numeric vector of ionization energies, in eV.

See Also

nist_lines(), saha_boltzmann()

Examples


# needs an internet connection; gives up after 20 s if NIST does not answer
try(nist_ionization_energy(c("Ca I", "Mg I"), timeout = 20))


specProc documentation built on Nov. 20, 2026, 5:11 p.m.