airtovac

pydl.goddard.astro.airtovac(air)[source]

Convert air wavelengths to wavelengths in vacuum.

Parameters:
airarray-like

Values of wavelength in air in Angstroms. Quantity objects with valid length dimensions will be internally converted to Angstrom.

Returns:
array-like

Values of wavelength in vacuum in Angstroms. If a Quantity object was passed in, the output will be converted to the same units as the input.

Notes