Constructor

NumCosmoXcorSSCSijnew

Declaration [src]

NcXcorSSCSij*
nc_xcor_ssc_sij_new (
  NcDistance* dist,
  NcmPowspec* ps,
  NcmVector* z_edges
)

Description [src]

Creates a new NcXcorSSCSij over the len (z_edges) - 1 top-hat redshift bins delimited by z_edges. The footprint defaults to the full sky; use nc_xcor_ssc_sij_set_mask_cl() to set a real one.

Parameters

dist

Type: NcDistance

A NcDistance.

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

Type: NcmPowspec

A NcmPowspec, the linear matter power spectrum.

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

Type: NcmVector

A NcmVector of strictly increasing redshift bin edges.

The data is owned by the caller of the function.

Return value

Type: NcXcorSSCSij

A new NcXcorSSCSij.

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