atmosdisp

sofia_redux.spectroscopy.atmosdisp.atmosdisp(wavelength, refwave, za, pressure, temperature, water=0.0, altitude=0)[source]

Compute the atmospheric dispersion relative to wave0

Computes the difference between the dispersion at two wavelengths. The dispersion for each wavelength is derived from Section 4.3 of Green’s “Spherical Astronomy” (1985).

Parameters:
wavelengthfloat or numpy.ndarray of float (N,)

Wavelength in microns

refwavefloat or numpy.ndarray of float (N,)

Reference wavelength in microns

zafloat or numpy.ndarray of float (N,)

Zenith angle of object

pressurefloat or numpy.ndarray of float (N,)

Atmospheric pressure in mm of Hg

temperaturefloat or numpy.ndarray of float (N,)

Atmospheric temperature in degrees C

waterfloat or numpy.ndarray of float (N,), optional

Water vapour pressure in mm of Hg

altitudefloat or numpy.ndarray of float (N,), optional

Observatory altitude in km

Returns:
dispersionfloat or numpy.ndarray of float (N,)

The atmospheric dispersion in arcseconds