NcPowspecMNLHaloFit

NcPowspecMNLHaloFit — nonlinear matter power spectrum from Halofit model.

Properties

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

Object Hierarchy

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

Description

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

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

a gdouble

 

reltol

a gdouble

 

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.0)

Property Details

The “power-spec” property

  “power-spec”               NcPowspecML *

Linear power spectrum.

Flags: Read / Write / Construct Only


The “reltol” property

  “reltol”                   gdouble

Relative tolerance (precision) for halofit computations.

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.

Flags: Read / Write / Construct

Default value: FALSE


The “zmaxnl” property

  “zmaxnl”                   gdouble

Max redshift for halofit correction.

Flags: Read / Write / Construct

Allowed values: [0,10000]

Default value: 10