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: NcGalaxyRedshiftObsData

A NcGalaxyRedshiftObsData whose observation inputs are set.

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

Type: const gdouble

The true redshift $z$.

obs_lo

Type: const gdouble

The lower edge of the observable window.

obs_hi

Type: const gdouble

The upper edge of the observable window.

Return value

Type: gdouble

The probability mass in the window.