perturbopy.postproc.utils.constants.hbar

perturbopy.postproc.utils.constants.hbar(units)

find the value of hbar for specific units.

Parameters:

units (str) – The units hbar should be returned in.

Returns:

hbar – The value of hbar in the specified units.

Return type:

float

Raises:

ValueError – If units is not in the keys of hbar_dict