NcXcorLimberKernel

NcXcorLimberKernel — Abstract object for the kernels of projected observables used in cross-correlations.

Functions

Properties

double zmax Read / Write / Construct
double zmin Read / Write / Construct

Types and Values

Object Hierarchy

    GBoxed
    ╰── NcXcorKinetic
    GEnum
    ╰── NcXcorLimberKernelImpl
    GObject
    ╰── NcmModel
        ╰── NcXcorLimberKernel
            ├── NcXcorLimberKernelCMBISW
            ├── NcXcorLimberKernelCMBLensing
            ├── NcXcorLimberKernelGal
            ├── NcXcorLimberKerneltSZ
            ╰── NcXcorLimberKernelWeakLensing

Description

The projected field and its kernel are linked by \begin{equation} $A(\hat{\mathbf{n}}) = \int_0^\infty dz \ W^A(z) \ \delta(\chi(z)\hat{\mathbf{n}}, z)$ \end{equation} where $\delta$ is the matter density field.

Kernels also implement the noise power spectrum.

Functions

nc_xcor_limber_kernel_ref ()

NcXcorLimberKernel *
nc_xcor_limber_kernel_ref (NcXcorLimberKernel *xclk);

FIXME

Parameters

xclk

a NcXcorLimberKernel

 

Returns

xclk .

[transfer full]


nc_xcor_limber_kernel_free ()

void
nc_xcor_limber_kernel_free (NcXcorLimberKernel *xclk);

FIXME

Parameters

xclk

a NcXcorLimberKernel

 

nc_xcor_limber_kernel_clear ()

void
nc_xcor_limber_kernel_clear (NcXcorLimberKernel **xclk);

FIXME

Parameters

xclk

a NcXcorLimberKernel

 

nc_xcor_kinetic_copy ()

NcXcorKinetic *
nc_xcor_kinetic_copy (NcXcorKinetic *xck);

Creates a copy of xck .

Parameters

xck

a NcXcorKinetic

 

Returns

a new NcXcorKinetic copy of xck .

[transfer full]


nc_xcor_kinetic_free ()

void
nc_xcor_kinetic_free (NcXcorKinetic *xck);

Frees xck .

Parameters

xck

a NcXcorKinetic

 

nc_xcor_limber_kernel_obs_len ()

guint
nc_xcor_limber_kernel_obs_len (NcXcorLimberKernel *xclk);

FIXME

[virtual obs_len]

Parameters

xclk

a NcXcorLimberKernel

 

Returns

FIXME


nc_xcor_limber_kernel_obs_params_len ()

guint
nc_xcor_limber_kernel_obs_params_len (NcXcorLimberKernel *xclk);

FIXME

[virtual obs_params_len]

Parameters

xclk

a NcXcorLimberKernel

 

Returns

FIXME


nc_xcor_limber_kernel_set_z_range ()

void
nc_xcor_limber_kernel_set_z_range (NcXcorLimberKernel *xclk,
                                   gdouble zmin,
                                   gdouble zmax,
                                   gdouble zmid);

Set the redshift range of the kernel.

Parameters

xclk

a NcXcorLimberKernel

 

zmin

minimum redshift

 

zmax

maximum redshift

 

zmid

mid redshift

 

nc_xcor_limber_kernel_get_z_range ()

void
nc_xcor_limber_kernel_get_z_range (NcXcorLimberKernel *xclk,
                                   gdouble *zmin,
                                   gdouble *zmax,
                                   gdouble *zmid);

Get the redshift range of the kernel.

Parameters

xclk

a NcXcorLimberKernel

 

zmin

minimum redshift.

[out]

zmax

maximum redshift.

[out]

zmid

mid redshift.

[out][allow-none]

nc_xcor_limber_kernel_set_const_factor ()

void
nc_xcor_limber_kernel_set_const_factor
                               (NcXcorLimberKernel *xclk,
                                gdouble cf);

Set the constant factor of the kernel.

Parameters

xclk

