calc_scattering_angle

HGRayleigh.calc_scattering_angle(t_0, t_ex, p_0, p_ex, a)

Generalized scattering angle with respect to the given zenith-angles.

(http://rt1.readthedocs.io/en/latest/theory.html#equation-general_scat_angle)

Standard-choices assigned in the volume- and surface class:

  • Surface: a=[ 1,1,1] … pi-shifted scattering angle cos[t_0]*cos[t_ex] + sin[t_0]*sin[t_ex]*cos[p_0 - p_ex]

  • Volume: a=[-1,1,1] … ordinary scattering angle -cos[t_0]*cos[t_ex] + sin[t_0]*sin[t_ex]*cos[p_0 - p_ex]

Note

The scattering angle is defined with respect to the incident zenith-angle t_0, and not with respect to the incidence-angle in a spherical coordinate system (t_i)! The two definitions are related via t_i = pi - t_0

Parameters:
  • t_0 (array_like(float)) – incident zenith-angle

  • p_0 (array_like(float)) – incident azimuth-angle

  • t_ex (array_like(float)) – exit zenith-angle

  • p_ex (array_like(float)) – exit azimuth-angle

  • a ([ float , float , float ]) – generalized scattering angle parameters

Returns:

the generalized scattering angle

Return type:

float