Virtual Method
NumCosmoGalaxyRedshiftObswindow_mass
Declaration [src]
gdouble
window_mass (
NcGalaxyRedshiftObs* gsdre,
NcGalaxyRedshiftObsData* data,
const gdouble z,
const gdouble obs_lo,
const gdouble obs_hi
)
Description [src]
Computes the probability mass of the observable conditional in the window
$[\mathtt{obs_lo}, \mathtt{obs_hi}]$ at fixed true redshift z, i.e.
$\int_{\mathtt{obs_lo}}^{\mathtt{obs_hi}} P(\mathrm{obs} \mid z)\,
\mathrm{d}\,\mathrm{obs}$. This is the selection/normalization factor used by
the redshift calculator to condition on a photometric selection window and by
the binned $\mathrm{d}n/\mathrm{d}z$; it depends only on z and the per-galaxy
scatter, not on the sampled point estimate.
Parameters
data-
Type:
NcGalaxyRedshiftObsDataA
NcGalaxyRedshiftObsDatawhose observation inputs are set.The data is owned by the caller of the method. z-
Type:
const gdoubleThe true redshift $z$.
obs_lo-
Type:
const gdoubleThe lower edge of the observable window.
obs_hi-
Type:
const gdoubleThe upper edge of the observable window.