Class

NumCosmoCBE

Description [src]

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

CLASS (Cosmic Linear Anisotropy Solving System) backend.

This object provides an interface for the CLASS code.

If you use this object please cite: [Blas (2011) CLASS II][XBlas2011], see also: - [Lesgourgues (2011) CLASS I][XLesgourgues2011], - [Lesgourgues (2011) CLASS III][XLesgourgues2011a], - [Lesgourgues (2011) CLASS IV][XLesgourgues2011b] and - CLASS website.

Ancestors

Constructors

nc_cbe_new

Creates a new NcCBE object with default precision parameters.

nc_cbe_prec_file_new
No description available.

nc_cbe_prec_new

Creates a new NcCBE object using the specified precision parameters.

Functions

nc_cbe_clear

Decreases the reference count of cbe and sets cbe to NULL.

Instance methods

nc_cbe_calc_transfer

Gets whether it calculates the transfer function.

nc_cbe_compare_bg

Compares CLASS and NumCosmo background calculations and returns the worst discrepancy.

nc_cbe_free

Decreases the reference count of cbe.

nc_cbe_get_all_Cls

Gets and store the angular power spectra $C_l$’s calculated in the vectors TT_Cls, EE_Cls, BB_Cls and TE_Cls. If any of these vectors are NULL, then it is (they are) ignored.

nc_cbe_get_matter_ps

Gets the logarithm base e of the matter power spectrum as a function of the redshift $z$ and mode $\ln (k)$.

nc_cbe_get_max_matter_pk_k

Gets the maximum mode $k_\mathrm{max}$ for which the matter power spectrum $P (k, z)$ is evaluated.

nc_cbe_get_max_matter_pk_z

Gets the maximum redshift $z_\mathrm{max}$ for which the matter power spectrum $P(k, z)$ is evaluated.

nc_cbe_get_scalar_lmax

Gets the maximum multipole $\ell_\textrm{max}$ at which the angular power spectrum $C_{\ell}$ of the scalar mode is computed.

nc_cbe_get_sigma8

Computes the value of $\sigma_8$ as computed by CLASS, usually with errors $\propto 10^{-4}$. For better precision use: ncm_powspec_sigma_tophat_R() or NcmPowspecFilter.

nc_cbe_get_target_Cls

Gets the target_Cls flags.

nc_cbe_get_tensor_lmax

Gets the maximum multipole $\ell_\textrm{max}$ at which the angular power spectrum $C_{\ell}$ of the tensor mode is computed.

nc_cbe_get_vector_lmax

Gets the maximum multipole $\ell_\textrm{max}$ at which the angular power spectrum $C_{\ell}$ of the vector mode is computed.

nc_cbe_lensed_Cls

Gets whether it uses lensed $C_{\ell}$’s.

nc_cbe_peek_precision

Peeks the NcCBEPrecision object.

nc_cbe_prepare

Prepares all necessary Class structures.

nc_cbe_prepare_if_needed

Prepares all necessary Class structures.

nc_cbe_ref

Increases the reference count of cbe.

nc_cbe_set_calc_transfer

Sets whether it should calculate the transfer function.

nc_cbe_set_lensed_Cls

Sets whether it should use lensed Cl’s.

nc_cbe_set_max_matter_pk_k

Sets $k_\mathrm{max}$ for which the matter power spectrum $P (k, z)$ is evaluated.

nc_cbe_set_max_matter_pk_z

Sets $z_\mathrm{max}$ for (until?) which the matter power spectrum $P(k, z)$ is evaluated.

nc_cbe_set_precision

Sets the cbe_prec as the precision object.

nc_cbe_set_scalar_lmax

Sets the maximum multipole $\ell_\textrm{max}$ at which the angular power spectrum $C_{\ell}$ of the scalar mode is computed.

nc_cbe_set_target_Cls

Sets the target_Cls target.

nc_cbe_set_tensor

Sets whether it should use tensor contribution.

nc_cbe_set_tensor_lmax

Sets the maximum multipole $\ell_\textrm{max}$ at which the angular power spectrum $C_{\ell}$ of the tensor mode is computed.

nc_cbe_set_thermodyn

Sets whether it should use the thermodynamics module.

nc_cbe_set_vector_lmax

Sets the maximum multipole $\ell_\textrm{max}$ at which the angular power spectrum $C_{\ell}$ of the vector mode is computed.

nc_cbe_tensor

Gets whether it uses tensor contributions.

nc_cbe_thermodyn

Gets whether it uses the thermodynamics module.

nc_cbe_thermodyn_get_Xe

Gets the free electrons fraction $X_e$ as a function of the redshift.

nc_cbe_thermodyn_prepare

Prepares the thermodynamic Class structure.

nc_cbe_thermodyn_prepare_if_needed

Prepares the thermodynamic Class structure.

nc_cbe_thermodyn_v_tau_max_z

Gets the redshift of the maximum visibility function.

nc_cbe_thermodyn_z_d

Gets drag redshift.

nc_cbe_use_ppf

Sets if PPF should be used.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

NumCosmo.CBE:calc-transfer
No description available.

NumCosmo.CBE:matter-pk-maxk
No description available.

NumCosmo.CBE:matter-pk-maxz
No description available.

NumCosmo.CBE:precision
No description available.

NumCosmo.CBE:scalar-lmax
No description available.

NumCosmo.CBE:target-Cls
No description available.

NumCosmo.CBE:tensor-lmax
No description available.

NumCosmo.CBE:use-lensed-Cls
No description available.

NumCosmo.CBE:use-ppf
No description available.

NumCosmo.CBE:use-tensor
No description available.

NumCosmo.CBE:use-thermodyn
No description available.

NumCosmo.CBE:vector-lmax
No description available.

NumCosmo.CBE:verbosity
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 NumCosmoCBEClass {
  /* no available fields */
}

No description available.