pmutt.constants.kb

pmutt.constants.kb(units)

Boltzmann constant

Parameters:

units (str) –

Units for kb. Supported units

Unit

Description

Value

J/K

Joule per kelvin

1.38064852e-23

kJ/K

Kilojoule per kelvin

1.38064852e-26

eV/K

Electron volt per kelvin

8.6173303e-5

cal/K

Calorie per kelvin

3.2976230e-24

kcal/K

Kilocalorie per kelvin

3.2976230e-27

Eh/K

Hartree per kelvin

3.1668105e-6

Ha/K

Hartree per kelvin

3.1668105e-6

Returns:

kb – Boltzmann constant in appropriate units

Return type:

float

Raises:

KeyError – If units is not supported.