Class

NumCosmoMathMSetTransKernCat

Description [src]

final class NumCosmoMath.MSetTransKernCat : NumCosmoMath.MSetTransKern
{
  /* No available fields */
}

Proposals drawn from a NcmMSetCatalog.

It picks a row of the catalog (#NCM_MSET_TRANS_KERN_CAT_SAMPLING_CHOOSE, each row at most once), or samples a NcmStatsDist built from the last rows of the catalog, the last ensemble for an ensemble sampler: an interpolation of $-2\ln L$ (#NCM_MSET_TRANS_KERN_CAT_SAMPLING_RBF_INTERP) or a kernel density estimate (#NCM_MSET_TRANS_KERN_CAT_SAMPLING_KDE). The proposals do not depend on the current point and have no density (ncm_mset_trans_kern_pdf() aborts), so the kernel serves as a prior sampler, e.g. for the initial points of NcmFitESMCMC, not for NcmFitMCMC.

Constructors

ncm_mset_trans_kern_cat_new

New NcmMSetTransKernCat from mcat catalog with the interpolation object sd.

Instance methods

ncm_mset_trans_kern_cat_get_sampling

Gets the sampling type.

ncm_mset_trans_kern_cat_reset
No description available.

ncm_mset_trans_kern_cat_set_sampling

Sets the sampling type to sampling.

Methods inherited from NcmMSetTransKern (12)
ncm_mset_trans_kern_free

Decreases the reference count of tkern.

ncm_mset_trans_kern_generate

Generates a new point thetastar from theta using the transition kernel.

ncm_mset_trans_kern_get_name
No description available.

ncm_mset_trans_kern_pdf

Computes the density $q(\theta^\star|\theta)$ of the kernel.

ncm_mset_trans_kern_peek_mset
No description available.

ncm_mset_trans_kern_prior_pdf

Computes the density of the kernel at thetastar about the center set by ncm_mset_trans_kern_set_prior() or ncm_mset_trans_kern_set_prior_from_mset(), which must be called first.

ncm_mset_trans_kern_prior_sample

Sample from the transition kernel using it as a prior. To use as a prior one must call one of the functions ncm_mset_trans_kern_set_prior_* first. Draws outside the parameter bounds are drawn again; 1000 failed draws abort.

ncm_mset_trans_kern_ref

Increases the reference count of tkern.

ncm_mset_trans_kern_reset

Resets the transition kernel.

ncm_mset_trans_kern_set_mset

Sets the mset as the internal set NcmMSet to be used by the transition kernel.

ncm_mset_trans_kern_set_prior

Makes theta the fixed center of the kernel, so that ncm_mset_trans_kern_prior_sample() and ncm_mset_trans_kern_prior_pdf() use it as a prior.

ncm_mset_trans_kern_set_prior_from_mset

As ncm_mset_trans_kern_set_prior() but uses the values present in the internal set NcmMSet.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Properties inherited from NcmMSetTransKern (1)
NumCosmoMath.MSetTransKern:mset
No description available.

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct NumCosmoMathMSetTransKernCatClass {
  NcmMSetTransKernClass parent_class;
  
}

No description available.

Class members
parent_class: NcmMSetTransKernClass

No description available.