Method

NumCosmoGalaxyRedshiftBinningcompute_dndz

Declaration [src]

NcmSpline*
nc_galaxy_redshift_binning_compute_dndz (
  NcGalaxyRedshiftBinning* gsdrb,
  NcGalaxyRedshiftPop* population,
  NcGalaxyRedshiftObsSel* observable_population,
  const gdouble zp_min,
  const gdouble zp_max
)

Description [src]

Builds the normalized bin $\mathrm{d}n/\mathrm{d}z$ for the photometric window [zp_min, zp_max] as a fresh adaptive-knot NcmSpline meeting NcGalaxyRedshiftBinning:reltol over its effective support, normalized to unit integral. Pure producer: consumes the models on the call, holds nothing, and does NOT require nc_galaxy_redshift_binning_prepare().

Parameters

population

Type: NcGalaxyRedshiftPop

A NcGalaxyRedshiftPop.

The data is owned by the caller of the method.
observable_population

Type: NcGalaxyRedshiftObsSel

A NcGalaxyRedshiftObsSel.

The data is owned by the caller of the method.
zp_min

Type: const gdouble

The minimum photometric redshift of the bin.

zp_max

Type: const gdouble

The maximum photometric redshift of the bin.

Return value

Type: NcmSpline

A NcmSpline of $\mathrm{d}n/\mathrm{d}z$.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.