https://github.com/craddis1/mathwap
Mathematica routines to compute power spectra bispectra contributions from peturbation theory
https://github.com/craddis1/mathwap
bispectrum cosmology peturbation-theory powerspectrum
Last synced: 5 months ago
JSON representation
Mathematica routines to compute power spectra bispectra contributions from peturbation theory
- Host: GitHub
- URL: https://github.com/craddis1/mathwap
- Owner: craddis1
- License: mit
- Created: 2024-09-24T11:59:11.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-11T21:45:13.000Z (over 1 year ago)
- Last Synced: 2025-02-11T22:33:03.633Z (over 1 year ago)
- Topics: bispectrum, cosmology, peturbation-theory, powerspectrum
- Language: Mathematica
- Homepage:
- Size: 4.58 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# MathWAP
Companion repository to [*CosmoWAP*](https://github.com/craddis1/CosmoWAP)
MathWAP contains Mathematica notebooks that computes the fourier power spectrum and bispectrum including contributions (up to second order) from wide-separation (WS) and relatativistic (GR) efects as well as primoridal non-Gaussianity (PNG).
For full documnetation see [*Docs*](https://cosmowap.readthedocs.io/en/latest/overview.html).
## Contents
### Kernels.nb
Defines redshift space kernels
### Power spectrum
See The_powerspectrum.nb: Main file used in computation exports terms into .json files
Uses:
- Pk_expansions.nb: Defines the wide angle and radial evolution series expansions for the power spectrum
- Pkfuncsandrules.nb: Contains functions used in The_powerspectrum.nb (is messy and long - sorry i don't like mathematica)
### Bispectrum
See The_bispectrum.nb: Main file used in computation exports terms into .json files
Uses:
- expansions.nb: Defines the wide angle and radial evolution series expansions for the bispectrum
- Bkfuncsandrules.nb: Contains functions used in The_bispectrum.nb (is messy and long - sorry i don't like mathematica)
## Outputs
Outputs are stored from mathematica in .json files in mathematica_expr - also read_mathematica.ipynb can be used for converting from mathematica to python formatting.
Terms for other kernels can also be provided or computed from the The_bispectrum.nb - format can also be flexible.
## Usage
Based on work in [arXiv:2407.00168](https://arxiv.org/abs/2407.00168)
Also for PNG stuff please refer too: arXiv:24xx.xxxx