vunits.convert.wavenumber_to_freq

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

Converts wavenumber to frequency

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 freq. Default is ‘Hz’.

Returns

freq – Frequency corresponding to units_out.

Return type

float or Quantity obj