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://img.shields.io/github/actions/workflow/status/simonsobs/pspy/testing.yml?branch=master https://readthedocs.org/projects/pspy/badge/?version=latest https://codecov.io/gh/simonsobs/pspy/branch/master/graph/badge.svg?token=HHAJ7NQ5CE https://mybinder.org/badge_logo.svg

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

Once downloaded, you can install using pip install . inside the project directory. We use the meson build system, which should be understood by pip (it will build in an isolated environment).

To run an editable install, you will need to do so in a way that does not have build isolation (as the backend build system, meson and ninja, actually perform micro-builds on usage in this case):

Then you can install the pspy library and its dependencies via

pip install --upgrade pip setuptools meson ninja meson-python numpy
pip install --no-build-isolation --editable /where/to/clone

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

Tutorials notebooks

Others tutorials can be found under the tutorials directory.

Dependencies

Authors

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.8.0.tar.gz (8.6 MB view details)

Uploaded Source

Built Distributions

pspy-1.8.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.2 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

pspy-1.8.0-cp312-cp312-macosx_14_0_arm64.whl (3.1 MB view details)

Uploaded CPython 3.12 macOS 14.0+ ARM64

pspy-1.8.0-cp312-cp312-macosx_13_0_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.12 macOS 13.0+ x86-64

pspy-1.8.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.2 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

pspy-1.8.0-cp311-cp311-macosx_14_0_arm64.whl (3.1 MB view details)

Uploaded CPython 3.11 macOS 14.0+ ARM64

pspy-1.8.0-cp311-cp311-macosx_13_0_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.11 macOS 13.0+ x86-64

pspy-1.8.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.2 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

pspy-1.8.0-cp310-cp310-macosx_14_0_arm64.whl (3.1 MB view details)

Uploaded CPython 3.10 macOS 14.0+ ARM64

pspy-1.8.0-cp310-cp310-macosx_13_0_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.10 macOS 13.0+ x86-64

pspy-1.8.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.2 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

pspy-1.8.0-cp39-cp39-macosx_14_0_arm64.whl (3.1 MB view details)

Uploaded CPython 3.9 macOS 14.0+ ARM64

pspy-1.8.0-cp39-cp39-macosx_13_0_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.9 macOS 13.0+ x86-64

File details

Details for the file pspy-1.8.0.tar.gz.

File metadata

  • Download URL: pspy-1.8.0.tar.gz
  • Upload date:
  • Size: 8.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for pspy-1.8.0.tar.gz
Algorithm Hash digest
SHA256 ca6d35c8781000c6d6bdc5e912ef7413657eb8d5d4962c5a164c4d38b496a7e4
MD5 11dd9d932874855f26accc45bc04b351
BLAKE2b-256 801bb6dbc24cd9e1b27368e3c3787d80fe5f706cd80a4ac70a77c62a38c16cd7

See more details on using hashes here.

File details

Details for the file pspy-1.8.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pspy-1.8.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ac3f1e90c1bed42fd103a3de59864bc0d7bd0685fae7c0a4c3d28944e6d648af
MD5 38edf5f91cc7435cca0583d410791589
BLAKE2b-256 95e6abd02050ca7cba453937848c992964430d03a264cb041025701b7f935b63

See more details on using hashes here.

File details

Details for the file pspy-1.8.0-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pspy-1.8.0-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 915f45fccb28ef913402b58585ca63e8e58aff006ad5c35e77d8891a456b41a6
MD5 510a69623671ad5f92a999d7a4618c4b
BLAKE2b-256 0fde0d575d323ec72e7a18d73b401458a4d0cd36e0d97dec74aca87758c2e8c7

See more details on using hashes here.

File details

Details for the file pspy-1.8.0-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for pspy-1.8.0-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1c3b21507a23d25d733332b8e68991cd1c41f255db3b6cbf515b5189cd66caf8
MD5 9f9fb78e24ec7c7e10695603fcc7d50b
BLAKE2b-256 e1502851299e386af6e30fda60bfe64ffd9fcfa16e0fa6ff7b3d88e38722a9d3

