Giter Site home page Giter Site logo

minhmpa / spectra-without-windows Goto Github PK

View Code? Open in Web Editor NEW

This project forked from oliverphilcox/spectra-without-windows

0.0 0.0 0.0 83.15 MB

Estimators and data for window-free analysis of power spectra and bispectra

License: MIT License

Shell 9.27% Python 90.73%

spectra-without-windows's Introduction

Spectra Without Windows

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.

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.

spectra-without-windows's People

Contributors

oliverphilcox avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.