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
  • 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.

Source Distribution

cardiac-1.1.6.tar.gz (24.3 kB view details)

Uploaded Source

Built Distribution

cardiac-1.1.6-py3-none-any.whl (26.0 kB view details)

Uploaded Python 3

File details

Details for the file cardiac-1.1.6.tar.gz.

File metadata

  • Download URL: cardiac-1.1.6.tar.gz
  • Upload date:
  • Size: 24.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.5

File hashes

Hashes for cardiac-1.1.6.tar.gz
Algorithm Hash digest
SHA256 600d2050de8efb5b36a30420d8c8dfa5781cf3ae463d4959fe98092901b8db85
MD5 21b09f9634e2641bf2d3babd67714c2c
BLAKE2b-256 b6ae8b424d5a6ef3b795b1c320441cfc97407a0945e69967af0d0144f265d8e5

See more details on using hashes here.

File details

Details for the file cardiac-1.1.6-py3-none-any.whl.

File metadata

  • Download URL: cardiac-1.1.6-py3-none-any.whl
  • Upload date:
  • Size: 26.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.5

File hashes

Hashes for cardiac-1.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 104f6abd9bb19356cf1bea42f4fd70df006032a3b90268e84423abd0596c3a27
MD5 8c3534d17f548e1de9c7b6b67309fd72
BLAKE2b-256 8d7247d6a13cca7bb708b022884b3f8f4b744128fd7f6ad1fb760bf8f56ef813

See more details on using hashes here.

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