NcDataBaoEmpiricalFit2d

NcDataBaoEmpiricalFit2d — Baryon oscillation data -- $D_H / r_d$ and $D_t / r_d$ empirical likelihood.

Functions

Properties

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

Object Hierarchy

    GObject
    ╰── NcmData
        ╰── NcmDataDist2d
            ╰── NcDataBaoEmpiricalFit2d

Description

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.

Functions

nc_data_bao_empirical_fit_2d_new ()

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.

Parameters

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

 

Returns

the newly created NcDataBaoEmpiricalFit2d.


nc_data_bao_empirical_fit_2d_new_from_file ()

NcDataBaoEmpiricalFit2d *
nc_data_bao_empirical_fit_2d_new_from_file
                               (const gchar *filename);

Creates a new NcDataBaoEmpiricalFit2d from filename .

Parameters

filename

file containing a serialized NcDataBaoEmpiricalFit2d.

 

Returns

the newly created NcDataBaoEmpiricalFit2d.

[transfer full]


nc_data_bao_empirical_fit_2d_new_from_id ()

NcDataBaoEmpiricalFit2d *
nc_data_bao_empirical_fit_2d_new_from_id
                               (NcDistance *dist,
                                NcDataBaoId id);

Creates a new NcDataBaoEmpiricalFit2d from id .

Parameters

dist

a NcDistance

 

id

a NcDataBaoId

 

Returns

the newly created NcDataBaoEmpiricalFit2d.

[transfer full]


nc_data_bao_empirical_fit_2d_get_mode ()

gdouble
nc_data_bao_empirical_fit_2d_get_mode (NcDataBaoEmpiricalFit2d *bao_ef);

nc_data_bao_empirical_fit_2d_get_alpha_perpendicular ()

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.

Parameters

bao_ef

a NcDataBaoEmpiricalFit2d

 

mset

a NcmMSet

 

Returns

$\alpha_{\perp}$


nc_data_bao_empirical_fit_2d_get_alpha_parallel ()

gdouble
nc_data_bao_empirical_fit_2d_get_alpha_parallel
                               (NcDataBaoEmpiricalFit2d *bao_ef,
                                NcmMSet *mset);

Calculates value of $\alpha_{\parallel}$ given a NcmMSet.

Parameters

bao_ef

a NcDataBaoEmpiricalFit2d

 

mset

a NcmMSet

 

Returns

$\alpha_{\parallel}$


nc_data_bao_empirical_fit_2d_set_dist ()

void
nc_data_bao_empirical_fit_2d_set_dist (NcDataBaoEmpiricalFit2d *bao_ef,
                                       NcDistance *dist);

Sets the distance object.

Parameters

bao_ef

a NcDataBaoEmpiricalFit2d

 

dist

a NcDistance

 

Property Details

The “Dh-rd-fiduc” property

  “Dh-rd-fiduc”              double

Dh/rd fiducial.

Owner: NcDataBaoEmpiricalFit2d

Flags: Read / Write / Construct

Allowed values: >= 0

Default value: 0


The “Dt-rd-fiduc” property

  “Dt-rd-fiduc”              double

Dt/rd fiducial.

Owner: NcDataBaoEmpiricalFit2d

Flags: Read / Write / Construct

Allowed values: >= 0

Default value: 0


The “dist” property

  “dist”                     NcDistance *

Distance object.

Owner: NcDataBaoEmpiricalFit2d

Flags: Read / Write


The “m2lnp” property

  “m2lnp”                    NcmSpline2d *

Empirical m2lnp.

Owner: NcDataBaoEmpiricalFit2d

Flags: Read / Write / Construct


The “z” property

  “z”                        double

Redshift.

Owner: NcDataBaoEmpiricalFit2d

Flags: Read / Write / Construct

Allowed values: >= 0

Default value: 0