tau0ma

skysim.transmission.tau0ma(lam)[source]

Calculate zenith optical depth of molecular absorption.

The main absorbers are the molecular oxygen bands (A ~762nm, B ~688nm, gamma ~628nm) and water vapor bands (~720nm, 820nm, 940nm). See Section 2 and Fig.2 of Noll 2012 for details.

Narrow asorption features are resampled to the requested wavelength grid using a flux-conserving algorithm.

Parameters
lamfloat or array

Wavelength in nanometers.

Returns
float or array

Zenith optical depth of molecular absorption.