Skip to main content

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
  • camb, anzu (though the user could replace them with their own power spectra)
  • numba for JIT compilation of galaxy lensing kernels, which are slow to compute otherwise

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.

Source Distribution

cardiac-1.0.0.tar.gz (22.8 kB view hashes)

Uploaded Source

Built Distribution

cardiac-1.0.0-py3-none-any.whl (24.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page