spectral¶

astropy.units.equivalencies.
spectral
()[source] [edit on github]¶ Returns a list of equivalence pairs that handle spectral wavelength, wave number, frequency, and energy equivalences.
Allows conversions between wavelength units, wave number units, frequency units, and energy units as they relate to light.
There are two types of wave number:
 spectroscopic  \(1 / \lambda\) (per meter)
 angular  \(2 \pi / \lambda\) (radian per meter)