See more details on using hashes here.

File details

Details for the file pspy-1.8.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pspy-1.8.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 285c836ace3099ac4d96280a7338c617d4c58ff7cadf3d8d11a55847f751f93e
MD5 8d4ab707599505cb7aa6ed933ac883f6
BLAKE2b-256 4d4cfcc49e89d490fdbe87d68ef30addf49d2e8cbc71048cb5173dfd542a712a

See more details on using hashes here.

File details

Details for the file pspy-1.8.0-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pspy-1.8.0-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 6022d39663c3decb94b3d44d50c85501bbbaa38786c51eed310393a395d5593f
MD5 6d890749e423ebd4d87fb89126ef05a5
BLAKE2b-256 b1ee3ad56defc579bc1b5ba5eba211edf39df2629bdfccff262a978bd69b8137

See more details on using hashes here.

File details

Details for the file pspy-1.8.0-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for pspy-1.8.0-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 462136b400ab918dff353ad3d2992e1070afa5cc8c1648b95cc02e1b48181da3
MD5 1d43ea3cc5ee68f0794d2f3036e01540
BLAKE2b-256 30f6cd3df2da37a92e9478eae492bf533cd5d1bdfec928e4e4572d5cfcee6ee3

See more details on using hashes here.

File details

Details for the file pspy-1.8.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pspy-1.8.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5f258c3c80c5a65cfea17edc77ca996c47a01f569850636e05c374b28f607d3a
MD5 e52f061ccac2b73882419374436f8ec0
BLAKE2b-256 9b0bd4b8bc2a62bf67050146ed1374d5b69f9b70523a0717c47a3b346ba82bed

See more details on using hashes here.

File details

Details for the file pspy-1.8.0-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pspy-1.8.0-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 641a005adc027eee07e608e06f9c27eb619a69457f655d6b1a0d6284ce496189
MD5 9cc62f88eac21060eaa9b267ee4053c8
BLAKE2b-256 a44bfed4bd176f71ccf5f425f8a3ec6df1bbfbc0e8ec1cca9af8e1e32f63cef2

See more details on using hashes here.

File details

Details for the file pspy-1.8.0-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for pspy-1.8.0-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 603da1dea20d7eafdee5415ae155e426339cdb4f953d7b5200f65aeb99e975aa
MD5 63965c060c05f73dddaff394fc8dcecb
BLAKE2b-256 5b1c1fb8cfda6c8f2a111fa3fdf076039dd514beea440b3337f29b4555a25ea0

See more details on using hashes here.

File details

Details for the file pspy-1.8.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pspy-1.8.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9451f05d8906abd6a9145d14b67579774cd87074ce8f159b8727ab87600c065b
MD5 226ad16511393482fb53188f1d1086ef
BLAKE2b-256 cb28658bb077599394bae9cbcca16654abcf3c10671d56d44d4fe18bb3553b9e

See more details on using hashes here.

File details

Details for the file pspy-1.8.0-cp39-cp39-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pspy-1.8.0-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 80700d78f24af7b49d6a5a2c181b6a445eb5425eb6c7f7c6dd537ab7d7b5ca89
MD5 9b2499ed965032859ae0e4b708ff7e7f
BLAKE2b-256 909d754f189a579a957fc7141f4de7c336c96c1178edc4b94cd02dd2d72cf92d

See more details on using hashes here.

File details

Details for the file pspy-1.8.0-cp39-cp39-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for pspy-1.8.0-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 181e7a48e55abf9ef1b24ae67674563c1b38a6c9388f33450388aea9dfb04c72
MD5 d6f0e2a5cbaf16b08f5adcf16ef2be85
BLAKE2b-256 5f41a5c99f87ab91a6635bd7d69df814582e59bf85781ab5424d41ecd9e09f4e

See more details on using hashes here.

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