atmospheric_refraction

simcado.utils.atmospheric_refraction(lam, z0=60, temp=0, rel_hum=60, pres=750, lat=-24.5, h=3064)[source]

Compute atmospheric refraction

The function computes the angular difference between the apparent position of a star seen from the ground and its true position.

Parameters
lamfloat, np.ndarray

[um] wavelength bin centres

z0float, optional

[deg] zenith distance. Default is 60 deg from zenith

tempfloat, optional

[deg C] ground temperature. Default is 0 deg C

rel_humfloat, optional

[%] relative humidity. Default is 60%

presfloat, optional

[millibar] air pressure. Default is 750 mbar

latfloat, optional

[deg] latitude. Default set for Cerro Armazones: 24.5 deg South

hfloat, optional

[m] height above sea level. Default is 3064 m

Returns
angfloat, np.ndarray

[arcsec] angle between real position and refracted position

References

See Stone 1996 and the review by S. Pedraz - http://www.caha.es/newsletter/news03b/pedraz/newslet.html