Top |
gdouble | (*NcGalaxyRedshiftF) () |
NcGalaxyRedshift * | nc_galaxy_redshift_ref () |
void | nc_galaxy_redshift_free () |
void | nc_galaxy_redshift_clear () |
gboolean | nc_galaxy_redshift_has_dist () |
gdouble | nc_galaxy_redshift_mode () |
guint | nc_galaxy_redshift_nintervals () |
gdouble | nc_galaxy_redshift_interval_weight () |
void | nc_galaxy_redshift_pdf_limits () |
gdouble | nc_galaxy_redshift_pdf () |
gdouble | nc_galaxy_redshift_gen () |
gdouble | nc_galaxy_redshift_quantile () |
gdouble | nc_galaxy_redshift_compute_mean_m2lnf () |
guint | nc_galaxy_redshift_len () |
GObject ╰── NcGalaxyRedshift ├── NcGalaxyRedshiftGauss ├── NcGalaxyRedshiftSpec ╰── NcGalaxyRedshiftSpline
Abstract class used to define a generic galaxy redshift probability distribution $P_g(z)$.
NcGalaxyRedshift *
nc_galaxy_redshift_ref (NcGalaxyRedshift *gz
);
Increase the reference of gz
by one.
void
nc_galaxy_redshift_free (NcGalaxyRedshift *gz
);
Decrease the reference count of gz
by one.
void
nc_galaxy_redshift_clear (NcGalaxyRedshift **gz
);
Decrease the reference count of gz
by one, and sets the pointer *gz
to
NULL.
gboolean
nc_galaxy_redshift_has_dist (NcGalaxyRedshift *gz
);
[virtual has_dist]
guint
nc_galaxy_redshift_nintervals (NcGalaxyRedshift *gz
);
[virtual nintervals]
gdouble nc_galaxy_redshift_interval_weight (NcGalaxyRedshift *gz
,const guint di
);
[virtual interval_weight]
void nc_galaxy_redshift_pdf_limits (NcGalaxyRedshift *gz
,const guint di
,gdouble *zmin
,gdouble *zmax
);
This method provides the limits of the redshift probability density $p_i(z)$.
[virtual pdf_limits]
gdouble nc_galaxy_redshift_pdf (NcGalaxyRedshift *gz
,const guint di
,const gdouble z
);
[virtual pdf]
gdouble nc_galaxy_redshift_gen (NcGalaxyRedshift *gz
,NcmRNG *rng
);
Generates a redshift from the distribution using rng
.
[virtual gen]
gdouble nc_galaxy_redshift_quantile (NcGalaxyRedshift *gz
,const gdouble q
);
Computes the $q$ quantile.
[virtual quantile]
gdouble nc_galaxy_redshift_compute_mean_m2lnf (NcGalaxyRedshift *gz
,guint gal_i
,NcGalaxyRedshiftF m2lnf
,gpointer userdata
);
Computes the mean of a functions through $\int\mathrm{d}z P(z)f(z)$.
[virtual compute_mean_m2lnf]