NcDataCMBDistPriors

NcDataCMBDistPriors — Cosmic microwave background data -- distance priors.

Stability Level

Stable, unless otherwise indicated

Functions

Properties

NcDistance * dist Read / Write / Construct

Object Hierarchy

    GObject
    ╰── NcmData
        ╰── NcmDataGauss
            ╰── NcDataCMBDistPriors

Includes

#include <numcosmo/data/nc_data_cmb_dist_priors.h>

Description

This object creates a CMB distance priors data (NcmData). See NcDataCMBId for more informations.

Functions

nc_data_cmb_dist_priors_new_empty ()

NcDataCMBDistPriors *
nc_data_cmb_dist_priors_new_empty (NcDistance *dist);

This function allocates an empty NcDataCMBDistPriors object.

Parameters

dist

a NcDistance

 

Returns

A NcDataCMBDistPriors.


nc_data_cmb_dist_priors_new_from_file ()

NcDataCMBDistPriors *
nc_data_cmb_dist_priors_new_from_file (const gchar *filename);

Creates a new NcDataCMBDistPriors from filename .

Parameters

filename

file containing a serialized NcDataCMBDistPriors

 

Returns

the newly created NcDataCMBDistPriors.

[transfer full]


nc_data_cmb_dist_priors_new_from_id ()

NcDataCMBDistPriors *
nc_data_cmb_dist_priors_new_from_id (NcDistance *dist,
                                     NcDataCMBId id);

Creates a new NcDataCMBDistPriors from id . See NcDataCMBId for the available options.

Parameters

dist

a NcDistance

 

id

a NcDataCMBId

 

Returns

a NcDataCMBDistPriors.


nc_data_cmb_dist_priors_set_dist ()

void
nc_data_cmb_dist_priors_set_dist (NcDataCMBDistPriors *cmb_dist_priors,
                                  NcDistance *dist);

Sets the distance object dist to cmb_dist_priors .

Parameters

cmb_dist_priors

a NcDataCMBDistPriors

 

dist

a NcDistance

 

Property Details

The “dist” property

  “dist”                     NcDistance *

The NcDistance object to be used.

Owner: NcDataCMBDistPriors

Flags: Read / Write / Construct