Top |
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 () |
GObject ╰── NcGalaxyWLDist ├── NcGalaxyWLEllipticityBinned ├── NcGalaxyWLEllipticityGauss ├── NcGalaxyWLEllipticityKDE ╰── NcGalaxyWLProj
Abstract class used to define a generic galaxy weak lensing observable probability distribution $P_\mathrm{wl}(g)$.
NcGalaxyWLDist *
nc_galaxy_wl_dist_ref (NcGalaxyWLDist *gwld
);
Increase the reference of gwld
by one.
void
nc_galaxy_wl_dist_free (NcGalaxyWLDist *gwld
);
Decrease the reference count of gwld
by one.
void
nc_galaxy_wl_dist_clear (NcGalaxyWLDist **gwld
);
Decrease the reference count of gwld
by one, and sets the pointer *gwld
to
NULL.
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]
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]
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]
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]