qspec logo qspec logo

A physics toolbox for laser spectroscopy.

Static Badge Static Badge Static Badge

Static Badge Static Badge

© 2026 Patrick Müller. All rights reserved.

qspec. freq_to_inv_cm  (  f  )[source]

Convert a frequency in MHz into a wavenumber in cm-1

$$ k = 10^4\frac{f}{c}. $$
Parameters:
farray_like

The frequency $f$ of a transition (MHz).

Returns:
kndarray

The wavenumber $k$ corresponding to the frequency f (cm-1).