>  Docs Center  >  Libraries  >  ASTROLIB  >  VACTOAIR
Libraries

VACTOAIR

VACTOAIR

Name


VACTOAIR

Purpose


Convert vacuum wavelengths to air wavelengths

Explanation


Corrects for the index of refraction of air under standard conditions.
Wavelength values below 2000 A will not be altered. Accurate to
about 10 m/s.

Calling Sequence


VACTOAIR, WAVE_VAC, [WAVE_AIR]

Input/output


WAVE_VAC - Vacuum Wavelength in Angstroms, scalar or vector
If the second parameter is not supplied, then this will be
              updated on output to contain double precision air wavelengths.

Optional Output


        WAVE_AIR - Air wavelength in Angstroms, same number of elements as
                WAVE_VAC, double precision

Example


If the vacuum wavelength is W = 2000, then
IDL> VACTOAIR, W
yields an air wavelength of W = 1999.353 Angstroms

Method


Formula from Ciddor 1996 Applied Optics , 35, 1566

Revision History


Written, D. Lindler 1982
Documentation W. Landsman Feb. 1989
      Use Ciddor (1996) formula for better accuracy in the infrared
          Added optional output vector, W Landsman Mar 2011



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us