Method

NumCosmoMathFitMCBSrun

Declaration [src]

void
ncm_fit_mcbs_run (
  NcmFitMCBS* mcbs,
  NcmMSet* fiduc,
  guint ni,
  guint nf,
  guint nbstraps,
  NcmFitMCResampleType rtype,
  NcmFitRunMsgs mtype,
  guint bsmt
)

Description [src]

Runs the Monte Carlo and bootstrap analysis. The results are stored in the catalog of mcbs. The catalog is cleared before the analysis.

Note: Multi-threading for bootstrap analysis (bsmt > 0) is currently not fully supported and may produce incorrect results. Use bsmt = 0 for reliable single-threaded execution.

Parameters

fiduc

Type: NcmMSet

A NcmMSet.

The data is owned by the caller of the method.
ni

Type: guint

Index of the first sample to be used in the analysis.

nf

Type: guint

Index of the last sample to be used in the analysis.

nbstraps

Type: guint

Number of bootstrap samples.

rtype

Type: NcmFitMCResampleType

A NcmFitMCResampleType.

mtype

Type: NcmFitRunMsgs

A NcmFitRunMsgs.

bsmt

Type: guint

Number of threads to be used in the bootstrap analysis.