Class

NumCosmoMathMSetTransKernCat

Description [src]

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

Catalog sampler.

This object subclasses NcmMSetTransKern and implements a catalog sampler.

Implementation of a catalog sampler class, capable of drawing samples from a catalog of points. Users can select the desired sampling method as described in NcmMSetTransKernCatSampling.

Key Functionality:

  • Draws samples from a catalog of points.
  • Allows users to choose the sampling method from NcmMSetTransKernCatSampling.

This class is designed for scenarios where sampling from a pre-existing catalog is useful, providing flexibility through the selection of various sampling methods described in NcmMSetTransKernCatSampling.

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

Increases 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 value of the kernel at (theta, thetastar).

ncm_mset_trans_kern_peek_mset
No description available.

ncm_mset_trans_kern_prior_pdf

Computes the value of the kernel at (ktern->theta, thetastar). To use as a prior one must call the ncm_mset_trans_kern_set_prior() or ncm_mset_trans_kern_set_prior_from_mset() 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.

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

Sets the theta as the prior mean. This allows the transition kernel to be used as a prior sampler.

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.