Top |
NcDataBaoEmpiricalFit2dNcDataBaoEmpiricalFit2d — Baryon oscillation data -- $D_H / r_d$ and $D_t / r_d$ empirical likelihood. |
double | Dh-rd-fiduc | Read / Write / Construct |
double | Dt-rd-fiduc | Read / Write / Construct |
NcDistance * | dist | Read / Write |
NcmSpline2d * | m2lnp | Read / Write / Construct |
double | z | Read / Write / Construct |
This object implements the BAO data when its likelihood function is provided, e.g., Bautista et al. (2017).
The data is stored in a NcDataBaoEmpiricalFit2d object. The data is stored in a NcmDataDist2d base class object, which is a subclass of NcmData. The data represents the likelihood function of the transverse distance $D_t$ and the Hubble distance $D_H$ at the redshift $z$ divided by the sound horizon at the last scattering surface $r_s$. The likelihood function is provided as a NcmSpline2d object.
NcDataBaoEmpiricalFit2d * nc_data_bao_empirical_fit_2d_new (NcmSpline2d *m2lnp
,gdouble Dh_rd_fiduc
,gdouble Dt_rd_fiduc
,gdouble z
);
Creates a new empirical BAO data object.
m2lnp |
a NcmSpline2d containing $-2\ln (p)$ |
|
Dh_rd_fiduc |
fiducial $D_H/r_d$ |
|
Dt_rd_fiduc |
fiducial $D_t/r_d$ |
|
z |
data redshift |
NcDataBaoEmpiricalFit2d *
nc_data_bao_empirical_fit_2d_new_from_file
(const gchar *filename
);
Creates a new NcDataBaoEmpiricalFit2d from filename
.
NcDataBaoEmpiricalFit2d * nc_data_bao_empirical_fit_2d_new_from_id (NcDistance *dist
,NcDataBaoId id
);
Creates a new NcDataBaoEmpiricalFit2d from id
.
gdouble
nc_data_bao_empirical_fit_2d_get_mode (NcDataBaoEmpiricalFit2d *bao_ef
);
gdouble nc_data_bao_empirical_fit_2d_get_alpha_perpendicular (NcDataBaoEmpiricalFit2d *bao_ef
,NcmMSet *mset
);
Calculates value of $\alpha_{\perp}$ given a NcmMSet,
$$ \alpha_{perp} = \frac{[D_t(z)/r_d]}{[D_t(z)/r_d]_{fid}},$$
where $D_t(z)$ is the transverse comoving distance [nc_distance_transverse()
], $r_d$ is the sound
horizon [nc_distance_sound_horizon()
] at the drag epoch, and 'fid' indicates fiducial.
gdouble nc_data_bao_empirical_fit_2d_get_alpha_parallel (NcDataBaoEmpiricalFit2d *bao_ef
,NcmMSet *mset
);
Calculates value of $\alpha_{\parallel}$ given a NcmMSet.
void nc_data_bao_empirical_fit_2d_set_dist (NcDataBaoEmpiricalFit2d *bao_ef
,NcDistance *dist
);
Sets the distance object.
“Dh-rd-fiduc”
property “Dh-rd-fiduc” double
Dh/rd fiducial.
Owner: NcDataBaoEmpiricalFit2d
Flags: Read / Write / Construct
Allowed values: >= 0
Default value: 0
“Dt-rd-fiduc”
property “Dt-rd-fiduc” double
Dt/rd fiducial.
Owner: NcDataBaoEmpiricalFit2d
Flags: Read / Write / Construct
Allowed values: >= 0
Default value: 0
“dist”
property“dist” NcDistance *
Distance object.
Owner: NcDataBaoEmpiricalFit2d
Flags: Read / Write
“m2lnp”
property“m2lnp” NcmSpline2d *
Empirical m2lnp.
Owner: NcDataBaoEmpiricalFit2d
Flags: Read / Write / Construct