atten_from_opacity¶
-
pycraf.atm.
atten_from_opacity
(tau, elev=None)[source] [edit on github]¶ Atmospheric attenuation derived from opacity.
- Parameters
- tau
Quantity
Atmospheric opacity [dimless aka neper]
- elev
Quantity
, 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.
- tau
- Returns
- atten
Quantity
Atmospheric attenuation [dB or dimless]
- atten