Skip to content

Latest commit

 

History

History
66 lines (38 loc) · 2.02 KB

README.md

File metadata and controls

66 lines (38 loc) · 2.02 KB

FOLPSν (aka Flops)

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

arXiv

Developers (code and (e)BOSS and DESI pipelines):

Special thanks to Arnaud de Mattia for helping with the Jax version of this code.

Run

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.

Attribution

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"
}