hierarc.LensPosterior package

Submodules

hierarc.LensPosterior.anisotropy_config module

class hierarc.LensPosterior.anisotropy_config.AnisotropyConfig(anisotropy_model, r_eff)[source]

Bases: object

Class to manage the anisotropy model and parameters for the Posterior processing.

property ani_param_array
Returns:

numpy array of anisotropy parameter values to be explored

anisotropy_kwargs(a_ani, beta_inf=None)[source]
Parameters:
  • a_ani – anisotropy parameter

  • beta_inf – anisotropy at infinity (only used for ‘GOM’ model)

Returns:

list of anisotropy keyword arguments, value of anisotropy parameter list

property kwargs_anisotropy_base
Returns:

keyword arguments of base anisotropy model configuration

hierarc.LensPosterior.base_config module

hierarc.LensPosterior.ddt_kin_constraints module

hierarc.LensPosterior.ddt_kin_gauss_constraints module

hierarc.LensPosterior.imaging_constraints module

class hierarc.LensPosterior.imaging_constraints.ImageModelPosterior(theta_E, theta_E_error, gamma, gamma_error, r_eff, r_eff_error)[source]

Bases: object

Class to manage lens and light model posteriors inferred from imaging data.

draw_lens(no_error=False)[source]
Parameters:

no_error – bool, if True, does not render from the uncertainty but uses the mean values instead

Returns:

theta_E, gamma, r_eff, delta_r_eff

hierarc.LensPosterior.kin_constraints module

Module contents