NcDataBaoA

NcDataBaoA — Baryon oscillation data -- acoustic scale $A$.

Functions

Properties

NcDistance * dist Read / Write
NcmVector * z Read / Write

Object Hierarchy

    GObject
    ╰── NcmData
        ╰── NcmDataGaussDiag
            ╰── NcDataBaoA

Description

The acoustic scale is defined as $$ A \equiv D_V (z) \frac{\sqrt{\Omega_{m0} H_0^2}}{z c},$$ where $\Omega_{m0}$ is the matter density parameter [nc_hicosmo_Omega_m0()], $c$ is the speed of light [ncm_c_c()], $H_0$ is the Hubble parameter [nc_hicosmo_H0()] and $D_V(z)$ is the dilation scale [nc_distance_dilation_scale()]. See Section 4.5 from Eisenstein et al. (2005).

Functions

nc_data_bao_a_new_from_file ()

NcDataBaoA *
nc_data_bao_a_new_from_file (const gchar *filename);

Creates a new NcDataBaoA from filename .

Parameters

filename

file containing a serialized NcDataBaoA.

 

Returns

the newly created NcDataBaoA.

[transfer full]


nc_data_bao_a_new_from_id ()

NcDataBaoA *
nc_data_bao_a_new_from_id (NcDistance *dist,
                           NcDataBaoId id);

nc_data_bao_a_set_dist ()

void
nc_data_bao_a_set_dist (NcDataBaoA *bao_a,
                        NcDistance *dist);

Sets the distance object.

Parameters

bao_a

a NcDataBaoA

 

dist

a NcDistance

 

Property Details

The “dist” property

  “dist”                     NcDistance *

Distance object.

Owner: NcDataBaoA

Flags: Read / Write


The “z” property

  “z”                        NcmVector *

Data redshift.

Owner: NcDataBaoA

Flags: Read / Write