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.


To install, you will need to have or to install numpy. Then, run

$ pip install pspy [--user]

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.

Instructions for installing pspy at NERSC are available at INSTALL_NERSC.

Instructions for installing pspy on MAC OS are available at INSTALL_MACOS.



  • Thibaut Louis
  • Steve Choi
  • DW Han
  • Xavier Garrido
  • Sigurd Naess

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.

Files for pspy, version 1.3.2
Filename, size File type Python version Upload date Hashes
Filename, size pspy-1.3.2.tar.gz (72.9 kB) 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