Skip to content

FOLPSν is a code for efficiently evaluating the redshift space power spectrum in the presence of massive neutrinos

Notifications You must be signed in to change notification settings

henoriega/FOLPS-nu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Authors:

Special thanks to other people who have tested this code: Sebastien Fromenteau, Mariana Vargas-Magaña, Arnaud de Mattia, Gerardo Morales Navarrete

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

About

FOLPSν is a code for efficiently evaluating the redshift space power spectrum in the presence of massive neutrinos

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages