Class
NumCosmoGalaxyRedshiftObsGauss
Description [src]
final class NumCosmo.GalaxyRedshiftObsGauss : NumCosmo.GalaxyRedshiftObs
{
/* No available fields */
}
Gaussian photometric-redshift observable model.
The photometric redshift is Gaussian about the true redshift with a
redshift-dependent scatter $\sigma_z = \sigma_0 (1 + z)$:
$P(z_\mathrm{phot}|z) = \mathcal{N}(z_\mathrm{phot}; z, \sigma_z)$. The
per-galaxy observation $(z_\mathrm{phot}, \sigma_0)$ is carried together in
the NcGalaxyRedshiftObsData, read from the “zp” and “sigma0” columns.
Functions
nc_galaxy_redshift_obs_gauss_clear
Decreases the reference count of gsdreg by one, and sets the pointer
gsdreg to NULL.
Instance methods
Methods inherited from NcGalaxyRedshiftObs (6)
nc_galaxy_redshift_obs_eval
Evaluates the conditional density $P(\mathrm{data}|z)$ of the per-galaxy
observation in data given the true redshift z.
nc_galaxy_redshift_obs_free
Decreases the reference count of gsdre by one.
nc_galaxy_redshift_obs_gen
Samples a photometric-redshift observation given the true redshift z, storing
the sampled observable(s) into data and returning the sampled point estimate.
nc_galaxy_redshift_obs_get_true_z_lim
Returns the range of true redshift $z$ over which this galaxy’s observable conditional $P(\mathrm{obs} \mid z)$ is non-negligible (e.g. the Gaussian kernel restricted to a few sigma around the point estimate). The redshift calculator intersects this with the population support to build the effective $z$-integration limits, keeping the adaptive quadrature away from resolving a needle in a haystack. Unclamped: the caller applies the population bounds.
nc_galaxy_redshift_obs_ref
Increases the reference count of gsdre by one.
nc_galaxy_redshift_obs_window_mass
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.
Properties
Properties inherited from NcmModel (9)
NumCosmoMath.Model:implementation
NumCosmoMath.Model:name
NumCosmoMath.Model:nick
NumCosmoMath.Model:params-types
NumCosmoMath.Model:reparam
NumCosmoMath.Model:scalar-params-len
NumCosmoMath.Model:sparam-array
NumCosmoMath.Model:submodel-array
NumCosmoMath.Model:vector-params-len
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.