XCorr (Cross-correlation)

Likelihood for cross-correlation of CMB lensing and galaxy clustering probes. Based on the original xcorr code [1] used in Krolewski et al (2021) [2].

Cross-correlation Likelihood

class soliket.xcorr.XcorrLikelihood(info: Mapping[str, Any] = mappingproxy({}), name: str | None = None, timing: bool | None = None, packages_path: str | None = None, initialize=True, standalone=True)[source]

Bases: GaussianLikelihood

Cross-correlation Likelihood for CMB lensing and galaxy clustering probes.

Accepts data files containing the two spectra from either text files or a sacc file.

Parameters

datapathstr, optional

sacc file containing the redshift distribtion, galaxy-galaxy and galaxy-kappa observed spectra. Default: tests/data/unwise_g-so_kappa.sim.sacc.fits

k_tracer_namestr, optional

sacc file tracer name for kappa. Default: ck_so

gc_tracer_namestr, optional

sacc file tracer name for galaxy clustering. Default: gc_unwise

dndz_filestr, optional

Text file containing the redshift distribution.

auto_filestr, optional

Text file containing the galaxy-galaxy observed spectra.

cross_filestr, optional

Text file containing the galaxy-kappa observed spectra.

high_ellint

Maximum multipole to be computed for all spectra. Default: 600

nzint

Resolution of redshift grid used for Limber computations. Default: 149

Nchiint

Resolution of Chi grid used for lensing kernel computations. Default: 149

Nchi_magint

Resolution of Chi grid used for magnification kernel computations. Default: 149

Pk_interp_kmaxfloat

Maximum k value for the Pk interpolator, units Mpc^-1. Default: 10.0

b1float

Linear galaxy bias value for the galaxy sample.

s1float

Magnification bias slope for the galaxy sample.

get_requirements()[source]

Get a dictionary of requirements (or a list of requirement name, option tuples) that are always needed (e.g. must be calculated by another component or provided as input parameters).

Returns:

dictionary or list of tuples of requirement names and options (or iterable of requirement names if no optional parameters are needed)

Limber Calculator

Used internally by the xcorr likelihood to compute angular power spectra of different

probes under the Limber approximation.