Python power spectrum code
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.
- Free software: BSD license
- pspy documentation: https://pspy.readthedocs.io.
- Scientific documentation: https://pspy.readthedocs.io/en/latest/scientific_doc.pdf
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.
- Reading, writing and plotting SO maps
- Generate spin0 and spin2 spectra for CAR
- Generate spin0 and spin2 spectra for HEALPIX
- Projecting HEALPIX to CAR
- Compute spectra for standard and pure B modes
Others tutorials can be found under the tutorials directory.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|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|