atten_from_opacity

pycraf.atm.atten_from_opacity(tau, elev=None)[source] [edit on github]

Atmospheric attenuation derived from opacity.

Parameters
tauQuantity

Atmospheric opacity [dimless aka neper]

elevQuantity, optional

Elevation [deg] If not None, this is used to correct for the Airmass (via airmass_from_elevation; AM = 1 / sin(elev)), which means that the input opacity is treated as zenith opacity.

Returns
attenQuantity

Atmospheric attenuation [dB or dimless]