Class

NumCosmoBBNParthenope

Description [src]

final class NumCosmo.BBNParthenope : NumCosmo.BBN
{
  /* No available fields */
}

Primordial Helium from a tabulated PArthENoPE run.

Interpolates $Y_p(\omega_b, \Delta N_\mathrm{eff})$ on one of the tables shipped with NumCosmo, selected by NcBBNParthenope:table. The tables carry $Y_p$ only, so this model implements nc_bbn_Yp_4He() and nc_bbn_get_domain() and nothing else.

Outside the tabulated range the model errors rather than extrapolating — see nc_bbn_check_domain(). All shipped tables cover $\omega_b \in [0.005, 0.04]$ and $\Delta N_\mathrm{eff} \in [-3, 7]$.

The interpolating splines are deserialized once per table and shared by every instance for the lifetime of the process: a fit or a Monte Carlo run creates many cosmologies, and each one carrying its own copy of the table would mean re-reading it from disk per instance.

Ancestors

Constructors

nc_bbn_parthenope_new

Creates a new NcBBNParthenope on the default table, NC_BBN_PARTHENOPE_TABLE_PLANCK2017.

nc_bbn_parthenope_new_from_table

Creates a new NcBBNParthenope interpolating table.

Functions

nc_bbn_parthenope_clear

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

Instance methods

nc_bbn_parthenope_free

Decreases the reference count of bbn_pn by one.

nc_bbn_parthenope_get_table

Gets which tabulation of $Y_p$ bbn_pn interpolates.

nc_bbn_parthenope_ref

Increases the reference count of bbn_pn by one.

nc_bbn_parthenope_set_table

Sets which tabulation of $Y_p$ bbn_pn interpolates.

Methods inherited from NcBBN (8)
nc_bbn_DH

Computes the primordial Deuterium abundance $\mathrm{D}/\mathrm{H}$ predicted for cosmo. Optional: check ncm_model_check_impl_opt() for NC_BBN_IMPL_DH first.

nc_bbn_He3H

Computes the primordial Helium-3 abundance ${}^3\mathrm{He}/\mathrm{H}$ predicted for cosmo. Optional: check ncm_model_check_impl_opt() for %NC_BBN_IMPL_He3H first.

nc_bbn_Li7H

Computes the primordial Lithium-7 abundance ${}^7\mathrm{Li}/\mathrm{H}$ predicted for cosmo. Optional: check ncm_model_check_impl_opt() for %NC_BBN_IMPL_Li7H first.

nc_bbn_Yp_4He

Computes the primordial Helium-4 mass fraction $Y_p$ predicted for cosmo.

nc_bbn_check_domain

Errors out unless $(wb, DNeff)$ lies inside the domain bbn reports through nc_bbn_get_domain(). Implementations that interpolate a table call this before evaluating: outside the table there is no prediction to give, and an extrapolated value would be indistinguishable from a real one.

nc_bbn_free

Decreases the reference count of bbn by one.

nc_bbn_get_domain

Gets the range of $(\omega_b, \Delta N_\mathrm{eff})$ over which bbn is defined. A model with no intrinsic range reports the widest one it accepts.

nc_bbn_ref

Increases the reference count of bbn by one.

Methods inherited from NcmModel (91)

Please see NcmModel for a full list of methods.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

NumCosmo.BBNParthenope:table

Which tabulation of $Y_p(\omega_b, \Delta N_\mathrm{eff})$ to interpolate. See NcBBNParthenopeTable: the tables differ by up to 1% in $Y_p$, so this is a physics choice, not a detail.

Properties inherited from NcmModel (9)
NumCosmoMath.Model:implementation

The implementation flags of the model class, see ncm_model_check_impl_flag().

NumCosmoMath.Model:name

The name of the model class.

NumCosmoMath.Model:nick

The nickname of the model class.

NumCosmoMath.Model:params-types

The NcmParamType of each parameter.

NumCosmoMath.Model:reparam

The reparametrization, see ncm_model_set_reparam().

NumCosmoMath.Model:scalar-params-len

The number of scalar parameters.

NumCosmoMath.Model:sparam-array

The parameter descriptions that differ from the class ones, NcmSParam keyed by parameter index. Each one is placed by its parameter name: a description of a parameter declared with ncm_model_class_add_removed_param() is skipped, and one of any other unknown parameter aborts.

NumCosmoMath.Model:submodel-array

The submodels, attached at construction.

NumCosmoMath.Model:vector-params-len

The number of vector parameters (not their lengths).

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 NumCosmoBBNParthenopeClass {
  NcBBNClass parent_class;
  
}

No description available.

Class members
parent_class: NcBBNClass

No description available.