Constructor

NumCosmoMathMSetCatalognew_from_file_ro

Declaration [src]

NcmMSetCatalog*
ncm_mset_catalog_new_from_file_ro (
  const gchar* filename,
  glong burnin
)

Description [src]

Creates a new NcmMSetCatalog from the catalog in the file file. The file is opened in a read-only fashion. It will use also the mset file (same name but with .mset extension).

Parameters

filename

Type: const gchar*

Filename of the catalog fits.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
burnin

Type: glong

Burn-in size.

Return value

Type: NcmMSetCatalog

A new NcmMSetCatalog.

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