GithubHelp home page GithubHelp logo

franxavier / pyactlike Goto Github PK

View Code? Open in Web Editor NEW

This project forked from actcollaboration/pyactlike

0.0 0.0 0.0 62.41 MB

ACTPol CMB power spectrum likelihood in Python

License: MIT License

Python 100.00%

pyactlike's Introduction

ACTPol DR4 CMB Power Spectrum Likelihood

Python package

This is the Data Release 4 (DR4) CMB power spectrum likelihood measured by the Atacama Cosmology Telescope (ACT), from the 2013โ€“2016 survey covering >15,000 sq. deg. This spectrum has already been marginalized over SZ and foreground emission. The polarization efficiency is the only nuisance parameter required to be sampled. It is based on the WMAP and ACT team's likelihood software.

Cite: Aiola et al. 2020, Choi et al. 2020. This package is based off of the Fortran implementation written by Erminia Calabrese and Jo Dunkley. Thanks to Tim Morton for helping interface with Cobaya, and special thanks to Leander Thiele for finding a bug in the Monte Python 3 wrapper.

panoramic image

Installation

To install, clone this repository and install it using pip.

git clone https://github.com/ACTCollaboration/pyactlike
cd pyactlike
pip install . --user

Usage

This package can be called standalone or with Cobaya. For experimental MontePython support, see the montepython3/ directory in this repository. If you are using a Cobaya version < 2.1.0 (the current stable branch), please see the example Jupyter notebook in notebooks/Example for Cobaya (stable).ipynb.

If you are on Cobaya 2.1.0 (currently the devel branch), using the likelihood is as easy as including it in your YAML or configuration dict. There's one nuisance parameter, the polarization efficiency yp2.

likelihood:
    pyactlike.ACTPol_lite_DR4:

params:   
    yp2:
        prior:
            min: 0.5
            max: 1.5     

We provide additional likelihood configurations for common uses,

  • pyactlike.ACTPol_lite_DR4_for_combining_with_Planck for TT,TE,EE excluding the large scale ACT temperature
  • pyactlike.ACTPol_lite_DR4_onlyTT for restricting only to TT
  • pyactlike.ACTPol_lite_DR4_onlyTE for restricting only to TE
  • pyactlike.ACTPol_lite_DR4_onlyEE for restricting only to EE

Tests

Run pytest in the repository base directory run the tests.

pyactlike's People

Contributors

xzackli 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.