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.1.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.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.12macOS 13.0+ x86-64

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

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.11macOS 13.0+ x86-64

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

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

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

Uploaded CPython 3.10macOS 13.0+ x86-64

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

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.9macOS 14.0+ ARM64

pspy-1.8.1-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.1.tar.gz.

File metadata

  • Download URL: pspy-1.8.1.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.1.tar.gz
Algorithm Hash digest
SHA256 72b51767b4a8e5258332a2dddf0267d744c586a288f2327e2818187ca4481a63
MD5 beb48a1c9d45ae4717a81b0b9e614438
BLAKE2b-256 c89207e646ffe496fefe19ccc8354b4108fffdd60f6cb63ed08c3592957e4756

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pspy-1.8.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f7249d440fca2b06c5bbff0d99b561d5f7dadbf5dc302d481548ca4ef1868a22
MD5 e0dc9c2cf3ef8af9bf7f88ea122b068f
BLAKE2b-256 ac35a6105bf0250c5ea5c5a80ec6a6d159d2766b30ea9456fee0680fe856ac64

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pspy-1.8.1-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 bc9c9221262db10126afd311ae22a05a46293ea42d5c8d8722bfd9953067d6ab
MD5 adcc30e37254b03cd667a60286cea02f
BLAKE2b-256 cf00aaed517b6edf3865e63805de4f5df8eeb87188be2b1c947e11ad66670e3a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pspy-1.8.1-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 4f2961c3a9a18551351a394d8e14d895c62b0cf2c13e17708f1bb00b586e70db
MD5 968c293e981567bd6ee6a43800c5cb3c
BLAKE2b-256 07f9bce1dd77490a588755b97fcb23ae7c8192ea4cf2cdf4fcfd81b506245ebf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pspy-1.8.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 459eebad0e0551ad4f874428f5095fb85eed93b02b3b20622dda9fe36bc38b57
MD5 3e8db6a6e38942589f579d9c438ec5dd
BLAKE2b-256 51a103833b78953ad762d12aa477c2d4da8dfb4964a41daabd9dd5050e1241ac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pspy-1.8.1-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 802d72d868e662d81b8ffea04636e7598c5b150292d7ccca333aa71a2c77c364
MD5 934567a096c00e5b44194bb880fea1c8
BLAKE2b-256 bfabd6637c05f9683960b09380fcccdac1c4d932de176fabb93b1ed7e99a05ae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pspy-1.8.1-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 8782e271156531bafade759c27c4ad3ff3a3bc7aa5ea14cf9da9d7053f205edb
MD5 d124854d6d677367ea991ce4e68e424a
BLAKE2b-256 813465bdd8fa9086aebc4eaace7e19abf0a2cb236676ea97da218daa75af4589

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pspy-1.8.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 11d230488d55e1ed10ee95b4b4b159750860ffc7cc1f69e3cfe3fd5ff1bfdcf7
MD5 601350d695296ea4d2955802b98baa37
BLAKE2b-256 d6d363a30c427d7682d54c661d16b51e3d4035455609fca8e1c8a7be4bf6c2bb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pspy-1.8.1-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 57b5ed4d2b0adbed4b5e811acec9e3cdffb2fddfdf67adb21cfeab9edcb1a045
MD5 6d5d9f1bf105041e513533df80da6378
BLAKE2b-256 5c94f21e3ee631a3b50eb680ba5d8ce08407be8fa7f0294906083f133c4c2504

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pspy-1.8.1-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 7ce5223d70128dc90586814ffb983d7168f13bf6a0f942709052986b466c8865
MD5 30cb7365e28c0f2591db40b43210aea6
BLAKE2b-256 31402a2d9ee5fb3a70e21b4da7711adc48191e5c508ba56451a39a1d0e9e1f1e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pspy-1.8.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 14a7c4e6523b44a5c1a9f879ecb1df47ac8b4a8acac4b77a6ce6f0e88820997b
MD5 6ff13977164fdccb024bf7fd339dc167
BLAKE2b-256 3c039d7207e1596a08073ac0a9f05a8cf126bad62a99b21545d6ee303bea19b0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pspy-1.8.1-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.1-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 bf2ea88f9f84997eb5e64a3fa7903200ed70cf82c2aad883e73d1fec72dd39ae
MD5 d85146c9d2016d2dc2c2eae9b8ddf975
BLAKE2b-256 aba21af05021a7b633111f684c79d5513e00f6e07b6aa9ca171f42b15db280ba

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pspy-1.8.1-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.1-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 4f22a8c07b1bcbff7dddd5a603ed0588ff750ffa831005dd642c6259d52d3be9
MD5 542f838abedb254f77409b468ee8ce92
BLAKE2b-256 f87175e034cca83486d96e784f867f14f3898ca7e06230a9a190665745d3d9ed

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