a NcXcorLimberKernel

 

cf

a gdouble

 

nc_xcor_limber_kernel_get_const_factor ()

gdouble
nc_xcor_limber_kernel_get_const_factor
                               (NcXcorLimberKernel *xclk);

Get the constant factor of the kernel.

Parameters

xclk

a NcXcorLimberKernel

 

Returns

the constant factor.


nc_xcor_limber_kernel_eval ()

gdouble
nc_xcor_limber_kernel_eval (NcXcorLimberKernel *xclk,
                            NcHICosmo *cosmo,
                            gdouble z,
                            const NcXcorKinetic *xck,
                            gint l);

FIXME

[virtual eval]

Parameters

xclk

a NcXcorLimberKernel

 

cosmo

a NcHICosmo

 

z

a gdouble

 

xck

a NcXcorKinetic

 

l

a gint

 

Returns

FIXME


nc_xcor_limber_kernel_eval_full ()

gdouble
nc_xcor_limber_kernel_eval_full (NcXcorLimberKernel *xclk,
                                 NcHICosmo *cosmo,
                                 gdouble z,
                                 NcDistance *dist,
                                 gint l);

FIXME

Parameters

xclk

a NcXcorLimberKernel

 

cosmo

a NcHICosmo

 

z

a gdouble

 

dist

a NcDistance

 

l

a gint

 

Returns

FIXME


nc_xcor_limber_kernel_prepare ()

void
nc_xcor_limber_kernel_prepare (NcXcorLimberKernel *xclk,
                               NcHICosmo *cosmo);

FIXME

[virtual prepare]

Parameters

xclk

a NcXcorLimberKernel

 

cosmo

a NcHICosmo

 

nc_xcor_limber_kernel_add_noise ()

void
nc_xcor_limber_kernel_add_noise (NcXcorLimberKernel *xclk,
                                 NcmVector *vp1,
                                 NcmVector *vp2,
                                 guint lmin);

vp2 = vp1 + noise spectrum

[virtual add_noise]

Parameters

xclk

a NcXcorLimberKernel

 

vp1

a NcmVector

 

vp2

a NcmVector

 

lmin

a guint

 

nc_xcor_limber_kernel_log_all_models ()

void
nc_xcor_limber_kernel_log_all_models (void);

FIXME

Types and Values

NC_TYPE_XCOR_LIMBER_KERNEL

#define NC_TYPE_XCOR_LIMBER_KERNEL (nc_xcor_limber_kernel_get_type ())

struct NcXcorLimberKernelClass

struct NcXcorLimberKernelClass {
};

enum NcXcorLimberKernelImpl

Members

NC_XCOR_LIMBER_KERNEL_IMPL_EVAL

FIXME

 

NC_XCOR_LIMBER_KERNEL_IMPL_PREPARE

FIXME

 

NC_XCOR_LIMBER_KERNEL_IMPL_ADD_NOISE

FIXME

 

NC_XCOR_LIMBER_KERNEL_IMPL_ALL

#define NC_XCOR_LIMBER_KERNEL_IMPL_ALL NCM_MODEL_CLASS_IMPL_ALL

struct NcXcorKinetic

struct NcXcorKinetic {
  gdouble xi_z;
  gdouble E_z;
};

A boxed type for the kinetic quantities necessary to compute the kernels.

Members

gdouble xi_z;

FIXME

 

gdouble E_z;

FIXME

 

NcXcorLimberKernel

typedef struct _NcXcorLimberKernel NcXcorLimberKernel;

A NcXcorLimberKernel is an abstract object for the kernels of projected observables used in cross-correlations.

Property Details

The “zmax” property

  “zmax”                     double

Maximum redshift.

Owner: NcXcorLimberKernel

Flags: Read / Write / Construct

Allowed values: [0,100000]

Default value: 0


The “zmin” property

  “zmin”                     double

Minimum redshift.

Owner: NcXcorLimberKernel

Flags: Read / Write / Construct

Allowed values: [0,100000]

Default value: 0