First ionization potential

class PyAstronomy.pyasl.FirstIonizationPot

First ionization potentials of individual elements.

The data have been obtained from NIST: http://physics.nist.gov/PhysRefData/ASD/ionEnergy.html

Methods

getFIP(atom)

Get the first ionization energy.

getFIP(atom)

Get the first ionization energy.

Parameters
atomstring or integer

Either a string specifying the elemental symbol (e.g., ‘H’) or an integer specifying the atomic number.

Returns
FIPfloat

First ionization potential [eV].

FIP errorfloat

Error of the FIP [eV]. May also be None if no error is available.

PyAstronomy.pyasl.plotFIP()

Show a plot of first ionization energy vs. atomic number.

Example

from __future__ import print_function, division
from PyAstronomy import pyasl

fip = pyasl.FirstIonizationPot()

print("First ionization energy of Li = %4.2e +/- %4.2e eV" % fip.getFIP(3))
print("First ionization energy of Protactinium = %4.2e +/- %4.2e eV" % fip.getFIP(91))

# And the same using elemental symbols
print()
print("First ionization energy of Li = %4.2e +/- %4.2e eV" % fip.getFIP("Li"))
print("First ionization energy of Protactinium = %4.2e +/- %4.2e eV" % fip.getFIP("Pa"))

# Plot the first ionization energy as a function of atomic number
pyasl.plotFIP()