The angle \(\Theta\) between two directions given as (zenith, azimuth): $$\cos\Theta = \cos\theta_1\cos\theta_2 + \sin\theta_1\sin\theta_2\cos(\phi_1 - \phi_2).$$ For the single-scattering polarization model this is the relevant scattering angle (the degree of polarization peaks near \(\Theta = 90^\circ\)).
Arguments
- view_zenith, view_azimuth
Viewing direction in degrees.
- sun_zenith, sun_azimuth
Solar-beam direction in degrees (use
refracted_solar_anglefor the in-water zenith).