Method
NumCosmoGalaxyRedshiftBinningprepare
Declaration [src]
void
nc_galaxy_redshift_binning_prepare (
NcGalaxyRedshiftBinning* gsdrb,
NcGalaxyRedshiftPop* population,
NcGalaxyRedshiftObsSel* observable_population
)
Description [src]
Builds the window-free marginal photo-z density $P(z_p)$ over
$[0, \mathtt{zp_support_max}]$ used by nc_galaxy_redshift_binning_eval_pzp()
and nc_galaxy_redshift_binning_compute_equal_area_photoz_bins(). The models are
consumed here and NOT retained; re-call this after changing their parameters.
The dn/dz producers (nc_galaxy_redshift_binning_compute_dndz() and the on-nodes variant) are stateless and do NOT depend on this preparation.
Parameters
population-
Type:
NcGalaxyRedshiftPopA
NcGalaxyRedshiftPop.The data is owned by the caller of the method. observable_population-
Type:
NcGalaxyRedshiftObsSelA
NcGalaxyRedshiftObsSel.The data is owned by the caller of the method.