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
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
ncm_mset_trans_kern_pdf
Computes the density $q(\theta^\star|\theta)$ of the kernel.
ncm_mset_trans_kern_peek_mset
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.
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.