Top | ![]() |
![]() |
![]() |
![]() |
Functions
NcGalaxyWLDist * | nc_galaxy_wl_dist_ref () |
void | nc_galaxy_wl_dist_free () |
void | nc_galaxy_wl_dist_clear () |
void | nc_galaxy_wl_dist_m2lnP_initial_prep () |
void | nc_galaxy_wl_dist_m2lnP_prep () |
gdouble | nc_galaxy_wl_dist_m2lnP () |
gdouble | nc_galaxy_wl_dist_gen () |
guint | nc_galaxy_wl_dist_len () |
Object Hierarchy
GObject ╰── NcGalaxyWLDist ├── NcGalaxyWLEllipticityBinned ├── NcGalaxyWLEllipticityGauss ├── NcGalaxyWLEllipticityKDE ╰── NcGalaxyWLProj
Description
Abstract class used to define a generic galaxy weak lensing observable probability distribution $P_\mathrm{wl}(g)$.
Functions
nc_galaxy_wl_dist_ref ()
NcGalaxyWLDist *
nc_galaxy_wl_dist_ref (NcGalaxyWLDist *gwld
);
Increase the reference of gwld
by one.
nc_galaxy_wl_dist_free ()
void
nc_galaxy_wl_dist_free (NcGalaxyWLDist *gwld
);
Decrease the reference count of gwld
by one.
nc_galaxy_wl_dist_clear ()
void
nc_galaxy_wl_dist_clear (NcGalaxyWLDist **gwld
);
Decrease the reference count of gwld
by one, and sets the pointer *gwld
to
NULL.
nc_galaxy_wl_dist_m2lnP_initial_prep ()
void nc_galaxy_wl_dist_m2lnP_initial_prep (NcGalaxyWLDist *gwld
,NcGalaxyRedshift *gz
,NcHICosmo *cosmo
,NcHaloDensityProfile *dp
,NcWLSurfaceMassDensity *smd
,const gdouble z_cluster
);
Prepare to compute nc_galaxy_wl_dist_m2lnP()
at different redshifts.
[virtual m2lnP_initial_prep]
nc_galaxy_wl_dist_m2lnP_prep ()
void nc_galaxy_wl_dist_m2lnP_prep (NcGalaxyWLDist *gwld
,NcHICosmo *cosmo
,NcHaloDensityProfile *dp
,NcWLSurfaceMassDensity *smd
,const gdouble z_cluster
,const guint gal_i
);
Prepare to compute nc_galaxy_wl_dist_m2lnP()
at different redshifts.
[virtual m2lnP_prep]
nc_galaxy_wl_dist_m2lnP ()
gdouble nc_galaxy_wl_dist_m2lnP (NcGalaxyWLDist *gwld
,NcHICosmo *cosmo
,NcHaloDensityProfile *dp
,NcWLSurfaceMassDensity *smd
,const gdouble z_cluster
,const guint gal_i
,const gdouble z
);
Computes the probability density of the observable $g$ given the redshift $z$. The probability density is given by $P_\mathrm{wl}(g)$.
[virtual m2lnP]
nc_galaxy_wl_dist_gen ()
gdouble nc_galaxy_wl_dist_gen (NcGalaxyWLDist *gwld
,const gdouble g_true
,NcmRNG *rng
);
Generates a $g$ value from the distribution using rng
.
[virtual gen]