Git Product home page Git Product logo

candl's Introduction

https://github.com/Lbalkenhol/candl/raw/main/docs/logos/candl_wordmark&symbol_col_RGB.png

CMB Analysis With A Differentiable Likelihood

Authors:L. Balkenhol, C. Trendafilova, K. Benabed, S. Galli
Paper:arxivshield
Source:https://github.com/Lbalkenhol/candl
Documentation:docsshield

candl is a differentiable likelihood framework for analysing CMB power spectrum measurements. Key features are:

  • JAX-compatibility, allowing for fast and easy computation of gradients and Hessians of the likelihoods.
  • The latest public data releases from the South Pole Telescope and Atacama Cosmology Telescope collaborations.
  • Interface tools for work with other popular cosmology software packages (e.g. Cobaya and MontePython).
  • Auxiliary tools for common analysis tasks (e.g. generation of mock data).

candl supports the analysis of primary CMB and lensing power spectrum data (TT, TE, EE, BB, \phi\phi, \kappa\kappa).

Installation

candl can be installed with pip:

pip install candl-like

After installation, we recommend testing by executing the following python code:

import candl.tests
candl.tests.run_all_tests()

This well test all data sets included in candl.

Data Sets

The pip installation of candl currently ships with the following data sets:

Detailed information on these data sets, how to install data sets separately from the likelihood code, and instructions on how you can add your own data sets can be found in the docs.

JAX

JAX is a Google-developed python library. In its own words: "JAX is Autograd and XLA, brought together for high-performance numerical computing."

candl is written in a JAX-friendly way. That means JAX is optional and you can install and run candl without JAX and perform traditional inference tasks such as MCMC sampling with Cobaya. However, if JAX is installed, the likelihood is fully differentiable thanks to automatic differentiation and many functions are jitted for speed.

Documentation

You can find the documentation here.

Citing candl

If you use candl please cite the release paper. Be sure to also cite the relevant papers for any samplers, theory codes, and data sets you use.


CNRS ERC NEUCosmoS IAP Sorbonne

candl's People

Contributors

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