Virtual Method

NumCosmoGalaxyPositionFactorinteg

Declaration [src]

NcGalaxyPositionFactorIntegrand*
integ (
  NcGalaxyPositionFactor* gspf,
  NcmMSet* mset,
  gboolean use_lnp
)

Description [src]

Builds the per-galaxy position density $p(\mathrm{ra}, \mathrm{dec} \mid I)$ as a callback evaluated at the galaxy’s stored position. The position is not integrated (it is observed directly); the callback is a fixed-position evaluation.

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: NcGalaxyPositionFactorIntegrand

A new NcGalaxyPositionFactorIntegrand.

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