Function
NumCosmoGalaxyRedshiftBinninglsst_srd_edges
Declaration [src]
NcmVector*
nc_galaxy_redshift_binning_lsst_srd_edges (
NcGalaxyRedshiftPopLSSTSRDType type,
NcGalaxyRedshiftPop** population,
NcGalaxyRedshiftObsSel** observable_population
)
Description [src]
Computes the LSST SRD tomographic photo-z bin edges for type and hands back
the matching population + Gaussian observable models (both configured for
type) via the out-parameters. The edges follow the LSST DESC SRD recipe:
- Lens (Y1, Y10): linearly spaced edges over $[0.2, 1.2]$ (Y1: 5 bins, Y10: 10 bins), $\sigma_0 = 0.03$.
- Source (Y1, Y10): equal-area edges up to $z_p = 3.5$ (5 bins), $\sigma_0 = 0.05$; computed by inverting the marginal $P(z_p)$.
The returned edges feed nc_galaxy_redshift_binning_compute_dndz() (per
consecutive pair) with the handed-back models. This is a factory: it holds nothing.
Parameters
type-
Type:
NcGalaxyRedshiftPopLSSTSRDTypeA
NcGalaxyRedshiftPopLSSTSRDType. population-
Type:
NcGalaxyRedshiftPopThe LSST SRD population model for
type.The argument will be set by the function. The caller of the function takes ownership of the returned data, and is responsible for freeing it. observable_population-
Type:
NcGalaxyRedshiftObsSelA Gaussian photo-z observable with the per-type scatter $\sigma_0$.
The argument will be set by the function. The caller of the function takes ownership of the returned data, and is responsible for freeing it.
Return value
Type: NcmVector
A NcmVector with n_bins + 1 photo-z edges.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |