This is the code repository for reproducing the results of the paper: Hybrid P(k): general, unified, non-linear matter power spectrum in redshift space
If you use these codes in your research, we kindly ask that you cite this repository [https://github.com/nebblu/HyPk] and the following papers:
Ben Bose, Hans Winther, Alkistis Pourtsidou, Santiago Casas.
Simulation data in data/multidark
contains measurements made by Hans Winther from the multidark simulation.
Theory data in data/theory
contains data files for power spectra computed using ReACT.
It also contains velocity statistics computed using a private library for ReACT. Please contact Ben Bose for access.
The main code is the Jupyter notebook: HyPk.ipynb
Also included is a Mathematica notebook (errors.nb) to compute the Gaussian covariance of the redshift space power spectrum multipoles.
- Python3
- numpy
- matplotlib
- scipy
- jupyter
- mcfit (install with
pip install mcfit
) - joblib (install with
pip install joblib
)
Please open an issue in the `issues' tab if any problems are encountered :)