fitsmgmt.airmass.calc_airmass

fitsmgmt.airmass.calc_airmass(zd_deg=None, cos_zd=None, scale=750.0)

Calculate airmass by nonrefracting radially symmetric atmosphere model.

Parameters

zd_deg : float or array-like = None

The zenithal distance in degrees. Default: None.

cos_zd : float or array-like = None

The cosine of zenithal distance. If given, zd_deg is not used. Default: None.

scale : float = 750.0

Earth radius divided by the atmospheric height (usually scale height) of the atmosphere. In IRAF documentation, it is mistakenly written that this scale is the “scale height”. Default: 750.0.

Notes

Wiki:

https://en.wikipedia.org/wiki/Air_mass_(astronomy)#Nonrefracting_radially_symmetrical_atmosphere

Identical to the airmass calculation for a given observational run of IRAF’s asutil.setairmass:

http://stsdas.stsci.edu/cgi-bin/gethelp.cgi?setairmass