NcPowspecMNLHaloFit

NcPowspecMNLHaloFit — nonlinear matter power spectrum from Halofit model.

Properties

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

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.

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

Types and Values

NC_POWSPEC_MNL_HALOFIT_F1POW

#define NC_POWSPEC_MNL_HALOFIT_F1POW   (-0.0307)

NC_POWSPEC_MNL_HALOFIT_F2POW

#define NC_POWSPEC_MNL_HALOFIT_F2POW   (-0.0585)

NC_POWSPEC_MNL_HALOFIT_F3POW

#define NC_POWSPEC_MNL_HALOFIT_F3POW   (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 “zmaxnl” property

  “zmaxnl”                   gdouble

Max redshift for halofit correction.

Flags: Read / Write / Construct Only

Allowed values: [0,10000]

Default value: 10