{"id":18627889,"url":"https://github.com/cmbant/camb","last_synced_at":"2026-03-12T17:01:25.073Z","repository":{"id":33892356,"uuid":"37605495","full_name":"cmbant/CAMB","owner":"cmbant","description":"Code for Anisotropies in the Microwave Background","archived":false,"fork":false,"pushed_at":"2024-12-09T11:37:54.000Z","size":116942,"stargazers_count":206,"open_issues_count":5,"forks_count":156,"subscribers_count":21,"default_branch":"master","last_synced_at":"2025-01-27T08:34:43.000Z","etag":null,"topics":["21cm-signal","cosmic-microwave-background","cosmology","gravitational-lensing","large-scale-structure","python-package"],"latest_commit_sha":null,"homepage":"https://camb.info/","language":"Fortran","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cmbant.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-06-17T16:02:54.000Z","updated_at":"2025-01-20T18:28:21.000Z","dependencies_parsed_at":"2023-09-27T17:52:04.838Z","dependency_job_id":"0a2acc11-3356-46c7-9ab8-efc92a84f261","html_url":"https://github.com/cmbant/CAMB","commit_stats":{"total_commits":1099,"total_committers":30,"mean_commits":36.63333333333333,"dds":"0.23202911737943588","last_synced_commit":"62f4b8e6c37d293df01007be9b992e932ee8cdda"},"previous_names":[],"tags_count":67,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmbant%2FCAMB","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmbant%2FCAMB/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmbant%2FCAMB/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmbant%2FCAMB/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cmbant","download_url":"https://codeload.github.com/cmbant/CAMB/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239425324,"owners_count":19636346,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["21cm-signal","cosmic-microwave-background","cosmology","gravitational-lensing","large-scale-structure","python-package"],"created_at":"2024-11-07T04:44:28.403Z","updated_at":"2026-03-12T17:01:25.065Z","avatar_url":"https://github.com/cmbant.png","language":"Fortran","funding_links":[],"categories":[],"sub_categories":[],"readme":"===================\nCAMB\n===================\n:CAMB: Code for Anisotropies in the Microwave Background\n:Author: Antony Lewis and Anthony Challinor\n:Homepage: https://camb.info/\n\n.. image:: https://img.shields.io/pypi/v/camb.svg?style=flat\n   :target: https://pypi.python.org/pypi/camb/\n.. image:: https://img.shields.io/conda/vn/conda-forge/camb.svg\n   :target: https://anaconda.org/conda-forge/camb\n.. image:: https://readthedocs.org/projects/camb/badge/?version=latest\n   :target: https://camb.readthedocs.io/en/latest\n.. image:: https://github.com/cmbant/camb/actions/workflows/tests.yml/badge.svg?branch=master\n  :target: https://github.com/cmbant/CAMB/actions\n.. image:: https://mybinder.org/badge_logo.svg\n  :target: https://mybinder.org/v2/gh/cmbant/CAMB/HEAD?filepath=docs%2FCAMBdemo.ipynb\n\nDescription and installation\n=============================\n\nCAMB is a cosmology code for calculating cosmological observables, including\nCMB, lensing, source count and 21cm angular power spectra, matter power spectra, transfer functions\nand background evolution. The code is in Python, with numerical code implemented in fast modern Fortran.\n\nSee the `CAMB python example notebook \u003chttps://camb.readthedocs.io/en/latest/CAMBdemo.html\u003e`_ for a\nquick introduction to how to use the CAMB Python package.\n\nFor a standard non-editable installation use::\n\n    pip install camb [--user]\n\nThe --user is optional and only required if you don't have write permission to your main python installation.\nTo install from source, clone from github using::\n\n    git clone --recursive https://github.com/cmbant/CAMB\n\nThen install using::\n\n    pip install -e ./CAMB [--user]\n\nFor development, install with dev dependencies and setup pre-commit hooks::\n\n    pip install -e ./CAMB[dev] [--user]\n    pre-commit install\n\nSee `CONTRIBUTING.md \u003cCONTRIBUTING.md\u003e`_ for full development setup instructions.\n\nYou will need gfortran installed to compile (usually included with gcc by default).\nIf you have gfortran installed, \"python setup.py make\" (and other standard setup commands) will build the Fortran\nlibrary on all systems (including Windows without directly using a Makefile).\n\nThe python wrapper provides a module called \"camb\" documented in the Python `CAMB documentation \u003chttps://camb.readthedocs.io/en/latest/\u003e`_.\n\nAfter installation you can also run CAMB from the command line reading parameters from a .ini file, e.g.::\n\n  camb inifiles/planck_2018.ini\n\nTo compile the Fortran command-line code run \"make camb\" in the fortran directory. For full details\nsee the  `ReadMe \u003chttps://camb.info/readme.html\u003e`_.\n\nBranches\n=============================\n\nThe master branch contains latest changes to the main release version.\n\nThere is a test suite, which runs automatically on GitHub actions for new commits and pull requests.\nReference results and test outputs are stored in the `test outputs repository \u003chttps://github.com/cmbant/CAMB_test_outputs/\u003e`_. Tests can also be run locally.\n\nTo reproduce legacy results, see these branches:\n\n - *CAMB_sources* is the old public `CAMB Sources \u003chttps://camb.info/sources/\u003e`_ code.\n - *CAMB_v0* is the old Fortran-oriented (gfortran 4.8-compatible) version as used by the Planck 2018 analysis.\n - *rayleigh* includes frequency-dependent Rayleigh scattering\n - *python2* is the last Python 2 compatible version\n\n===================\n\n.. raw:: html\n\n    \u003ca href=\"https://www.sussex.ac.uk/astronomy/\"\u003e\u003cimg src=\"https://cdn.cosmologist.info/antony/Sussex_white.svg\" style=\"height:200px\" height=\"200px\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://erc.europa.eu/\"\u003e\u003cimg src=\"https://cdn.cosmologist.info/antony/ERC_white.svg\" style=\"height:200px\" height=\"200px\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://stfc.ukri.org/\"\u003e\u003cimg src=\"https://cdn.cosmologist.info/antony/STFC_white.svg\" style=\"height:200px\" height=\"200px\"\u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmbant%2Fcamb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcmbant%2Fcamb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmbant%2Fcamb/lists"}