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.

https://img.shields.io/pypi/v/pspy.svg?style=flat https://img.shields.io/badge/license-BSD-yellow https://travis-ci.com/simonsobs/pspy.svg?branch=master https://readthedocs.org/projects/pspy/badge/?version=latest https://mybinder.org/badge_logo.svg

Installing

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 https://github.com/simonsobs/pspy.git /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.

Ipython notebooks

Others tutorials can be found under the tutorials directory.

Dependencies

Authors

  • Thibaut Louis

  • Steve Choi

  • DW Han

  • Xavier Garrido

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.3.1.tar.gz (73.6 kB 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