Constructor

NumCosmoDataCMBShiftParamnew_from_id

Declaration [src]

NcDataCMBShiftParam*
nc_data_cmb_shift_param_new_from_id (
  NcDistance* dist,
  NcDataCMBId id
)

Description [src]

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

Parameters

dist

Type: NcDistance

A NcDistance.

The data is owned by the caller of the function.
id

Type: NcDataCMBId

A NcDataCMBId.

Return value

Type: NcDataCMBShiftParam

The newly created NcDataCMBShiftParam.

The caller of the function takes ownership of the data, and is responsible for freeing it.