FOLPSν is a Python code that computes the galaxy redshift space power spectrum for cosmologies containing massive neutrinos. The code combines analytical modeling and numerical methods based on the FFTLog formalism.
For version with JAX (x10 times faster!): Folpsax
Special thanks to Arnaud de Mattia for helping with the Jax version of this code.
Dependences
The code employs the standard libraries:
- NumPy
- SciPy
We recommend to use NumPy versions ≥ 1.20.0. For older versions, one needs to rescale by a factor 1/N the FFT computation.
To run the code, first use git clone:
git clone https://github.com/henoriega/FOLPS-nu.git
or install via pip by:
pip install git+https://github.com/henoriega/FOLPS-nu
Once everything is ready, please check the Jupyter Notebook which contains some helpful examples.
Please cite https://arxiv.org/abs/2208.02791 if you find this code useful in your research.
@article{Noriega:2022nhf,
author = "Noriega, Hern\'an E. and Aviles, Alejandro and Fromenteau, Sebastien and Vargas-Maga\~na, Mariana",
title = "{Fast computation of non-linear power spectrum in cosmologies with massive neutrinos}",
eprint = "2208.02791",
archivePrefix = "arXiv",
primaryClass = "astro-ph.CO",
month = "8",
year = "2022"
}