Method
NumCosmoGalaxySDObsRedshiftGausseval_pzp
Declaration [src]
gdouble
nc_galaxy_sd_obs_redshift_gauss_eval_pzp (
NcGalaxySDObsRedshiftGauss* gsdorgauss,
gdouble zp
)
Description [src]
Evaluates the marginal photometric redshift distribution.
This distribution represents the probability of observing a galaxy at photometric
redshift zp, integrating over all possible true redshifts:
$$P(z_p) = \int_0^\infty P(z) \, \mathrm{Gauss}(z_p|z,\sigma_z(z)) \, \mathrm{d}z$$
where $\sigma_z(z) = \sigma_0 (1 + z)$ and the normalization enforces $z_p > 0$.
The distribution is computed once and cached, so subsequent calls with the same parameters will be very fast. The cache is invalidated when the model state changes.