Photoz Cluster

Photoz Cluster — Photometric redshift

Synopsis

struct              NcClusterPhotoz;
struct              NcClusterPhotozClass;
gdouble             nc_cluster_photoz_dist_eval         (NcClusterPhotoz *photo,
                                                         gdouble *pz_data,
                                                         gdouble z_photo,
                                                         gdouble z_real);
void                nc_cluster_photoz_free              (NcClusterPhotoz *photo);
void                nc_cluster_photoz_integ_limits      (NcClusterPhotoz *photo,
                                                         gdouble *pz_data,
                                                         gdouble z_photo,
                                                         gdouble *z_lower,
                                                         gdouble *z_upper);
NcClusterPhotoz *   nc_cluster_photoz_new_from_name     (gchar *photoz_name);
void                nc_cluster_photoz_resample          (NcClusterPhotoz *photo,
                                                         gdouble *pz_data,
                                                         gdouble z_real,
                                                         gdouble *result);

Object Hierarchy

  GObject
   +----NcClusterPhotoz
         +----NcClusterPhotozGaussGlobal
         +----NcClusterPhotozGaussInd

Description

FIXME

Details

struct NcClusterPhotoz

struct NcClusterPhotoz;

struct NcClusterPhotozClass

struct NcClusterPhotozClass {
};

nc_cluster_photoz_dist_eval ()

gdouble             nc_cluster_photoz_dist_eval         (NcClusterPhotoz *photo,
                                                         gdouble *pz_data,
                                                         gdouble z_photo,
                                                         gdouble z_real);

FIXME

photo :

a NcClusterPhotoz.

pz_data :

FIXME

z_photo :

photometric redshift.

z_real :

real redshift.

Returns :

FIXME

nc_cluster_photoz_free ()

void                nc_cluster_photoz_free              (NcClusterPhotoz *photo);

Atomically decrements the reference count of photo by one. If the reference count drops to 0, all memory allocated by photo is released.

photo :

a NcClusterPhotoz.

nc_cluster_photoz_integ_limits ()

void                nc_cluster_photoz_integ_limits      (NcClusterPhotoz *photo,
                                                         gdouble *pz_data,
                                                         gdouble z_photo,
                                                         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.

photo :

a NcClusterPhotoz.

pz_data :

FIXME.

z_photo :

photometric redshift.

z_lower :

pointer to the lower limit of the real redshift integration.

z_upper :

pointer to the upper limit of the real redshift integration.

nc_cluster_photoz_new_from_name ()

NcClusterPhotoz *   nc_cluster_photoz_new_from_name     (gchar *photoz_name);

This function returns a new NcClusterPhotoz whose type is defined by photoz_name.

photoz_name :

string which specifies the type of the photometric redshift distribution.

Returns :

A new NcClusterPhotoz.

nc_cluster_photoz_resample ()

void                nc_cluster_photoz_resample          (NcClusterPhotoz *photo,
                                                         gdouble *pz_data,
                                                         gdouble z_real,
                                                         gdouble *result);

FIXME The function which will call this one is responsible to allocate enough memory for z_lower and z_upper.

photo :

a NcClusterPhotoz.

pz_data :

FIXME.

z_real :

real redshift.

result :

FIXME