Constructor

NumCosmoDataDistMunew_from_id

Declaration [src]

NcDataDistMu*
nc_data_dist_mu_new_from_id (
  NcDistance* dist,
  NcDataSNIAId id
)

Description [src]

Creates a new NcDataDistMu from a predefined SNIa dataset identifier.

Parameters

dist

Type: NcDistance

A NcDistance.

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

Type: NcDataSNIAId

A NcDataSNIAId.

Return value

Type: NcDataDistMu

A new NcDataDistMu.

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