Code for Anisotropic Redshift Distributions in Angular Clustering
Project description
CARDiAC
Code for Anisotropic Redshift Distributions in Angular Clustering
CARDiAC is a python code that computes the impact of anisotropic redshift distributions on a wide class of angular clustering observables, following Baleato Lizancos & White 2023.
At present, the code supports auto- and cross-correlations of galaxy samples and cosmic shear maps, including galaxy -galaxy lensing. The anisotropy can be present in the mean redshift and/or width of Gaussian distributions, as well as in the fraction of galaxies in each component of multi-modal distributions. Templates of these variations can be provided by the user or simulated internally within the code.
Installation
The code can be installed simply by running
python -m pip install
Dependencies:
numpy
,scipy
,matplotlib
astropy
healpy
py3nj
camb
numba
for JIT compilation of galaxy lensing kernels, which are slow to compute otherwise
Optionally, galaxy-galaxy and galaxy-matter spectra can be obtained from a Lagrangian bias expansion using the anzu
code if the user has it installed.
Usage
See Tutorial.ipynb
at the code's repository on Github.
Attribution
If you use the code, please cite Baleato Lizancos & White 2023.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.