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.

Constructors

nc_galaxy_redshift_obs_gauss_new

Creates a new NcGalaxyRedshiftObsGauss.

Functions

nc_galaxy_redshift_obs_gauss_clear

Decreases the reference count of gsdreg by one, and sets the pointer gsdreg to NULL.

Instance methods

nc_galaxy_redshift_obs_gauss_data_get

Gets the per-galaxy photometric-redshift observation of data.

nc_galaxy_redshift_obs_gauss_data_set

Sets the per-galaxy photometric-redshift observation of data.

nc_galaxy_redshift_obs_gauss_free

Decreases the reference count of gsdreg by one.

nc_galaxy_redshift_obs_gauss_ref

Increases the reference count of gsdreg by one.

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.

Methods inherited from NcmModel (89)

Please see NcmModel for a full list of methods.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Properties inherited from NcmModel (9)
NumCosmoMath.Model:implementation
No description available.
NumCosmoMath.Model:name
No description available.
NumCosmoMath.Model:nick
No description available.
NumCosmoMath.Model:params-types
No description available.
NumCosmoMath.Model:reparam
No description available.
NumCosmoMath.Model:scalar-params-len
No description available.
NumCosmoMath.Model:sparam-array
No description available.
NumCosmoMath.Model:submodel-array
No description available.
NumCosmoMath.Model:vector-params-len
No description available.

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.

Class structure

struct NumCosmoGalaxyRedshiftObsGaussClass {
  NcGalaxyRedshiftObsClass parent_class;
  
}

No description available.

Class members
parent_class: NcGalaxyRedshiftObsClass

No description available.