Top |
NcDataBaoEmpiricalFitNcDataBaoEmpiricalFit — Baryon oscillation data -- $D_V / r_s$ empirical likelihood. |
This object implements the BAO data when its likelihood function is provided, e.g., Ross et al. (2015).
The data is stored in a NcmSpline object, which is used to calculate the likelihood function. The spline must be provided in the constructor.
NcDataBaoEmpiricalFit * nc_data_bao_empirical_fit_new (NcmSpline *m2lnp
,gdouble Dv_fiduc
,gdouble rs_fiduc
,gdouble z
);
Creates a new NcDataBaoEmpiricalFit.
m2lnp |
a NcmSpline containing $-2\ln (p)$ |
|
Dv_fiduc |
fiducial $D_V$ |
|
rs_fiduc |
fiducial $r_s$ |
|
z |
data redshift |
NcDataBaoEmpiricalFit *
nc_data_bao_empirical_fit_new_from_file
(const gchar *filename
);
Creates a new NcDataBaoEmpiricalFit from filename
.
NcDataBaoEmpiricalFit * nc_data_bao_empirical_fit_new_from_id (NcDistance *dist
,NcDataBaoId id
);
Creates a new NcDataBaoEmpiricalFit from id
.
gdouble
nc_data_bao_empirical_fit_get_mode (NcDataBaoEmpiricalFit *bao_ef
);
Calculates the mode of the empirical distribution.
gdouble nc_data_bao_empirical_fit_get_alpha (NcDataBaoEmpiricalFit *bao_ef
,NcmMSet *mset
);
Calculates value of $\alpha$ given a NcmMSet.
void nc_data_bao_empirical_fit_set_dist (NcDataBaoEmpiricalFit *bao_ef
,NcDistance *dist
);
Sets the distance object.
“Dv-fiduc”
property “Dv-fiduc” double
Dv fiducial.
Owner: NcDataBaoEmpiricalFit
Flags: Read / Write / Construct
Allowed values: >= 0
Default value: 0
“dist”
property“dist” NcDistance *
Distance object.
Owner: NcDataBaoEmpiricalFit
Flags: Read / Write
“m2lnp”
property“m2lnp” NcmSpline *
Empirical m2lnp.
Owner: NcDataBaoEmpiricalFit
Flags: Read / Write / Construct
“rs-fiduc”
property “rs-fiduc” double
r_s fiducial.
Owner: NcDataBaoEmpiricalFit
Flags: Read / Write / Construct
Allowed values: >= 0
Default value: 0