Skip to main content

Code for Anisotropies in the Microwave Background

Project description


Code for Anisotropies in the Microwave Background


Antony Lewis and Anthony Challinor



CAMB is a cosmology code for calculating CMB and matter power spectra, as well as general utility function for cosmological calculations. The main code is written in Fortran, which this Python package encapulates for convenient python programming and plotting.

For an introduction to CAMB see the main home page , and 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

You will need gfortran 4.9 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.

Project details

Download files

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

Source Distribution

camb- (1.9 MB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page