HenyeyGreenstein

class rt1_model.volume.HenyeyGreenstein(t=None, **kwargs)

HenyeyGreenstein scattering function.

Abstract base class for use as volume scattering distribution.

Henyey, L. G. and Greenstein, J. L., Diffuse radiation in the Galaxy., The Astrophysical Journal, vol. 93, pp. 70–83, 1941. doi:10.1086/144246.

Parameters:
  • t (float) – Asymmetry parameter (must be in the range -1 < t < 1).

  • ncoefs (int) – Number of coefficients used for the Legendre-approximation.

  • a ([ float , float , float ] , optional (default = [-1.,1.,1.])) – Generalized scattering angle parameters used for defining the scattering angle of the distribution function. For more details, see: https://rt1-model.rtfd.io/en/latest/theory.html#equation-general_scat_angle

Methods

__init__([t])

calc(t_0, t_ex, p_0, p_ex[, param_dict])

Calculate numerical value of the scattering function.

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

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

legendre_expansion(t_0, t_ex, p_0, p_ex)

Legendre-expansion of the scattering distribution function.

Attributes

legendre_coefficients

Legendre coefficients of the phase function.

ncoefs

The number of coefficients used in the legendre expansion.

phase_function

Phase function as sympy expression.

scattering_angle_symbolic

The generalized scattering angle as a sympy expression.