update_params

RT1.update_params(**kwargs)

Update the numerical values used for the model parameters.

These values will be used as default when calling R.calc() to compute the model!

The default parameter names are:

  • “omega” : The single-scattering albedo of the volume-scattering layer

  • “tau” : The optical depth of the volume-scattering layer

  • “NormBRDF” : Normalization factor for the surface BRDF

  • “bsf” : Fraction of bare-soil contribution (no attenuation due to vegetation)

The currently set values can be accessed via RT1.param_dict.

Parameters:

kwargs – Any parameters required to fully specify the model (e.g. omega, tau, NormBRDF, bsf and all required scattering distribution parameters).

Examples

>>> R = RT1(V=volume.Rayleigh(),
>>>         SRF=surface.HenyeyGreenstein(t="t", ncoefs=10))
>>> R.update_params(omega=0.2, tau=0.3, t=0.3, NormBRDF=0.2)