Constructor

NumCosmoDataHubblenew_from_id

Declaration [src]

NcDataHubble*
nc_data_hubble_new_from_id (
  NcDataHubbleId id
)

Description [src]

Creates a new NcDataHubble from a predefined dataset identifier. Loads the corresponding Hubble parameter measurements from the data file associated with id.

Parameters

id

Type: NcDataHubbleId

A NcDataHubbleId.

Return value

Type: NcDataHubble

A new NcDataHubble.

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