Skip to main content

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.

Metadata

Release files for cardiac 1.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cardiac 1.1.6
File Size Uploaded
cardiac-1.1.6.tar.gz 24.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cardiac 1.1.6
File Interpreter ABI Platform
cardiac-1.1.6-py3-none-any.whl Python 3 none any Details

Total release size: 50.3 kB

Release files / cardiac-1.1.6.tar.gz

Download URL cardiac-1.1.6.tar.gz
Size 24.3 kB
Tags Source
SHA-256 checksum
How to use checksums
600d2050de8efb5b36a30420d8c8dfa5781cf3ae463d4959fe98092901b8db85
BLAKE2b-256 checksum
How to use checksums
b6ae8b424d5a6ef3b795b1c320441cfc97407a0945e69967af0d0144f265d8e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.5

Release files / cardiac-1.1.6-py3-none-any.whl

Download URL cardiac-1.1.6-py3-none-any.whl
Size 26.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
104f6abd9bb19356cf1bea42f4fd70df006032a3b90268e84423abd0596c3a27
BLAKE2b-256 checksum
How to use checksums
8d7247d6a13cca7bb708b022884b3f8f4b744128fd7f6ad1fb760bf8f56ef813
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.5

Release history Release notifications | RSS feed

This release

1.1.6 This release

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page