Method

NumCosmoGalaxyRedshiftBinningeval_pzp

Declaration [src]

gdouble
nc_galaxy_redshift_binning_eval_pzp (
  NcGalaxyRedshiftBinning* gsdrb,
  const gdouble zp
)

Description [src]

Evaluates the marginal photometric-redshift density $$ P(z_p) = \int P(z\mid I)\,\frac{f(z_p\mid z)}{N(z)}\,\mathrm{d}z, \qquad N(z) = \int_0^\infty f(z_p’\mid z)\,\mathrm{d}z_p’, $$ the distribution of photo-z over the whole population (independent of any bin window). Requires a prior nc_galaxy_redshift_binning_prepare().

Parameters

zp

Type: const gdouble

The photometric redshift.

Return value

Type: gdouble

The marginal density $P(z_p)$ at zp.