exatomic.exa.util.units module

Unit Conversions

Values are reported with respect to the base SI unit for a given quantity. Conversion factors can be generated using the syntax, Quantity[from, to]; see the example below.

from exatomic.exa.util.units import Energy
Energy["eV"]         # Value of eV in SI units
Energy["eV", "J"]    # Same as above
Energy["eV", "Ha"]   # Conversion factor between eV and Ha (Hartree atomic unit)
class exatomic.exa.util.units.Unit(values, name)[source]

Bases: object

property values