pmutt.constants.h
- pmutt.constants.h(units, bar=False)
Planck’s constant, h
- Parameters:
units (str) –
Units for h. Supported units
Unit
Description
Value (bar=False)
J s
Joule second
6.626070040e-34
kJ s
Kilojoule second
6.626070040e-37
eV s
Electron volt second
4.135667662e-15
Eh s
Hartree second
1.519829846E-16
Ha s
Hartree second
1.519829846E-16
bar (bool, optional) – If True, returns h/2*pi . Default is False
- Returns:
h – Planck’s constant in appropriate units
- Return type:
- Raises:
KeyError – If units is not supported.