NcPowspecMLTransfer

NcPowspecMLTransfer — Class for linear matter power spectrum from a transfer function.

Stability Level

Stable, unless otherwise indicated

Functions

Properties

NcGrowthFunc * growth Read / Write
NcTransferFunc * transfer Read / Write / Construct

Object Hierarchy

    GObject
    ╰── NcmPowspec
        ╰── NcPowspecML
            ╰── NcPowspecMLTransfer

Includes

#include <numcosmo/nc_powspec_ml_transfer.h>

Description

Provides a linear matter power spectrum as a function of mode $k$ and redshift $z$ using a transfer function $T(k)$ NcTransferFunc and the growth function $D(z)$ NcGrowthFunc, $$P(k, z) = P_{\text{prim}} (k) T(k)^2 D(z)^2,$$ where $P_{\text{prim}} (k)$ is the primordial power spectrum NcHIPrim.

Functions

nc_powspec_ml_transfer_new ()

NcPowspecMLTransfer *
nc_powspec_ml_transfer_new (NcTransferFunc *tf);

Creates a new NcPowspecMLTransfer from the transfer function tf .

Parameters

tf

a NcTransferFunc

 

Returns

the newly created NcPowspecMLTransfer.

[transfer full]


nc_powspec_ml_transfer_set_tf ()

void
nc_powspec_ml_transfer_set_tf (NcPowspecMLTransfer *ps_mlt,
                               NcTransferFunc *tf);

Sets the NcTransferFunc to tf .

Parameters

ps_mlt

a NcPowspecMLTransfer

 

tf

a NcTransferFunc

 

nc_powspec_ml_transfer_set_gf ()

void
nc_powspec_ml_transfer_set_gf (NcPowspecMLTransfer *ps_mlt,
                               NcGrowthFunc *gf);

Sets the NcGrowthFunc to gf .

Parameters

ps_mlt

a NcPowspecMLTransfer

 

gf

a NcGrowthFunc

 

nc_powspec_ml_transfer_peek_tf ()

NcTransferFunc *
nc_powspec_ml_transfer_peek_tf (NcPowspecMLTransfer *ps_mlt);

Peeks the NcTransferFunc inside ps_mlt .

Parameters

ps_mlt

a NcPowspecMLTransfer

 

Returns

the NcTransferFunc inside ps_mlt .

[transfer none]


nc_powspec_ml_transfer_peek_gf ()

NcGrowthFunc *
nc_powspec_ml_transfer_peek_gf (NcPowspecMLTransfer *ps_mlt);

Peeks the NcGrowthFunc inside ps_mlt .

Parameters

ps_mlt

a NcPowspecMLTransfer

 

Returns

the NcGrowthFunc inside ps_mlt .

[transfer none]

Property Details

The “growth” property

  “growth”                   NcGrowthFunc *

The growth function $D(z)$ used to compute $P(k,z)$.

Owner: NcPowspecMLTransfer

Flags: Read / Write


The “transfer” property

  “transfer”                 NcTransferFunc *

The transfer function $T(k)$ used to compute $P(k,z)$.

Owner: NcPowspecMLTransfer

Flags: Read / Write / Construct