Top |
guint | nc_cluster_redshift_class_obs_len () |
guint | nc_cluster_redshift_class_obs_params_len () |
NcClusterRedshift * | nc_cluster_redshift_ref () |
void | nc_cluster_redshift_free () |
void | nc_cluster_redshift_clear () |
gdouble | nc_cluster_redshift_p () |
gdouble | nc_cluster_redshift_intp () |
gdouble | nc_cluster_redshift_intp_bin () |
gboolean | nc_cluster_redshift_resample () |
void | nc_cluster_redshift_p_limits () |
void | nc_cluster_redshift_p_bin_limits () |
void | nc_cluster_redshift_n_limits () |
gdouble | nc_cluster_redshift_volume () |
void | nc_cluster_redshift_log_all_models () |
GEnum ╰── NcClusterRedshiftImpl GObject ╰── NcmModel ╰── NcClusterRedshift ├── NcClusterPhotozGauss ├── NcClusterPhotozGaussGlobal ╰── NcClusterRedshiftNodist
guint
nc_cluster_redshift_class_obs_len (NcClusterRedshiftClass *clusterz_class
);
The number of observable redshifts of each cluster, e.g., 1 - only photometric redshift, 1 - only spectroscopic redshift, 2 - both photometric and spectroscopic redshifts.
guint
nc_cluster_redshift_class_obs_params_len
(NcClusterRedshiftClass *clusterz_class
);
The number of parameters related to the observable redshifts of each cluster, e.g., 1 - measured error of the photometric redshift.
NcClusterRedshift *
nc_cluster_redshift_ref (NcClusterRedshift *clusterz
);
Increases the reference count of clusterz
by one.
void
nc_cluster_redshift_free (NcClusterRedshift *clusterz
);
Atomically decrements the reference count of clusterz
by one. If the reference count drops to 0,
all memory allocated by clusterz
is released.
void
nc_cluster_redshift_clear (NcClusterRedshift **clusterz
);
Atomically decrements the reference count of clusterz
by one. Set pointer to NULL.
gdouble nc_cluster_redshift_p (NcClusterRedshift *clusterz
,NcHICosmo *cosmo
,const gdouble lnM
,const gdouble z
,const gdouble *z_obs
,const gdouble *z_obs_params
);
It computes the probability density function (pdf) of the cluster redshift distribution clusterz
given z
, lnM
and the measured redshit z_obs
and its parameter(s) z_obs_params
.
gdouble nc_cluster_redshift_intp (NcClusterRedshift *clusterz
,NcHICosmo *cosmo
,const gdouble lnM
,const gdouble z
);
It computes the clusterz
probability distribution of z
lying
in the range $[z^{obs}_{min}, z^{obs}_{max}]$, namely,
$$ intp = \int_{z^{obs}_{min}}^{z^{obs}_{max}} p \, dz^{obs},$$
where $p$ is [nc_cluster_redshift_p()
].
gdouble nc_cluster_redshift_intp_bin (NcClusterRedshift *clusterz
,NcHICosmo *cosmo
,const gdouble lnM
,const gdouble z
,const gdouble *z_obs_lower
,const gdouble *z_obs_upper
,const gdouble *z_obs_params
);
FIXME
gboolean nc_cluster_redshift_resample (NcClusterRedshift *clusterz
,NcHICosmo *cosmo
,const gdouble lnM
,const gdouble z
,gdouble *z_obs
,const gdouble *z_obs_params
,NcmRNG *rng
);
FIXME
clusterz |
||
cosmo |
||
z |
true redshift |
|
lnM |
true mass |
|
z_obs |
observed redshift. |
[out] |
z_obs_params |
observed redshift params. |
[out] |
rng |
a NcmRNG |
void nc_cluster_redshift_p_limits (NcClusterRedshift *clusterz
,NcHICosmo *cosmo
,const gdouble *z_obs
,const gdouble *z_obs_params
,gdouble *z_lower
,gdouble *z_upper
);
FIXME
void nc_cluster_redshift_p_bin_limits (NcClusterRedshift *clusterz
,NcHICosmo *cosmo
,const gdouble *z_obs_lower
,const gdouble *z_obs_upper
,const gdouble *z_obs_params
,gdouble *z_lower
,gdouble *z_upper
);
FIXME
clusterz |
||
cosmo |
||
z_obs_lower |
observed redshift. |
[array][element-type gdouble] |
z_obs_upper |
observed redshift. |
[array][element-type gdouble] |
z_obs_params |
observed redshift params. |
[array][element-type gdouble] |
z_lower |
pointer to the lower limit of the true redshift integration. |
[out] |
z_upper |
pointer to the upper limit of the true redshift integration. |
[out] |
void nc_cluster_redshift_n_limits (NcClusterRedshift *clusterz
,NcHICosmo *cosmo
,gdouble *z_lower
,gdouble *z_upper
);
FIXME
The function which will call this one is responsible to allocate memory for z_lower
and z_upper
.
gdouble
nc_cluster_redshift_volume (NcClusterRedshift *clusterz
);
FIXME
probability density function of the true-measured cluster redshifts |
||
probability distribution (integration over the measured redshift) |
||
resample function to generate the cluster redshifts following the underlying cluster redshift distribution. |
||
function to set the lower and upper limits of the to compute the integral of the cluster redshift distribution. |
||
function to set the lower and upper thresholds of the observable cluster redshift to compute the normalization of the cluster redshift distribution. |