Constructor

NumCosmoXcorKernelClusterTophatnew

Declaration [src]

NcXcorKernelClusterTophat*
nc_xcor_kernel_cluster_tophat_new (
  NcDistance* dist,
  NcmPowspec* ps,
  gdouble z_lower,
  gdouble z_upper
)

Description [src]

Creates a new NcXcorKernelClusterTophat with a top-hat redshift distribution between z_lower and z_upper.

Parameters

dist

Type: NcDistance

A NcDistance.

The data is owned by the caller of the function.
ps

Type: NcmPowspec

A NcmPowspec.

The data is owned by the caller of the function.
z_lower

Type: gdouble

Lower redshift bound.

z_upper

Type: gdouble

Upper redshift bound.

Return value

Type: NcXcorKernelClusterTophat

A new NcXcorKernelClusterTophat.

The caller of the function takes ownership of the data, and is responsible for freeing it.