Method

NumCosmoMathMSetCatalogmax_ess_time_by_chain

Declaration [src]

guint
ncm_mset_catalog_max_ess_time_by_chain (
  NcmMSetCatalog* mcat,
  const guint ntests,
  gdouble* max_ess,
  NcmFitRunMsgs mtype
)

Description [src]

Calculates the time $t_m$ that maximizes the ESS for each chain of the catalog. The variable ntests control the number of divisions where the ESS will be calculated, if it is zero the default 10 tests will be used.

Parameters

ntests

Type: const guint

Number of tests.

max_ess

Type: gdouble*

The maximum effective sample size (ESS).

The argument will be set by the function.
mtype

Type: NcmFitRunMsgs

NcmFitRunMsgs log level.

Return value

Type: guint

The lowest time $t_m$.