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

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pspy-1.8.3-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

pspy-1.8.3-cp313-cp313-macosx_15_0_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.13macOS 15.0+ x86-64

pspy-1.8.3-cp313-cp313-macosx_15_0_arm64.whl (3.1 MB view details)

Uploaded CPython 3.13macOS 15.0+ ARM64

pspy-1.8.3-cp313-cp313-macosx_14_0_arm64.whl (3.1 MB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

pspy-1.8.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

pspy-1.8.3-cp312-cp312-macosx_15_0_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.12macOS 15.0+ x86-64

pspy-1.8.3-cp312-cp312-macosx_15_0_arm64.whl (3.1 MB view details)

Uploaded CPython 3.12macOS 15.0+ ARM64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

pspy-1.8.3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

pspy-1.8.3-cp311-cp311-macosx_15_0_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.11macOS 15.0+ x86-64

pspy-1.8.3-cp311-cp311-macosx_15_0_arm64.whl (3.1 MB view details)

Uploaded CPython 3.11macOS 15.0+ ARM64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

pspy-1.8.3-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

pspy-1.8.3-cp310-cp310-macosx_15_0_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.10macOS 15.0+ x86-64

pspy-1.8.3-cp310-cp310-macosx_15_0_arm64.whl (3.1 MB view details)

Uploaded CPython 3.10macOS 15.0+ ARM64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

pspy-1.8.3-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

pspy-1.8.3-cp39-cp39-macosx_15_0_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.9macOS 15.0+ x86-64

pspy-1.8.3-cp39-cp39-macosx_15_0_arm64.whl (3.1 MB view details)

Uploaded CPython 3.9macOS 15.0+ ARM64

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

Uploaded CPython 3.9macOS 14.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for pspy-1.8.3.tar.gz
Algorithm Hash digest
SHA256 c74737155fe5a5ae2823e2b38e8e30d8e235f9664d0a312eac22ce2325103b9d
MD5 4a9dfaf354f638ce959d666767b3971d
BLAKE2b-256 ccb43ad6f9f26c3dd110bcd551f873fdcfa4a10190be633572055b24b057fd66

See more details on using hashes here.

File details

Details for the file pspy-1.8.3-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pspy-1.8.3-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 301a7788903bd2ca060e5acb4755bd03e633ed1f22cc112cf50581256727c88e
MD5 42c1e9f1c8d1aaff82a2c22758af306a
BLAKE2b-256 19f17ec0017d1d35c1f6c020845fc892c202143214e3b5df165abbc8afc98652

See more details on using hashes here.

File details

Details for the file pspy-1.8.3-cp313-cp313-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for pspy-1.8.3-cp313-cp313-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 2644f1407a93777cacd3c58e068a022386ce696352bffa3e83e8379dc375d717
MD5 cc4525f6a52ba2829ab7bfa49345f71e
BLAKE2b-256 b40f92866d5f193d97a0fc385cb8fc2af0d561d4a6652a9e0f6bc12558d196c9

See more details on using hashes here.

File details

Details for the file pspy-1.8.3-cp313-cp313-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for pspy-1.8.3-cp313-cp313-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 1e683991125c05232b59305122fff95ad607fd747d0a4b0767b2d496ab4527e7
MD5 a485814b369d1d5051cef2d722909fe5
BLAKE2b-256 310a82a72e3d13c688a5e1c6468f1bf2ed1d3738927c236432bfdfacfd5f0beb

See more details on using hashes here.

File details

Details for the file pspy-1.8.3-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pspy-1.8.3-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 5c0c3c798ca0fe1eea668265546c98b9aa1b761dac05ebfbf8e267fcd0392948
MD5 4c944a94835809bc8700ec83e9797af8
BLAKE2b-256 1e33626b9461287047e1e3f4b466faa0d73ca9c279e14355a18ddd8fd14d81c7

See more details on using hashes here.

File details

Details for the file pspy-1.8.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pspy-1.8.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e310bb91922fdc6485d934002a3eabc4bdaa5b5e9a63aaa1bea4121c2a316ce9
MD5 c405b89f0bf3f80b480fb40fbdb97f2d
BLAKE2b-256 93bf4cff575453352cbafe887ade099e325e7e8942d7673bdab0a69887a8bfc5

See more details on using hashes here.

File details

Details for the file pspy-1.8.3-cp312-cp312-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for pspy-1.8.3-cp312-cp312-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 1427cf077f15edd420042d0bd0733fe579219c9d65ebe69900c3b77911165e72
MD5 d8a9c08d0fd6651344dfb93b34f7c60f
BLAKE2b-256 b5e5eac7ee5628b93f1bd11ae0f022ab295bfd0c5a8697d7b07c7288e8942def

See more details on using hashes here.

File details

Details for the file pspy-1.8.3-cp312-cp312-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for pspy-1.8.3-cp312-cp312-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 04f073173e8f888ad289a21c7683d6d9b4b5622875c0e1280f9246cb653fbd86
MD5 0b887f08e76a4f60f34aa9c8f136da5d
BLAKE2b-256 2fe71a2e0b44730ab4d32700bef023308f4a6e96857dff502dc9e210d86aba9e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pspy-1.8.3-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f759cbadc10b08ab7a9191856d539721c9ecf075529b63fde168ad19575fb377
MD5 7f246d70db3fccc1a7b8abfff1e45a35
BLAKE2b-256 0d4a03d3ee58742965bf20c249134dc5f79b9493f8c7f9110f77f4852ec5a61e

See more details on using hashes here.

File details

Details for the file pspy-1.8.3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pspy-1.8.3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b68d5314e9dc6822cae666be6056fcdec420c94ddf685e6be16feaa7dee70ae4
MD5 bd8047e8513d396fff22a41d9042689f
BLAKE2b-256 78b22f3d706e7c1261fb525bd172a40d9a49afe8f5b24f39a555a218894bea2d

See more details on using hashes here.

File details

Details for the file pspy-1.8.3-cp311-cp311-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for pspy-1.8.3-cp311-cp311-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 9d6d93a08d0a5bdb2bc85426c8d66772a7e1d36492f503041506cace91fbb346
MD5 4f36be99fa71553dc973295203560512
BLAKE2b-256 b2eb21993f4b778827e190681a13f559d801c5a8f42d9fd8351d2ead6acf2f89

See more details on using hashes here.

File details

Details for the file pspy-1.8.3-cp311-cp311-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for pspy-1.8.3-cp311-cp311-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 af8d787634179c2cf5a0f525e0fa8cf3182bad67d97203397bbf193d344427aa
MD5 257dc404bfa67294656c85c2a8cd361e
BLAKE2b-256 74c3eb1dbcbbe1b706bb6ec93d74aac0a7a7dfaf2e5062a2c63e36b5285b3e97

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pspy-1.8.3-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 1fea88a271ca821ee45313c106684e98b4523f3d87ab669aa045a94487cd0333
MD5 4128ddfd17a1034924c316ee4620e5c5
BLAKE2b-256 dc3136f830ef8b3c008d8649a1328133981b10f26d0d43d5477fcaa1fee43be6

See more details on using hashes here.

File details

Details for the file pspy-1.8.3-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pspy-1.8.3-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5523d41a8f182f10792488800b0a2bad810ab805713e865bdb74cf3ea2110f1b
MD5 8f374ac62d01ab9bc6f0534b7f5178a7
BLAKE2b-256 920fbd4e0d87b92905c0320c43adf38567a0ac306d2008490e1dd3b4c4406fa3

See more details on using hashes here.

File details

Details for the file pspy-1.8.3-cp310-cp310-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for pspy-1.8.3-cp310-cp310-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 626e3fab96e17455a3fefa8c05cc81bf4773d9b5dd48eb53f9c8ab891118a8b6
MD5 689e43cc5de3a0aa7d6f27bc8939aaf5
BLAKE2b-256 1906f4282bce9918f2e67a900652bb56ae8a1d0b1b2bfb4f72d0f87cc4419035

See more details on using hashes here.

File details

Details for the file pspy-1.8.3-cp310-cp310-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for pspy-1.8.3-cp310-cp310-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 34efc9b8c6e868f07d730a0e28e2f53d69fe4b2beebafdb4e1be220450f64c82
MD5 ecb4131e330e9b579b47b17b86ba295b
BLAKE2b-256 fb9888827cd027fe8f163bc0bc13b565e8f7e6617cf7596d480311911cd70f09

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pspy-1.8.3-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 fec26f324d7e4cc590d61f3bafc74bbc7bd7df4f974fb4f9578bf82c1a881a55
MD5 937a127606a0986df4e19bbd07a9a4ac
BLAKE2b-256 d68325362b27ec68c4e9846885c82bf9205787e9cd508a8d73f7114249aa3e5d

See more details on using hashes here.

File details

Details for the file pspy-1.8.3-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pspy-1.8.3-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 66b188a1f7a9da6c9e16cedfab1a0cc102630b785bfe5780e4450e575b00dcc1
MD5 cfee4da9167d84027b3c8a4acec8f395
BLAKE2b-256 983aa2aa6c77557b131292e6f7680e53da74e3172d5e41cfec92acdcdd72203b

See more details on using hashes here.

File details

Details for the file pspy-1.8.3-cp39-cp39-macosx_15_0_x86_64.whl.

File metadata

  • Download URL: pspy-1.8.3-cp39-cp39-macosx_15_0_x86_64.whl
  • Upload date:
  • Size: 3.7 MB
  • Tags: CPython 3.9, macOS 15.0+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pspy-1.8.3-cp39-cp39-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 7fa15d8992666e385404d43ee1a3d7da1cdcd0194dfeda9dedd2c0af817b9295
MD5 cb02e316038e1dbbf3317917778e8274
BLAKE2b-256 50ebdd5b158692ab0efe2e339f614893674d8495e0ba0e5a3e8557786f6ca934

See more details on using hashes here.

File details

Details for the file pspy-1.8.3-cp39-cp39-macosx_15_0_arm64.whl.

File metadata

  • Download URL: pspy-1.8.3-cp39-cp39-macosx_15_0_arm64.whl
  • Upload date:
  • Size: 3.1 MB
  • Tags: CPython 3.9, macOS 15.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pspy-1.8.3-cp39-cp39-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 b81035d9bc5e2824d3673c56aea6401ed3373d9e96855f488769cfb2a5bebef7
MD5 600dbbd826acf599f8879c98ce2c57ba
BLAKE2b-256 af2b6ff567ab487cc88edc4f12b2f2d24c7b950a563032dbcda4ac53efecf6b4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pspy-1.8.3-cp39-cp39-macosx_14_0_arm64.whl
  • Upload date:
  • Size: 3.1 MB
  • Tags: CPython 3.9, macOS 14.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pspy-1.8.3-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b81a74022e1e5fdae12598832fd05d44dbc2535bc2b84390ad1ced3feaa64513
MD5 a66851d0e8989e3ab6e131c3a6bb411f
BLAKE2b-256 09dca1be9226b870aae7df7118f2e3f02f868f1a99aaad8c1ae0ea18edf63ed8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page