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 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)