Class

NumCosmoXcorKernelComponent

Description [src]

abstract class NumCosmo.XcorKernelComponent : GObject.Object
{
  /* No available fields */
}

Abstract base class for kernel components in cross-correlation calculations.

This class provides a framework for defining physical components of cross-correlation kernels. Each component represents a distinct physical contribution, such as galaxy number counts, magnification bias, or ISW effect. Components can be combined to form multi-component kernels.

Subclasses must implement: - eval_kernel: evaluates K(k, xi) for the component - eval_prefactor: evaluates any k and $\ell$-dependent prefactor

Optionally, subclasses can implement: - get_limits: returns valid integration ranges for xi and k

The class provides automatic kernel analysis functionality that studies the behavior of KL(k, y/k) using the Limber approximation to optimize integration strategies.

Ancestors

Functions

nc_xcor_kernel_component_clear

Decreases the reference count of comp by one and sets comp to NULL.

Instance methods

nc_xcor_kernel_component_eval_KL_max

Evaluates the maximum value of KL(k, y/k) at the given y value from kernel analysis using the Limber approximation KL = sqrt(π/(2*y)) * K(y/k, k) / k. This is the value of KL at k = k_max(y).

nc_xcor_kernel_component_eval_k_epsilon

Evaluates k_epsilon at the given y value from kernel analysis, where k_epsilon is the value of k (beyond k_max) where KL(k, y/k) drops to epsilon times KL_max.

nc_xcor_kernel_component_eval_k_max

Evaluates k_max at the given y value from kernel analysis, where k_max is the value of k that maximizes KL(k, y/k) for this y.

nc_xcor_kernel_component_eval_kernel

Evaluates the kernel function K(k, xi) for this component.

nc_xcor_kernel_component_eval_prefactor

Evaluates the prefactor that may depend on k and ell.

nc_xcor_kernel_component_free

Decreases the reference count of comp by one. If the reference count reaches zero, the object is freed.

nc_xcor_kernel_component_get_epsilon

Gets the epsilon value used in kernel analysis.

nc_xcor_kernel_component_get_limits

Gets the valid integration ranges for this component.

nc_xcor_kernel_component_get_max_iter

Gets the maximum number of iterations for GSL solvers.

nc_xcor_kernel_component_get_ny

Gets the number of y points used in kernel analysis.

nc_xcor_kernel_component_get_tol

Gets the tolerance for GSL solvers.

nc_xcor_kernel_component_prepare

Prepares the kernel component by analyzing its behavior over the valid ranges. This method calls get_limits to obtain the integration ranges, then studies KL(k, y/k) using the Limber approximation to compute k_max(y), KL_max(y), and k_epsilon(y) using GSL Brent minimizer and root finder with warm starts.

nc_xcor_kernel_component_ref

Increases the reference count of comp by one.

nc_xcor_kernel_component_set_epsilon

Sets the epsilon value used in kernel analysis to determine where KL(k, y/k) drops to epsilon * KL_max.

nc_xcor_kernel_component_set_max_iter

Sets the maximum number of iterations for GSL minimizer and root finder.

nc_xcor_kernel_component_set_ny

Sets the number of y points to use in kernel analysis.

nc_xcor_kernel_component_set_tol

Sets the tolerance for GSL minimizer and root finder.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

NumCosmo.XcorKernelComponent:epsilon

The epsilon value for kernel analysis, determining where KL(k, y/k) drops to epsilon * KL_max.

NumCosmo.XcorKernelComponent:max-iter

Maximum iterations for GSL solvers.

NumCosmo.XcorKernelComponent:ny

Number of y points for kernel analysis.

NumCosmo.XcorKernelComponent:tol

Tolerance for GSL solvers.

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 NumCosmoXcorKernelComponentClass {
  /* no available fields */
}

No description available.

Virtual methods

NumCosmo.XcorKernelComponentClass.eval_kernel

Evaluates the kernel function K(k, xi) for this component.

NumCosmo.XcorKernelComponentClass.eval_prefactor

Evaluates the prefactor that may depend on k and ell.

NumCosmo.XcorKernelComponentClass.get_limits

Gets the valid integration ranges for this component.