Class
NumCosmoGalaxyRedshiftFactorComposed
Description [src]
final class NumCosmo.GalaxyRedshiftFactorComposed : NumCosmo.GalaxyRedshiftFactor
{
/* No available fields */
}
Composed redshift calculator scheme: a population convolved with an observable.
Builds the per-galaxy joint density as the product of a population
distribution $P(z \mid I)$ (a NcGalaxyRedshiftPop) and a photo-z observable
conditional $P(\mathrm{obs} \mid z)$ (a NcGalaxyRedshiftObs), conditioned on
a photometric selection window $[z_{p,\min}, z_{p,\max}]$:
$$ p(\mathrm{obs}, z \mid I) = P(z \mid I)\,
\frac{P(\mathrm{obs} \mid z)}{\int_{z_{p,\min}}^{z_{p,\max}}
P(\mathrm{obs}’ \mid z)\,\mathrm{d}\,\mathrm{obs}’}. $$
The window normalization is the observable’s own selection mass
(nc_galaxy_redshift_obs_window_mass()), so the scheme never depends on the
observable’s kernel shape. The scheme hands out this joint as an integrand;
the orchestrator performs the single $z$-integral.
Following the calculator convention, the scheme does NOT hold the population
and observable models: they are resolved from the NcmMSet passed to each
method (both are MAIN models), so a fitter varying them is seen immediately.
Only the selection window is scheme configuration.
Constructors
nc_galaxy_redshift_factor_composed_new
Creates a new NcGalaxyRedshiftFactorComposed calculator scheme over the
selection window [zp_min, zp_max]. The population and observable models are
not held; they are resolved from the NcmMSet passed to each method.
Functions
nc_galaxy_redshift_factor_composed_clear
Decreases the reference count of gsdrc by one, and sets the pointer *gsdrc
to NULL.
Instance methods
nc_galaxy_redshift_factor_composed_set_zp_lim
Sets the photometric selection window [zp_min, zp_max].
Methods inherited from NcGalaxyRedshiftFactor (11)
nc_galaxy_redshift_factor_free
Decreases the reference count of gsdr by one.
nc_galaxy_redshift_factor_gen
Generates a new galaxy redshift sample into data (draws the true redshift and
the redshift observation) using the models in mset. The data object must be
initialized beforehand.
nc_galaxy_redshift_factor_gen1
Attempts to generate a single redshift sample subject to the scheme’s
selection/limits, storing the result in data. Used for fixed-total-count
subsampling where proposals violating the constraints are discarded.
nc_galaxy_redshift_factor_get_hash
nc_galaxy_redshift_factor_get_integ_lim
Gets the effective redshift integration support for data: the range over
which the per-galaxy $p(z)$ factor is non-negligible. This is the domain used
by both the fixed-node and adaptive quadratures.
nc_galaxy_redshift_factor_integ
Builds the per-galaxy joint integrand $p(z_\mathrm{phot}, z \mid I)$ as a
function of the true redshift $z$, resolving the scheme’s models from mset.
The calculator does not integrate $z$: the returned integrand is consumed by
the orchestrator’s single $z$-integral.
nc_galaxy_redshift_factor_make_fixed_nodes
Builds the fixed integration nodes over [z_lo, z_hi] used to marginalize the
true redshift.
nc_galaxy_redshift_factor_norm
Computes the normalization $\int p(z_\mathrm{phot}, z \mid I)\, \mathrm{d}z$ over the integration support (standalone/population facet, not the per-galaxy likelihood path).
nc_galaxy_redshift_factor_prepare
Factory-level prepare: validates the scheme’s models in mset and
refreshes whatever it caches for efficient subsequent
nc_galaxy_redshift_factor_update_data() calls.
nc_galaxy_redshift_factor_ref
Increases the reference count of gsdr by one.
nc_galaxy_redshift_factor_update_data
Unconditionally refreshes data‘s cached state from what the last
nc_galaxy_redshift_factor_prepare() call resolved (default: no-op).
Properties
NumCosmo.GalaxyRedshiftFactorComposed:zp-lim
The photometric selection window $[z_{p,\min}, z_{p,\max}]$.
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.