NcGalaxyWL

NcGalaxyWL — Class describing galaxy weak lensing distributions.

Stability Level

Unstable, unless otherwise indicated

Functions

Properties

NcGalaxyRedshift * gz-dist Read / Write / Construct Only
NcGalaxyWLDist * wl-dist Read / Write / Construct Only

Object Hierarchy

    GObject
    ╰── NcGalaxyWL

Description

This class describes a galaxy weak lensing distribution. It is composed by a weak lensing distribution $P_\mathrm{wl}(g)$ and a redshift distribution $P(z)$. The weak lensing distribution is defined by the abstract class NcGalaxyWLDist. The redshift distribution is defined by the abstract class NcGalaxyRedshift.

Functions

nc_galaxy_wl_new ()

NcGalaxyWL *
nc_galaxy_wl_new (NcGalaxyWLDist *wl_dist,
                  NcGalaxyRedshift *gz_dist);

Creates a new galaxy weak lensing object. Requires an instance of NcGalaxyWLDist and NcGalaxyRedshift.

Parameters

wl_dist

a NcGalaxyWLDist

 

gz_dist

a NcGalaxyRedshift

 

Returns

a new NcGalaxyWL.

[transfer full]


nc_galaxy_wl_ref ()

NcGalaxyWL *
nc_galaxy_wl_ref (NcGalaxyWL *gwl);

Increase the reference of gwl by one.

Parameters

gwl

a NcGalaxyWL

 

Returns

gwl .

[transfer full]


nc_galaxy_wl_free ()

void
nc_galaxy_wl_free (NcGalaxyWL *gwl);

Decrease the reference count of gwl by one.

Parameters

gwl

a NcGalaxyWL

 

nc_galaxy_wl_clear ()

void
nc_galaxy_wl_clear (NcGalaxyWL **gwl);

Decrease the reference count of gwl by one, and sets the pointer *gwl to NULL.

Parameters

gwl

a NcGalaxyWL

 

nc_galaxy_wl_eval_m2lnP ()

gdouble
nc_galaxy_wl_eval_m2lnP (NcGalaxyWL *gwl,
                         NcHICosmo *cosmo,
                         NcHaloDensityProfile *dp,
                         NcWLSurfaceMassDensity *smd,
                         const gdouble z_cluster);

Computes the galaxy probability given the theoretical modeling.

Parameters

gwl

a NcGalaxyWL

 

cosmo

a NcHICosmo

 

dp

a NcHaloDensityProfile

 

smd

a NcWLSurfaceMassDensity

 

z_cluster

cluster redshift $z_\mathrm{cl}$

 

Returns

$-2\ln(P)$.


nc_galaxy_wl_len ()

guint
nc_galaxy_wl_len (NcGalaxyWL *gwl);

Parameters

gwl

a NcGalaxyWL

 

Returns

the number of galaxies in gwl .

Property Details

The “gz-dist” property

  “gz-dist”                  NcGalaxyRedshift *

A NcGalaxyRedshift object.

Owner: NcGalaxyWL

Flags: Read / Write / Construct Only


The “wl-dist” property

  “wl-dist”                  NcGalaxyWLDist *

A NcGalaxyWLDist object.

Owner: NcGalaxyWL

Flags: Read / Write / Construct Only