| NumCosmo Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
#define NC_CLUSTER_REDSHIFT_IMPL_ALL struct NcClusterRedshift; struct NcClusterRedshiftClass; enum NcClusterRedshiftImpl; void nc_cluster_redshift_free (NcClusterRedshift *clusterz); NcClusterRedshiftImpl nc_cluster_redshift_impl (NcClusterRedshift *clusterz); gdouble nc_cluster_redshift_intp (NcClusterRedshift *clusterz,gdouble lnM,gdouble z); void nc_cluster_redshift_n_limits (NcClusterRedshift *clusterz,gdouble *z_lower,gdouble *z_upper); NcClusterRedshift * nc_cluster_redshift_new_from_name (gchar *redshift_name); guint nc_cluster_redshift_obs_len (NcClusterRedshift *clusterz); guint nc_cluster_redshift_obs_params_len (NcClusterRedshift *clusterz); gdouble nc_cluster_redshift_p (NcClusterRedshift *clusterz,gdouble lnM,gdouble z,gdouble *z_obs,gdouble *z_obs_params); void nc_cluster_redshift_p_limits (NcClusterRedshift *clusterz,gdouble *z_obs,gdouble *z_obs_params,gdouble *z_lower,gdouble *z_upper); NcClusterRedshift * nc_cluster_redshift_ref (NcClusterRedshift *clusterz); gboolean nc_cluster_redshift_resample (NcClusterRedshift *clusterz,gdouble lnM,gdouble z,gdouble *z_obs,gdouble *z_obs_params);
GObject
+----NcClusterRedshift
+----NcClusterPhotozGauss
+----NcClusterPhotozGaussGlobal
+----NcClusterRedshiftNodist
typedef enum {
NC_CLUSTER_REDSHIFT_P = 1 << 0,
NC_CLUSTER_REDSHIFT_INTP = 1 << 1,
NC_CLUSTER_REDSHIFT_RESAMPLE = 1 << 2,
NC_CLUSTER_REDSHIFT_P_LIMITS = 1 << 3,
NC_CLUSTER_REDSHIFT_N_LIMTS = 1 << 4,
} NcClusterRedshiftImpl;
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.
|
a NcClusterRedshift. |
NcClusterRedshiftImpl nc_cluster_redshift_impl (NcClusterRedshift *clusterz);
FIXME
|
FIXME. |
Returns : |
FIXME |
gdouble nc_cluster_redshift_intp (NcClusterRedshift *clusterz,gdouble lnM,gdouble z);
FIXME
|
a NcClusterRedshift. |
|
true redshift. |
|
true mass. |
Returns : |
FIXME |
void nc_cluster_redshift_n_limits (NcClusterRedshift *clusterz,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.
|
a NcClusterRedshift. |
|
pointer to the lower limit of the true redshift. [out] |
|
pointer to the upper limit of the true redshift. [out] |
NcClusterRedshift * nc_cluster_redshift_new_from_name (gchar *redshift_name);
This function returns a new NcClusterRedshift whose type is defined by redshift_name.
|
string which specifies the type of the redshift distribution. |
Returns : |
A new NcClusterRedshift. |
guint nc_cluster_redshift_obs_len (NcClusterRedshift *clusterz);
FIXME
|
FIXME. |
Returns : |
FIXME |
guint nc_cluster_redshift_obs_params_len (NcClusterRedshift *clusterz);
FIXME
|
FIXME. |
Returns : |
FIXME |
gdouble nc_cluster_redshift_p (NcClusterRedshift *clusterz,gdouble lnM,gdouble z,gdouble *z_obs,gdouble *z_obs_params);
FIXME
|
a NcClusterRedshift. |
|
true redshift. |
|
true mass. |
|
observed redshift. |
|
observed redshift params. |
Returns : |
FIXME |
void nc_cluster_redshift_p_limits (NcClusterRedshift *clusterz,gdouble *z_obs,gdouble *z_obs_params,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.
|
a NcClusterRedshift. |
|
observed redshift. |
|
observed redshift params. |
|
pointer to the lower limit of the true redshift integration. [out] |
|
pointer to the upper limit of the true redshift integration. [out] |
NcClusterRedshift * nc_cluster_redshift_ref (NcClusterRedshift *clusterz);
FIXME
|
FIXME. |
Returns : |
clusterz. [transfer full]
|
gboolean nc_cluster_redshift_resample (NcClusterRedshift *clusterz,gdouble lnM,gdouble z,gdouble *z_obs,gdouble *z_obs_params);
FIXME
The function which will call this one is responsible to allocate enough memory for z_lower and z_upper.
|
a NcClusterRedshift. |
|
true redshift. |
|
true mass. |
|
observed redshift. [out] |
|
observed redshift params. [out] |
Returns : |
FIXME |