NcDataReducedShearClusterMass

NcDataReducedShearClusterMass — Galaxy clusters data -- pseudo number counts likelihood.

Functions

Properties

double dec-cluster Read / Write
NcDistance * dist Read / Write / Construct
NcmMatrix * gal-obs Read / Write
gboolean has-rh Read / Write
NcmObjArray * photoz-array Read / Write
double psf-size Read / Write
double ra-cluster Read / Write
double z-cluster Read / Write

Types and Values

Object Hierarchy

    GEnum
    ╰── NcDataReducedShearClusterMassObs
    GObject
    ╰── NcmData
        ╰── NcDataReducedShearClusterMass

Description

FIXME

Functions

nc_data_reduced_shear_cluster_mass_new ()

NcDataReducedShearClusterMass *
nc_data_reduced_shear_cluster_mass_new
                               (NcDistance *dist);

Creates a new NcDataReducedShearClusterMass.

Parameters

dist

a NcDistance

 

Returns

the newly created NcDataReducedShearClusterMass.


nc_data_reduced_shear_cluster_mass_new_from_file ()

NcDataReducedShearClusterMass *
nc_data_reduced_shear_cluster_mass_new_from_file
                               (const gchar *filename);

Creates a new NcDataReducedShearClusterMass from filename .

Parameters

filename

file containing a serialized NcDataReducedShearClusterMass

 

Returns

the newly created NcDataReducedShearClusterMass.

[transfer full]


nc_data_reduced_shear_cluster_mass_ref ()

NcDataReducedShearClusterMass *
nc_data_reduced_shear_cluster_mass_ref
                               (NcDataReducedShearClusterMass *drs);

Increases the reference count of drs by one.

Parameters

Returns

drs .

[transfer full]


nc_data_reduced_shear_cluster_mass_free ()

void
nc_data_reduced_shear_cluster_mass_free
                               (NcDataReducedShearClusterMass *drs);

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

Parameters


nc_data_reduced_shear_cluster_mass_clear ()

void
nc_data_reduced_shear_cluster_mass_clear
                               (NcDataReducedShearClusterMass **drs);

The reference count of drs is decreased and the pointer is set to NULL.

Parameters


nc_data_reduced_shear_cluster_mass_set_dist ()

void
nc_data_reduced_shear_cluster_mass_set_dist
                               (NcDataReducedShearClusterMass *drs,
                                NcDistance *dist);

Sets the distance object.

Parameters

drs

a NcDataReducedShearClusterMass

 

dist

a NcDistance

 

nc_data_reduced_shear_cluster_mass_load_hdf5 ()

void
nc_data_reduced_shear_cluster_mass_load_hdf5
                               (NcDataReducedShearClusterMass *drs,
                                const gchar *hdf5_file,
                                const gchar ftype,
                                const gdouble z_cluster,
                                const gdouble ra_cluster,
                                const gdouble dec_cluster);

Loads from a HDF5 file the data, filters by ftype when available, using the cluster information in z_cluster , ra_cluster and dec_cluster .

Parameters

drs

a NcDataReducedShearClusterMass

 

hdf5_file

a file containing NcDataReducedShearClusterMass data

 

ftype

filter type ('u', 'g', 'r', 'i', 'z')

 

z_cluster

cluster redshift

 

ra_cluster

cluster RA

 

dec_cluster

cluster DEC

 

Types and Values

enum NcDataReducedShearClusterMassObs

Members

NC_DATA_REDUCED_SHEAR_CLUSTER_MASS_ZCLUSTER

cluster redshift

 

NC_DATA_REDUCED_SHEAR_CLUSTER_MASS_GOBS

measured reduced shear

 

NC_DATA_REDUCED_SHEAR_CLUSTER_MASS_PZ

redshift distribution (photometric)

 

Property Details

The “dec-cluster” property

  “dec-cluster”              double

Cluster (halo) DEC.

Owner: NcDataReducedShearClusterMass

Flags: Read / Write

Allowed values: [-360,360]

Default value: 0


The “dist” property

  “dist”                     NcDistance *

Distance object.

Owner: NcDataReducedShearClusterMass

Flags: Read / Write / Construct


The “gal-obs” property

  “gal-obs”                  NcmMatrix *

Matrix containing galaxy observables.

Owner: NcDataReducedShearClusterMass

Flags: Read / Write


The “has-rh” property

  “has-rh”                   gboolean

Has the galaxy size (rh) information.

Owner: NcDataReducedShearClusterMass

Flags: Read / Write

Default value: FALSE


The “photoz-array” property

  “photoz-array”             NcmObjArray *

Array of photometric redshift objects.

Owner: NcDataReducedShearClusterMass

Flags: Read / Write


The “psf-size” property

  “psf-size”                 double

PSF size.

Owner: NcDataReducedShearClusterMass

Flags: Read / Write

Allowed values: >= 0

Default value: 0


The “ra-cluster” property

  “ra-cluster”               double

Cluster (halo) RA.

Owner: NcDataReducedShearClusterMass

Flags: Read / Write

Allowed values: [-360,360]

Default value: 0


The “z-cluster” property

  “z-cluster”                double

Cluster (halo) redshift.

Owner: NcDataReducedShearClusterMass

Flags: Read / Write

Allowed values: >= 0

Default value: 0