vunits.convert.wavenumber_to_energy¶
-
vunits.convert.
wavenumber_to_energy
(wavenumber, units_in='cm-1', return_quantity=False, units_out='J')¶ Converts wavenumbers to energies
- Parameters
wavenumber (float) – Wavenumber
units_in (str, optional) – Units corresponding to
wavenumber
. Default is ‘1/cm’.return_quantity (bool, optional) – If True, returns
Quantity
. Otherwise, returns float.units_out (str, optional) – Units corresponding to
energy
. Default is ‘J’.
- Returns
energy – Energy corresponding to
units_out
.- Return type
float or
Quantity
obj