Function adas.vacuum2air

def vacuum2air(wave, method='Edlen1953')

Return the wavelength corrected for refraction in air.

Parameters

wave : float, optional array
wavelength (Angstrom)
method : str
The ADAS default is Edlen1966 with Edlen1953 and Ciddor1996 also available.

Returns

wave : float, may be an array
wavelength (Angstrom) of n-n'.

Notes

The different methods are

  1. B. Edlen, J. Opt. Soc. Am., vol 43, p339 (1953)
  2. B. Edlen, Metrologia vol 2, p71 (1966)
  3. P. Ciddor, Appl. Opt., vol 35, p 1566 (1966)

ADAS uses the first method, Edlen from 1953, in the series 3 programs.

Version History

  • Martin O'Mullane, 17-05-2021

    • First version
  • Martin O'Mullane, 18-05-2021

    • Correct the note on which version ADAS uses.

Example

Compare the different methods for a wavelength of 5300A.

>>> import adas as adas
>>> adas.vacuum2air(5300.0)
5298.525748094831
>>> adas.vacuum2air(5300.0, method='Edlen1953')
5298.525733087971
>>> adas.vacuum2air(5300.0, method='ciddor1996')
5298.525674870389