Class

NumCosmoMathPowspecCorr3d

Description [src]

final class NumCosmoMath.PowspecCorr3d : GObject.Object
{
  /* No available fields */
}

Class to compute the 3d spatial correlation function from the power spectrum.

This class computes the 3d spatial correlation function $\xi(r, z)$ from the power spectrum using the FFTLog approach (see NcmFftlog and NcmFftlogSBesselJ), \begin{equation}\label{eq:variance} \xi(r, z) = \sigma^2(r, z) = \frac{1}{2\pi^2} \int_0^\infty k^2 \ P(k, z) j_0(kr) \ \mathrm{d}k, \end{equation} where $P(k, z)$ is the power spectrum at mode $k$ and redshift $z$ and $j_0(kr)$ is the order zero spherical bessel function.

Ancestors

Constructors

ncm_powspec_corr3d_new

Creates a new NcmPowspecCorr3d from the power spectrum ps.

Functions

ncm_powspec_corr3d_clear

If psc is different from NULL, decreases the reference count of psc by one and sets fftlog to NULL.

Instance methods

ncm_powspec_corr3d_eval_xi

Evaluate the function $\xi(z, r)$ at r and z.

ncm_powspec_corr3d_eval_xi_lnr

Evaluates the function $\xi(z, r)$ at lnr and z.

ncm_powspec_corr3d_free

Decreases the reference count of psc by one.

ncm_powspec_corr3d_get_r_max

This function returns $\xi(r, z)$’s maximum evaluated distance.

ncm_powspec_corr3d_get_r_min

This function returns $\xi(r, z)$’s minimum evaluated distance.

ncm_powspec_corr3d_get_reltol

Gets the relative tolerance for calibration in the distance direction.

ncm_powspec_corr3d_get_reltol_z

Gets the relative tolerance for calibration in the redshift direction.

ncm_powspec_corr3d_prepare

Prepares the object applying the filter to the power spectrum.

ncm_powspec_corr3d_prepare_if_needed

Prepares (if necessary) the object applying the filter to the power spectrum.

ncm_powspec_corr3d_ref

Increases the reference count of psc by one.

ncm_powspec_corr3d_set_best_lnr0

Sets the value of $\ln(r_0)$ which gives the best results for the transformation based on the current value of $\ln(k_0)$, this is based in the rule of thumb $\mathrm{max}_{x^}(j_l)$ where $ x^ \approx l + 1$ (see ncm_fftlog_sbessel_j_set_best_lnr0()).

ncm_powspec_corr3d_set_lnr0

Sets the center of the transform output $\ln(r_0)$ (see ncm_fftlog_set_lnr0()). This function forces the recalibration of the transform.

ncm_powspec_corr3d_set_reltol

Sets the relative tolerance for calibration in the distance direction. This function forces the recalibration of the transform.

ncm_powspec_corr3d_set_reltol_z

Sets the relative tolerance for calibration in the redshift direction. This function forces the recalibration of the transform.

ncm_powspec_corr3d_set_zf

Sets the final time $z_f$.

ncm_powspec_corr3d_set_zi

Sets the inital time $z_i$.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

NumCosmoMath.PowspecCorr3d:lnr0

The Center value for $\ln(r)$.

NumCosmoMath.PowspecCorr3d:powerspectrum

The NcmPowspec object to be transformed into $\xi(r, z)$.

NumCosmoMath.PowspecCorr3d:reltol

The relative tolerance for calibration in the distance direction.

NumCosmoMath.PowspecCorr3d:reltol-z

The relative tolerance for calibration in the redshift direction.

NumCosmoMath.PowspecCorr3d:zf

The output final time $z_f$ of the correlation function, $\xi(r,z)$.

NumCosmoMath.PowspecCorr3d:zi

The output inital time $z_i$ of the correlation function, $\xi(r,z)$.

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 NumCosmoMathPowspecCorr3dClass {
  NcmPowspecClass parent_class;
  
}

No description available.

Class members
parent_class: NcmPowspecClass

No description available.