Skip to main content

Python power spectrum code

Project description

pspy is a cosmology code for calculating CMB power spectra and covariance matrices. See the python example notebooks for an introductory set of examples on how to use the package.


$ pip install pspy [--user]

You can test your installation by running

$ test-pspy

If everything goes fine, no errors will occur. Otherwise, you can report your problem on the Issues tracker.

If you plan to develop pspy, it is better to checkout the latest version by doing

$ git clone /where/to/clone

Then you can install the pspy library and its dependencies via

$ pip install -e /where/to/clone

The -e option allow the developer to make changes within the pspy directory without having to reinstall at every changes.



The code is part of PSpipe the Simons Observatory power spectrum pipeline.

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

pspy-1.5.9.tar.gz (2.1 MB view hashes)

Uploaded source

Built Distributions

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page