Method
NumCosmoGalaxyRedshiftBinningcompute_dndz_on_nodes
Declaration [src]
NcmSpline*
nc_galaxy_redshift_binning_compute_dndz_on_nodes (
NcGalaxyRedshiftBinning* gsdrb,
NcGalaxyRedshiftPop* population,
NcGalaxyRedshiftObsSel* observable_population,
const gdouble zp_min,
const gdouble zp_max,
NcmVector* z_nodes
)
Description [src]
As nc_galaxy_redshift_binning_compute_dndz(), but returns the normalized bin
$\mathrm{d}n/\mathrm{d}z$ tabulated on the given z_nodes (0 outside the
effective support). Same pure-producer semantics: holds nothing and does NOT
require nc_galaxy_redshift_binning_prepare().
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. zp_min-
Type:
const gdoubleThe minimum photometric redshift of the bin.
zp_max-
Type:
const gdoubleThe maximum photometric redshift of the bin.
z_nodes-
Type:
NcmVectorThe true-redshift nodes to tabulate on.
The data is owned by the caller of the method.
Return value
Type: NcmSpline
A NcmSpline of $\mathrm{d}n/\mathrm{d}z$ on z_nodes.
| The caller of the method takes ownership of the returned data, and is responsible for freeing it. |