vunits.convert.wavenumber_to_temp

vunits.convert.wavenumber_to_temp(wavenumber, units_in='cm-1', return_quantity=False, units_out='K')

Converts wavenumbers (1/cm) to temperatures (K)

Parameters
  • wavenumber (float) – Wavenumber

  • units_in (str, optional) – Units corresponding to wavenumber. Default is ‘cm-1’.

  • return_quantity (bool, optional) – If True, returns Quantity. Otherwise, returns float.

  • units_out (str, optional) – Units corresponding to temp. Default is ‘K’.

Returns

temperature – Temperature corresponding to units_out.

Return type

float or Quantity obj