Skip to main content

package for computing power spectra and bispectra

Project description

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 :) - c.l.j.addis@qmul.ac.uk

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

cosmowap-0.3.0.tar.gz (4.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cosmowap-0.3.0-py3-none-any.whl (5.0 MB view details)

Uploaded Python 3

File details

Details for the file cosmowap-0.3.0.tar.gz.

File metadata

  • Download URL: cosmowap-0.3.0.tar.gz
  • Upload date:
  • Size: 4.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.8

File hashes

Hashes for cosmowap-0.3.0.tar.gz
Algorithm Hash digest
SHA256 9654c534dfb38a9194824f7fe83708963323b5f2f4e8d0900fa7c26e841e241c
MD5 b7f2057027f4f393be98db6dd71f8d8e
BLAKE2b-256 df798e379a531dcafc19049e2a05d501422f1cfbfa46e0f2b39c3a607d61c029

See more details on using hashes here.

File details

Details for the file cosmowap-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: cosmowap-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 5.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.8

File hashes

Hashes for cosmowap-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ad77ac338cc1bda92a5a03be57f49e49d099a1c129f16e23a33350e6f8dc20bb
MD5 3b37aa95d6cd9d239b311005cd66f45e
BLAKE2b-256 e5604109788fc6fcccae57dbd438ac4b341a05af8172eb00aecd06699b3555f5

See more details on using hashes here.

Supported by

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