legendre_expansion
- HGRayleigh.legendre_expansion(t_0, t_ex, p_0, p_ex)
Legendre-expansion of the scattering distribution function.
Note
The incidence-angle argument of the legendre_expansion() is different to the documentation due to the direct definition of the argument as the zenith-angle (t_0) instead of the incidence-angle defined in a spherical coordinate system (t_i). They are related via: t_i = pi - t_0
- Parameters:
t_0 (array_like(float)) – array of incident zenith-angles in radians
p_0 (array_like(float)) – array of incident azimuth-angles in radians
t_ex (array_like(float)) – array of exit zenith-angles in radians
p_ex (array_like(float)) – array of exit azimuth-angles in radians
- Returns:
The Legendre expansion of the scattering distribution function.
- Return type:
sympy - expression