pyrt.make_hapkeHG2_surface#
- pyrt.make_hapkeHG2_surface(user_angles, only_fluxes, n_polar, n_azimuth, n_streams, mu, mu0, phi, phi0, beam_flux, n_mug, b0, h, w, asym, frac)[source]#
Make a 2-lobed Henyey-Greenstein Hapke surface.
- Parameters:
user_angles (bool) – True if this should be returned at user angles; False otherwise.
only_fluxes (bool) – True of only fluxes should be returned; False otherwise. Note that I don’t know why this would be relevant to this function, but DISORT requires it.
n_polar (int) – The number of polar angles.
n_azimuth (int) – The number of azimuth angles.
n_streams (int) – The number of streams.
mu (float) – The cosine of emission.
mu0 (float) – The cosine of incidence.
phi (float) – The azimuth angle.
phi0 (float) – Phi0
beam_flux (float) – The incident beam flux.
n_mug (int) – The number of angle quadrature points.
b0 (float) – The strength of the opposition surge.
h (float) – The width of the opposition surge.
w (float) – The surface single scattering albedo.
asym (float) – The asymmetry parameter (b)
frac (float) – The forward scattering fraction (c)
- Returns:
The arguments to apply to disobrdf.
- Return type:
list
Notes
The output of this function can be easily piped into disort.disobrdf with
disort.disobrdf(*make_hapkeHG2_surface(<args>)).