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.2.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.2-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.2-cp313-cp313-macosx_14_0_arm64.whl (3.1 MB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

pspy-1.8.2-cp313-cp313-macosx_13_0_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

pspy-1.8.2-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.2-cp312-cp312-macosx_14_0_arm64.whl (3.1 MB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.12macOS 13.0+ x86-64

pspy-1.8.2-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.2-cp311-cp311-macosx_14_0_arm64.whl (3.1 MB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.11macOS 13.0+ x86-64

pspy-1.8.2-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.2-cp310-cp310-macosx_14_0_arm64.whl (3.1 MB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

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

Uploaded CPython 3.10macOS 13.0+ x86-64

pspy-1.8.2-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.2-cp39-cp39-macosx_14_0_arm64.whl (3.1 MB view details)

Uploaded CPython 3.9macOS 14.0+ ARM64

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

Uploaded CPython 3.9macOS 13.0+ x86-64

File details

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

File metadata

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

File hashes

Hashes for pspy-1.8.2.tar.gz
Algorithm Hash digest
SHA256 95d0ecf4ab6e24ac665ff083865792c63507532bb2b0359333aa03c44d0c8c5f
MD5 c79e1b19a80f2e1659e7ed7a4d257289
BLAKE2b-256 b736b6d8d032d5deafcfc2e93aded1847eaa7115e217e0b04f1ef5a01f2afa61

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pspy-1.8.2-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 13f776c7b65ac3db9ec7e2a45200c732d02bfb1d219ac8b0f9461233248eb578
MD5 894447d85c2e4ffacd3877d11981a5b7
BLAKE2b-256 41fc4e3a918fb098d216dd734c09acf09cf6ad3e3f3ae593fcd5d9be9c3134df

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pspy-1.8.2-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 ec5f6ed658f37c27320878b6c41047dc6b3702d1b4458c39ecae2c9d8aa561e7
MD5 46d3a95f6050d112b291409b5d8a25ea
BLAKE2b-256 a4b1000715f5a994974008d1e4195332d86706f99c1f1e245399996f8c79e333

See more details on using hashes here.

File details

Details for the file pspy-1.8.2-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for pspy-1.8.2-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 640bf28baa27c6707d95ec72a20690bea8c7503607a7bdef86ca76bc1266dc75
MD5 e67c20af8828f52b9604308f07dd04f5
BLAKE2b-256 d2db1a34654224b2ecde93573766a8038d194a35a2b5fddad85f1c5339ebef23

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pspy-1.8.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c9c4866c6152fa0196a2e7410a8581dc14573035aeaa2f7466f0a653c6977394
MD5 a8fb09ce73477933af912c1d9a13b275
BLAKE2b-256 5b0fb8b25d8edacdea8050e2fc9c9283111a52580108c6df0b1eb58713152596

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pspy-1.8.2-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 374c1f4a4fd763f3a696cdbf83d91e278a6deff4e59f5ce1d8467f3c4258727b
MD5 91b15c2f9beab9d0646751c30e5950a4
BLAKE2b-256 a1d56a7aa2fdd44d98d5dad6b0ec00f275cb8e91ac9b30f37e03d74dfbef1e85

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pspy-1.8.2-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c081e1abd202bfaf2602e6f0803673387281ce3bc0d33c3498cfbc75ff4bede8
MD5 e9fa60f4d7ca43ef5f5bc5b64e865432
BLAKE2b-256 d6a6f162cd2dc98d5104349642749e139f5df4391ad7475510376b01af1ce244

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pspy-1.8.2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d056ce089188dbfa3154d055eaa80979fca23a948b4887a6a25078728398dff9
MD5 2fe411a11d86335b4bbfedf9cdfe0bef
BLAKE2b-256 2bc9c2eef033c923f4a0117b00a12b02b1a03be967a09247f2004b69981bb12e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pspy-1.8.2-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 cf6b966f1e112a727e8619e08865fe185779eaa3adeafc324b8b75c9fc9a8540
MD5 d84293326bfc151d5ce97000523382fb
BLAKE2b-256 61a30c1f67ad2970cd234addc3ad1b7fbe57dd32f08cd36d2a5120fad0c6157e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pspy-1.8.2-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ace8eebc2da87d0505806dc80c24d9be6779f24e7d4be157d11032d42def3490
MD5 cb15fda61321bfb4a32b4da96b24fccc
BLAKE2b-256 24bd8720dca5f10143a1651a90a363aa227df5940d2574506299b938ad515556

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pspy-1.8.2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 feda0195700b65a83321da25e6713b3d782413829aa10f1aa066a01b70e1a1af
MD5 362aef064e5e39c786190fb7563f26e5
BLAKE2b-256 b35efd084e194e09cc4b02bfd14b748a68ad0eb112c8342e52e6464cebfec163

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pspy-1.8.2-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 6a5f9eb9b27e3ca8a936e7cffd957c74e10687bc6bf3432ba571c90a5a7a2631
MD5 1db6ed9a47880df310786a9d3d805d46
BLAKE2b-256 52c8794868b39a7b8ac2f580c85630d93d49cae7d9769254f9c6f57aac25a1ce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pspy-1.8.2-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f363549a73c4df39a22686668816c706d527eed7a05147156d0a847736d3cbf5
MD5 250988f1b1b581a4ec9243624e873408
BLAKE2b-256 e92514f9167402ed6c978c0eac188a4fbdcbd16171a2016a6e7217387f9bafac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pspy-1.8.2-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d5c4526867a0231f39c5fd4fa1e8cd71fa32f6a44d35d60db5afc5f166478313
MD5 f804a8b7219e15499178e5ae53ff2d10
BLAKE2b-256 ac5819e2dd708bd773fad5b01086e2caa682e89d33c84bfbda3e20a3f881f97b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pspy-1.8.2-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.12.9

File hashes

Hashes for pspy-1.8.2-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 37c655e6afbf7cdd142067ca67fe05959f5ad6237d6e4c0864bafa2d3c5d5556
MD5 35276bd873a6c0c71f11c898d5d42472
BLAKE2b-256 cb9059dc7c539480ea2828e41b96e10c358cec0bf2b1f7b905e2f9a08288d464

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pspy-1.8.2-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 2ab06ed6cbd9ebeae7e55f4cf8c1a91a455e568ddeaafc930560054fe9c94422
MD5 db6a73c8af171a64e4ed444a3ff18a0e
BLAKE2b-256 a74dc2c1f5808978e0402abbfbf1024ad8b31744395c2c5d910a66c86712b961

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