Top | ![]() |
![]() |
![]() |
![]() |
Functions
Object Hierarchy
GFlags ╰── NcClusterRedshiftImpl GObject ╰── NcClusterRedshift ├── NcClusterPhotozGauss ├── NcClusterPhotozGaussGlobal ╰── NcClusterRedshiftNodist
Functions
nc_cluster_redshift_new_from_name ()
NcClusterRedshift *
nc_cluster_redshift_new_from_name (gchar *redshift_name
);
This function returns a new NcClusterRedshift whose type is defined by redshift_name
.
nc_cluster_redshift_ref ()
NcClusterRedshift *
nc_cluster_redshift_ref (NcClusterRedshift *clusterz
);
FIXME
nc_cluster_redshift_free ()
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.
nc_cluster_redshift_clear ()
void
nc_cluster_redshift_clear (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. Set pointer to NULL.
nc_cluster_redshift_impl ()
NcClusterRedshiftImpl
nc_cluster_redshift_impl (NcClusterRedshift *clusterz
);
FIXME
nc_cluster_redshift_obs_len ()
guint
nc_cluster_redshift_obs_len (NcClusterRedshift *clusterz
);
FIXME
nc_cluster_redshift_obs_params_len ()
guint
nc_cluster_redshift_obs_params_len (NcClusterRedshift *clusterz
);
FIXME
nc_cluster_redshift_p ()
gdouble nc_cluster_redshift_p (NcClusterRedshift *clusterz
,gdouble lnM
,gdouble z
,gdouble *z_obs
,gdouble *z_obs_params
);
FIXME
nc_cluster_redshift_intp ()
gdouble nc_cluster_redshift_intp (NcClusterRedshift *clusterz
,gdouble lnM
,gdouble z
);
FIXME
nc_cluster_redshift_resample ()
gboolean nc_cluster_redshift_resample (NcClusterRedshift *clusterz
,gdouble lnM
,gdouble z
,gdouble *z_obs
,gdouble *z_obs_params
,NcmRNG *rng
);
FIXME
The function which will call this one is responsible to allocate enough memory for z_lower
and z_upper
.
Parameters
clusterz |
||
z |
true redshift. |
|
lnM |
true mass. |
|
z_obs |
observed redshift. |
[out] |
z_obs_params |
observed redshift params. |
[out] |
rng |
a NcmRNG. |
nc_cluster_redshift_p_limits ()
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
.
nc_cluster_redshift_n_limits ()
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
.