Method

NumCosmoGalaxyShapeFactoreval_marginal

Declaration [src]

gdouble
nc_galaxy_shape_factor_eval_marginal (
  NcGalaxyShapeFactor* gsf,
  NcGalaxyShapePop* pop,
  NcGalaxyShapeFactorData* data,
  const gdouble g_1,
  const gdouble g_2,
  const gdouble epsilon_obs_1,
  const gdouble epsilon_obs_2
)

Description [src]

Evaluates the intrinsic-ellipticity marginal P(epsilon_obs | g) = int d^2chi_I P_pop(chi_I) N_2(epsilon_obs - f_g(chi_I); std_noise^2) using the subclass evaluation strategy. The shear and the observed ellipticity must be expressed in the same frame; data supplies the per-galaxy noise (std_noise) and the population fragment (pop_data).

Parameters

pop

Type: NcGalaxyShapePop

The NcGalaxyShapePop intrinsic-ellipticity model.

The data is owned by the caller of the method.
data

Type: NcGalaxyShapeFactorData

A NcGalaxyShapeFactorData.

The data is owned by the caller of the method.
g_1

Type: const gdouble

Real part of the reduced shear (bias applied).

g_2

Type: const gdouble

Imaginary part of the reduced shear (bias applied).

epsilon_obs_1

Type: const gdouble

Observed ellipticity component 1 (same frame as g_1, g_2).

epsilon_obs_2

Type: const gdouble

Observed ellipticity component 2 (same frame as g_1, g_2).

Return value

Type: gdouble

The marginal probability density.