candl-like


Namecandl-like JSON
Version 1.5.1 PyPI version JSON
download
home_pageNone
SummaryDifferentiable Likelihood for CMB Analysis
upload_time2024-09-06 13:28:19
maintainerNone
docs_urlNone
authorNone
requires_python>=3.9
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            .. image:: https://github.com/Lbalkenhol/candl/raw/main/docs/logos/candl_wordmark&symbol_col_RGB.png
    :width: 800

.. |docsshield| image:: https://img.shields.io/readthedocs/candl
   :target: http://candl.readthedocs.io

.. |arxivshield| image:: https://img.shields.io/badge/arXiv-2401.13433-b31b1b.svg
   :target: https://arxiv.org/abs/2401.13433

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 (:math:`TT`, :math:`TE`, :math:`EE`, :math:`BB`, :math:`\phi\phi`, :math:`\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:

* SPT-3G 2018 TT/TE/EE (`Balkenhol et al. 2023 <https://arxiv.org/abs/2212.05642>`__)
* SPT-3G 2018 Lensing (`Pan et al. 2023 <https://arxiv.org/abs/2308.11608>`__)
* ACT DR4 TT/TE/EE (`Aiola et al. 2020 <https://arxiv.org/abs/2007.07288>`__, `Choi et al. 2020 <https://arxiv.org/abs/2007.07289>`__)
* ACT DR6 Lensing (`Madhavacheril et al. 2023 <https://arxiv.org/abs/2304.05203>`__, `Qu et al. 2023 <https://arxiv.org/abs/2304.05202>`__)

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 <https://candl.readthedocs.io/en/latest/data/data_overview.html>`__.

JAX
---

`JAX <https://github.com/google/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.

Packages and Versions
---------------------------

candl has been built on python 3.10.
You may be able to get it running on 3.9, but this is not officially supported - run it at your own risk.

candl has been tested on JAX versions 0.4.31 and 0.4.24.

Documentation
--------------

You can find the documentation `here <http://candl.readthedocs.io>`_.

Citing candl
--------------

If you use candl please cite the `release paper <https://arxiv.org/abs/2401.13433>`_. Be sure to also cite the relevant papers for any samplers, theory codes, and data sets you use.

===================

.. |cnrs| image:: https://github.com/Lbalkenhol/candl/raw/main/logos/cnrs_logo.jpeg
   :alt: CNRS
   :height: 100px
   :width: 100px

.. |erc| image:: https://github.com/Lbalkenhol/candl/raw/main/logos/erc_logo.jpeg
   :alt: ERC
   :height: 100px
   :width: 100px

.. |NEUCosmoS| image:: https://github.com/Lbalkenhol/candl/raw/main/logos/neucosmos_logo.png
   :alt: NEUCosmoS
   :height: 100px
   :width: 159px

.. |IAP| image:: https://github.com/Lbalkenhol/candl/raw/main/logos/IAP_logo.jpeg
   :alt: IAP
   :height: 100px
   :width: 104px

.. |Sorbonne| image:: https://github.com/Lbalkenhol/candl/raw/main/logos/sorbonne_logo.jpeg
   :alt: Sorbonne
   :height: 100px
   :width: 248px

|cnrs| |erc| |NEUCosmoS| |IAP| |Sorbonne|


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "candl-like",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": null,
    "author": null,
    "author_email": "\"L. Balkenhol\" <lennart.balkenhol@iap.fr>, \"C. Trendafilova\" <ctrendaf@illinois.edu>, \"K. Benabed\" <benabed@iap.fr>, \"S. Galli\" <gallis@iap.fr>",
    "download_url": "https://files.pythonhosted.org/packages/24/6c/110e311afab7071d3488b42e0c1f60ea10c6ab7304283dce435bd44ca48b/candl_like-1.5.1.tar.gz",
    "platform": null,
    "description": ".. image:: https://github.com/Lbalkenhol/candl/raw/main/docs/logos/candl_wordmark&symbol_col_RGB.png\n    :width: 800\n\n.. |docsshield| image:: https://img.shields.io/readthedocs/candl\n   :target: http://candl.readthedocs.io\n\n.. |arxivshield| image:: https://img.shields.io/badge/arXiv-2401.13433-b31b1b.svg\n   :target: https://arxiv.org/abs/2401.13433\n\nCMB Analysis With A Differentiable Likelihood\n===============================================================\n\n:Authors: L\\. Balkenhol, C\\. Trendafilova, K\\. Benabed, S\\. Galli\n\n:Paper: |arxivshield|\n\n:Source: `<https://github.com/Lbalkenhol/candl>`__\n\n:Documentation: |docsshield|\n\ncandl is a differentiable likelihood framework for analysing CMB power spectrum measurements.\nKey features are:\n\n* JAX-compatibility, allowing for fast and easy computation of gradients and Hessians of the likelihoods.\n* The latest public data releases from the South Pole Telescope and Atacama Cosmology Telescope collaborations.\n* Interface tools for work with other popular cosmology software packages (e.g. Cobaya and MontePython).\n* Auxiliary tools for common analysis tasks (e.g. generation of mock data).\n\ncandl supports the analysis of primary CMB and lensing power spectrum data (:math:`TT`, :math:`TE`, :math:`EE`, :math:`BB`, :math:`\\phi\\phi`, :math:`\\kappa\\kappa`).\n\nInstallation\n------------\n\ncandl can be installed with pip::\n\n    pip install candl-like\n\nAfter installation, we recommend testing by executing the following python code::\n\n    import candl.tests\n    candl.tests.run_all_tests()\n\nThis well test all data sets included in candl.\n\nData Sets\n------------\n\nThe pip installation of candl currently ships with the following data sets:\n\n* SPT-3G 2018 TT/TE/EE (`Balkenhol et al. 2023 <https://arxiv.org/abs/2212.05642>`__)\n* SPT-3G 2018 Lensing (`Pan et al. 2023 <https://arxiv.org/abs/2308.11608>`__)\n* ACT DR4 TT/TE/EE (`Aiola et al. 2020 <https://arxiv.org/abs/2007.07288>`__, `Choi et al. 2020 <https://arxiv.org/abs/2007.07289>`__)\n* ACT DR6 Lensing (`Madhavacheril et al. 2023 <https://arxiv.org/abs/2304.05203>`__, `Qu et al. 2023 <https://arxiv.org/abs/2304.05202>`__)\n\nDetailed 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 <https://candl.readthedocs.io/en/latest/data/data_overview.html>`__.\n\nJAX\n---\n\n`JAX <https://github.com/google/jax>`__ is a Google-developed python library.\nIn its own words: *\"JAX is Autograd and XLA, brought together for high-performance numerical computing.\"*\n\ncandl is written in a JAX-friendly way.\nThat means JAX is optional and you can install and run candl without JAX and perform traditional inference tasks such as MCMC sampling with Cobaya.\nHowever, if JAX is installed, the likelihood is fully differentiable thanks to automatic differentiation and many functions are jitted for speed.\n\nPackages and Versions\n---------------------------\n\ncandl has been built on python 3.10.\nYou may be able to get it running on 3.9, but this is not officially supported - run it at your own risk.\n\ncandl has been tested on JAX versions 0.4.31 and 0.4.24.\n\nDocumentation\n--------------\n\nYou can find the documentation `here <http://candl.readthedocs.io>`_.\n\nCiting candl\n--------------\n\nIf you use candl please cite the `release paper <https://arxiv.org/abs/2401.13433>`_. Be sure to also cite the relevant papers for any samplers, theory codes, and data sets you use.\n\n===================\n\n.. |cnrs| image:: https://github.com/Lbalkenhol/candl/raw/main/logos/cnrs_logo.jpeg\n   :alt: CNRS\n   :height: 100px\n   :width: 100px\n\n.. |erc| image:: https://github.com/Lbalkenhol/candl/raw/main/logos/erc_logo.jpeg\n   :alt: ERC\n   :height: 100px\n   :width: 100px\n\n.. |NEUCosmoS| image:: https://github.com/Lbalkenhol/candl/raw/main/logos/neucosmos_logo.png\n   :alt: NEUCosmoS\n   :height: 100px\n   :width: 159px\n\n.. |IAP| image:: https://github.com/Lbalkenhol/candl/raw/main/logos/IAP_logo.jpeg\n   :alt: IAP\n   :height: 100px\n   :width: 104px\n\n.. |Sorbonne| image:: https://github.com/Lbalkenhol/candl/raw/main/logos/sorbonne_logo.jpeg\n   :alt: Sorbonne\n   :height: 100px\n   :width: 248px\n\n|cnrs| |erc| |NEUCosmoS| |IAP| |Sorbonne|\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Differentiable Likelihood for CMB Analysis",
    "version": "1.5.1",
    "project_urls": {
        "Source": "https://github.com/Lbalkenhol/candl"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f118b8e1bc96543a35d92abc8651b51998dedb507a7d595aa8d160f9cb89faa3",
                "md5": "278dc8c1108aa20ce6cae9c2d12e9cf6",
                "sha256": "433ff35d1478b6ef0bcdd7737667a3b283ba0bbee0819bbe7d1543d8284226be"
            },
            "downloads": -1,
            "filename": "candl_like-1.5.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "278dc8c1108aa20ce6cae9c2d12e9cf6",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 24886011,
            "upload_time": "2024-09-06T13:28:15",
            "upload_time_iso_8601": "2024-09-06T13:28:15.770763Z",
            "url": "https://files.pythonhosted.org/packages/f1/18/b8e1bc96543a35d92abc8651b51998dedb507a7d595aa8d160f9cb89faa3/candl_like-1.5.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "246c110e311afab7071d3488b42e0c1f60ea10c6ab7304283dce435bd44ca48b",
                "md5": "f23fa9932799d9ea4660c8b811947c19",
                "sha256": "7472078b73a5016c72e5e6f58c36ce6a3274aa28b14ce99d604471cb55151603"
            },
            "downloads": -1,
            "filename": "candl_like-1.5.1.tar.gz",
            "has_sig": false,
            "md5_digest": "f23fa9932799d9ea4660c8b811947c19",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 24373940,
            "upload_time": "2024-09-06T13:28:19",
            "upload_time_iso_8601": "2024-09-06T13:28:19.709268Z",
            "url": "https://files.pythonhosted.org/packages/24/6c/110e311afab7071d3488b42e0c1f60ea10c6ab7304283dce435bd44ca48b/candl_like-1.5.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-06 13:28:19",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Lbalkenhol",
    "github_project": "candl",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "candl-like"
}
        
Elapsed time: 0.36006s