Skip to content

Python package to analyze the fourier power spectra and bispectra with wide-separation, relativistic and primordial non-gaussian effects.

License

Notifications You must be signed in to change notification settings

craddis1/CosmoWAP

Repository files navigation

CosmoWAP

Cosmology with Wide-separation, relAtivistic and Primordial non-Gaussian contibutions.

CosmoWAP is an effort to provide a (hopefully) self consistent framework to compute contribtuions within standard peturbation theory to the fourier power spectrum and bispectrum including wide-separation and relatvisitic effects as well as Primordial non-Gaussianity (PNG). These expression can be very cumbersome and it can be tricky to check for consistency in the community and so hopefully this code should be useful in that regard.

CosmoWAP is a Python package to analyse the power spectra and bispectra but the analytical expressions themselves are computed analytically in Mathematica using routines which are publicly avalable at MathWAP and then exported as .py files. therefore the main functionality of CosmoWAP is to take these expressions and implement them for a given cosmology (from CLASS) and set of survey parameters.

Documentation

For full Documentation - In progress...

Lanch binder notebook example: badge badge

Installation

pip install cosmowap

classy (CLASS python wrapper) is necessecary to fully use CosmoWAP.

Features

CosmoWAPs aim is to provide self-consistent modelling for the linear bispectrum and power spectrum. It contains redshift space expressions for the 3D Fourier power spectrum (and it's multipoles with multi-tracer capabilites) as well as the bispectrum (with Sccoccimarro spherical harmonic multipoles), in particular it's main features are:

  • Wide separation (WS) effects (i.e. wide angle and radial redshift contributions) up to second order in the WS expansion
  • Local Relativistic (GR) effects (including projection and dynamical effects) up to $\left(\frac{\mathcal{H}}{k}\right)^2$
  • Primordial non-Gaussian (PNG) contribution for local, equilateral and orthogonal types

additional features

  • Gaussian covariances along with routines for Fisher and SNR analyses
  • Inclusion of Finger-of-God damping
  • Integrated relatvistic terms (in progress)
  • TriPOSH bispectrum expansion terms (in progress)

Usage

Based on work in arXiv:2407.00168

Also for PNG and covraiance related stuff please also refer too: arXiv:25xx.xxxx

Contact

If you find any bugs or errors or have any questions and suggestions feel free to get in touch :) - [email protected]

About

Python package to analyze the fourier power spectra and bispectra with wide-separation, relativistic and primordial non-gaussian effects.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published