Skip to main content

Code for Anisotropies in the Microwave Background

Project description

CAMB:Code for Anisotropies in the Microwave Background
Author: Antony Lewis and Anthony Challinor


CAMB is a cosmology code for calculating cosmological observables, including CMB, lensing, source count and 21cm angular power spectra, matter power spectra, transfer functions and background evolution. The code is in Python, with numerical code implemented in fast modern Fortran.

See the CAMB python example notebook for a quick introduction to how to use the CAMB Python package.

To install the CAMB python package on your computer run:

pip install camb [--user]

The –user is optional and only required if you don’t have write permission to your main python installation. You will need gfortran 6 or higher installed to compile. Binary files for Windows are also provided, so these are used instead if no gfortran installation is found on Windows machines.

The python wrapper provides a module called “camb” documented in the Python CAMB documentation.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for camb, version 1.3.0
Filename, size File type Python version Upload date Hashes
Filename, size camb-1.3.0.tar.gz (1.6 MB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page