Skip to content

oliverphilcox/Spectra-Without-Windows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spectra Without Windows

This code has now been replaced by the newer and more powerful 3D polyspectrum code PolyBin3D.

This repository contains details of the window-free analysis of non-uniform spectroscopic data. This uses the quadratic and cubic estimators described in Philcox 2020, Philcox 2021 and Ivanov et al. 2023, and additionally contains the data generated for the BOSS power spectrum and bispectrum analysis of Philcox & Ivanov 2021 and subsequent works.

Outline

  • pk/: Analysis code to estimate unwindowed power spectrum multipoles. We additionally supply the raw power spectrum measurements of BOSS, 2048 Patchy simulations and 84 Nseries simulations.
  • bk/: Analysis code to estimate unwindowed bispectrum multipoles. We additionally supply the raw bispectrum measurements of BOSS and 2048 Patchy simulations and 84 Nseries simulations.
  • paramfiles/: Example parameter files.
  • src/: Various Python utilities used in the unwindowed estimators.
  • slurm/: Example SLURM submission scripts.
  • generate_mask.py: Utility function to generate the background number density, n(r) from the survey mask and n(z) distribution. This is described in the code header.

Requirements

The scripts in this repository have the following dependencies:

  • python (2 or 3)
  • numpy
  • scipy
  • sympy (for generating spherical harmonics)
  • pyfftw (for FFTs)
  • nbodykit (for reading in data)
  • mangle (for reading survey mask files)

When applying the code to the BOSS survey, we use a number of products available on the BOSS SAS, which are referenced in the relevant paramfiles.

Acknowledgements

Authors

Publications

Codes and data from this repository are used in the following publications:

  • Philcox (2020, Phys. Rev. D, arXiv): Description of the unwindowed power spectrum estimators.
  • Philcox (2021, Phys. Rev. D, arXiv): Description of the unwindowed bispectrum estimators.
  • Philcox & Ivanov (2021, Phys. Rev. D, arXiv): Combined constraints on LambdaCDM from the BOSS power spectrum and bispectrum.
  • Cabass et al. (2022, arXiv): Constraints on single-field inflation from the BOSS power spectrum and bispectrum.
  • Cabass et al. (2022, arXiv): Constraints on multi-field inflation from the BOSS power spectrum and bispectrum.
  • Nunes et al. (2022, arXiv): Constraints on dark-sector interactions from the BOSS galaxy power spectrum.
  • Rogers et al. (2023, arXiv): Ultra-light axions and the S8 tension: joint constraints from the cosmic microwave background and galaxy clustering.
  • Ivanov et al. (2023, arXiv): Cosmology with the Galaxy Bispectrum Multipoles: Optimal Estimation and Application to BOSS Data.
  • Moretti et al. (2023, arXiv): Constraints on the growth index and neutrino mass from the BOSS power spectrum.
  • He et al. (2023, arXiv): Self-Interacting Neutrinos in Light of Large-Scale Structure Data.
  • Camarena et al. (2023, arXiv): The two-mode puzzle: Confronting self-interacting neutrinos with the full shape of the galaxy power spectrum

NB: This code formerly appeared as BOSS-Without-Windows, with the BOSS survey specifications hardcoded. For posterity, the original version of the code can be found on this branch.