Virtual Method

NumCosmoGalaxyRedshiftFactorinteg

Declaration [src]

NcGalaxyRedshiftFactorIntegrand*
integ (
  NcGalaxyRedshiftFactor* gsdr,
  NcmMSet* mset,
  gboolean use_lnp
)

Description [src]

Builds the per-galaxy joint integrand $p(z_\mathrm{phot}, z \mid I)$ as a function of the true redshift $z$, resolving the scheme’s models from mset. The calculator does not integrate $z$: the returned integrand is consumed by the orchestrator’s single $z$-integral.

Parameters

mset

Type: NcmMSet

A NcmMSet supplying the scheme’s models.

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

Type: gboolean

If TRUE the integrand returns the natural logarithm of the density.

Return value

Type: NcGalaxyRedshiftFactorIntegrand

A new NcGalaxyRedshiftFactorIntegrand.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.