pspy
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
Installing
$ 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 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.
Ipython notebooks
- 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.
Dependencies
- Python >= 3.8
pyFFTW
https://pyfftw.readthedocs.iohealpy
https://healpy.readthedocs.iopixell
>= 0.7.0 https://pixell.readthedocs.io
Authors
- Thibaut Louis
- Steve Choi
- DW Han
- Xavier Garrido
- Sigurd Naess
- Adrien La Posta
The code is part of PSpipe the Simons Observatory power spectrum pipeline.