NcPowspecMNLHaloFit

NcPowspecMNLHaloFit — nonlinear matter power spectrum from Halofit model.

Stability Level

Stable, unless otherwise indicated

Functions

Properties

NcPowspecML * power-spec Read / Write / Construct Only
double reltol Read / Write / Construct
gboolean use-pkequal Read / Write / Construct
double zmaxnl Read / Write / Construct

Types and Values

Object Hierarchy

    GObject
    ╰── NcmPowspec
        ╰── NcPowspecMNL
            ╰── NcPowspecMNLHaloFit

Includes

#include <numcosmo/nc_powspec_mnl_halofit.h>

Description

Provides the nonlinear matter power spectrum using Halofit model Smith et al (2003) and Takahashi et al. (2012).

For PKEqual see Casarini et al. (2009) and Casarini et al. (2016).

Functions

nc_powspec_mnl_halofit_new ()

NcPowspecMNLHaloFit *
nc_powspec_mnl_halofit_new (NcPowspecML *psml,
                            gdouble zmaxnl,
                            gdouble reltol);

Creates a new NcPowspecMNLHaloFit from the transfer function tf .

Parameters

psml

a NcPowspecML

 

zmaxnl

maximum redshift for the halofit correction

 

reltol

relative tolerance (precision) for halofit computations

 

Returns

the newly created NcPowspecMNLHaloFit.

[transfer full]


nc_powspec_mnl_halofit_set_kbounds_from_ml ()

void
nc_powspec_mnl_halofit_set_kbounds_from_ml
                               (NcPowspecMNLHaloFit *pshf);

Sets mode $k$ boundaries from the linear matter power spectrum.

Parameters


nc_powspec_mnl_halofit_pkequal ()

void
nc_powspec_mnl_halofit_pkequal (NcPowspecMNLHaloFit *pshf,
                                gboolean on);

Whether to use PKEqual to adjust the HaloFit formula when using a NcHICosmoDECpl model, see Casarini et al. (2009) and Casarini et al. (2016).

Parameters

pshf

a NcPowspecMNLHaloFit

 

on

a boolean

 

Types and Values

NC_POWSPEC_MNL_HALOFIT_F1aPOW

#define NC_POWSPEC_MNL_HALOFIT_F1aPOW  (-0.0732)

NC_POWSPEC_MNL_HALOFIT_F2aPOW

#define NC_POWSPEC_MNL_HALOFIT_F2aPOW  (-0.1423)

NC_POWSPEC_MNL_HALOFIT_F3aPOW

#define NC_POWSPEC_MNL_HALOFIT_F3aPOW  (0.0725)

NC_POWSPEC_MNL_HALOFIT_F1bPOW

#define NC_POWSPEC_MNL_HALOFIT_F1bPOW  (-0.0307)

NC_POWSPEC_MNL_HALOFIT_F2bPOW

#define NC_POWSPEC_MNL_HALOFIT_F2bPOW  (-0.0585)

NC_POWSPEC_MNL_HALOFIT_F3bPOW

#define NC_POWSPEC_MNL_HALOFIT_F3bPOW  (0.0743)

NC_POWSPEC_MNL_HALOFIT_LOGRMIN

#define NC_POWSPEC_MNL_HALOFIT_LOGRMIN (-35.000)

Property Details

The “power-spec” property

  “power-spec”               NcPowspecML *

The linear power spectrum NcPowspecML.

Owner: NcPowspecMNLHaloFit

Flags: Read / Write / Construct Only


The “reltol” property

  “reltol”                   double

The relative tolerance (precision) for halofit computations.

Owner: NcPowspecMNLHaloFit

Flags: Read / Write / Construct

Allowed values: [2.22045e-16,1]

Default value: 0.001


The “use-pkequal” property

  “use-pkequal”              gboolean

Whether to use PKEqual.

Owner: NcPowspecMNLHaloFit

Flags: Read / Write / Construct

Default value: FALSE


The “zmaxnl” property

  “zmaxnl”                   double

The maximum redshift for the halofit correction.

Owner: NcPowspecMNLHaloFit

Flags: Read / Write / Construct

Allowed values: [0,10000]

Default value: 10