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.4.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.4-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.4-cp313-cp313-macosx_15_0_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.13macOS 15.0+ x86-64

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

Uploaded CPython 3.13macOS 15.0+ ARM64

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

Uploaded CPython 3.13macOS 14.0+ ARM64

pspy-1.8.4-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.4-cp312-cp312-macosx_15_0_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.12macOS 15.0+ x86-64

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

Uploaded CPython 3.12macOS 15.0+ ARM64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

pspy-1.8.4-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.4-cp311-cp311-macosx_15_0_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.11macOS 15.0+ x86-64

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

Uploaded CPython 3.11macOS 15.0+ ARM64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

pspy-1.8.4-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.4-cp310-cp310-macosx_15_0_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.10macOS 15.0+ x86-64

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

Uploaded CPython 3.10macOS 15.0+ ARM64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

File details

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

File metadata

  • Download URL: pspy-1.8.4.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.4.tar.gz
Algorithm Hash digest
SHA256 f952212d85093154162e65b9e99a05c4b8d5fbaa3d28d9dd1d1e352806e09d04
MD5 c59b027080aef0caf51a4b3f9ea0ddac
BLAKE2b-256 9006e1ff6b03d33d7bce80f628d4cea022d646887d5e58aa528b24fa12610d40

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pspy-1.8.4-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1444e68428db4e41b51028022c33a270ad7b6de9b9f6565b26896aff0f8fa1a7
MD5 ac056f43493e7435cb04e010552ac0ed
BLAKE2b-256 f86ce3657947fed94d53fc38bc538c2bc77fe8f42a77e5d3caf995f275cdccc7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pspy-1.8.4-cp313-cp313-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 25b18024a5a66cfa0f755076c340f2f0c4f663100b17e2ac0b102b1a163523ba
MD5 9a9e528715192476d1759dd17c686f4a
BLAKE2b-256 ed1fb98ffb143d79db139d6707abe7d895893981b8ec2a6e5ece8be3be9c9de4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pspy-1.8.4-cp313-cp313-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 b25889eecfc06c6a11d05e3e4182eb8c145dddffded20c58c862eccea3fdf811
MD5 53accad3581f5b0ad9eebdbba50b9003
BLAKE2b-256 e5b7f8849ae5765faf81dc8b294f4eab6506aa5d5a10698c996ef8a875903e3e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pspy-1.8.4-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 d701c541b2e01c32ed0543cfafcb79c03e8472e6a61b6741b50124df27f18bf4
MD5 6297712d6ad7c35f181abe60dca0691a
BLAKE2b-256 b67e1ad269ce98aea6a3cb5d2e2f2f81219fdd94e95bc073d1da4aa8e5d70bc7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pspy-1.8.4-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cd3e2b23437440ad0145ade7b92514b785753f73d512dd19c354bdc597e4f013
MD5 98349659c13cb7c394ecdbecf673da67
BLAKE2b-256 ee1f99a8f834188a05681ab8f587a2c31fdb4536569747507ba0e3273dd5439a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pspy-1.8.4-cp312-cp312-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 81c264a1aad7ee5058688b2eed97b0a5c134a2f1523fc948632d6bb0244e953f
MD5 c2da49ad939e28cdff2859e44575c526
BLAKE2b-256 a0ccb390f48bcc2c6c1f7ea2aab2b645a036c71a12fd29df8ee01772233e1c98

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pspy-1.8.4-cp312-cp312-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 f1fcb97a4c500068a1cbdde005868d18d845364418895356d0e521aeada87993
MD5 7a0d1d514712b960c93d0cf1973ba939
BLAKE2b-256 bf8a9a02ae11db4eb99064973b78dda95d03ad3bd9d938d85685cfc64d1bbbc6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pspy-1.8.4-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 862df87c8e6dc96144441485837646f0dd03dad21cd6675d3561b5f4fc7aa580
MD5 7d2fe852ced96b8975c08cb7c406d8f8
BLAKE2b-256 94b243cad01a51bc553605d4d67babe321d629a54e12b34f5955a74ccce0b316

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pspy-1.8.4-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 55ea5c3b8005dc000d0c63fd30e95607a7a136884650914e16361f79d24364c6
MD5 7490f4fdfdcd4bcb546cb1a4be43fa8d
BLAKE2b-256 84b507600a2f1b783538e77053f141903181827ac88d4df4d8c3e0bc6270e8ac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pspy-1.8.4-cp311-cp311-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 67162b7a91373d4a1d74524fd05d66fdd806a27a89547121267ea83d228560a5
MD5 4f020c0401d71b4eaf1d111e2aa02ce7
BLAKE2b-256 9cedebbdb5d05a1ba5fa278d70c2c1a8ba676f7eb36199459e25ad0cd834312a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pspy-1.8.4-cp311-cp311-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 5b202daed42d73d4b9c07817ddc9c7b4cbb0c188b7d7f3ef444f7d00d20a70e6
MD5 a9c8b814fb7f04cd64ed0c13ecafd752
BLAKE2b-256 12225016407a208cb7d5c0e5379e0fd2cc7da0856d1a6655fe79fbad03912a9e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pspy-1.8.4-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 15a85e6b497aa327842bf039c6bb23ae503c1ed08e028e3f58df2569f09fa527
MD5 cd5369151c195fe6468558f3b329aa46
BLAKE2b-256 02b3b77f55dc4864393a9d45c5a3b5795e27300346cb19ecae5e17d7faa4b912

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pspy-1.8.4-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4be3380f6df0a3fad211f50b9ebadebb01f33f3bd4e1d3158ea41583b49994a9
MD5 e65d254c68b3d005a15b1825b846cea2
BLAKE2b-256 d12e5b70735b89c07972b4487dbab5ce2da083fa88b1eec1d494ea8a6526a363

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pspy-1.8.4-cp310-cp310-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 83b7f65be6d25ccbab1010ba01994e329ddea215a42b745353e10996e3ddc53c
MD5 7c000bfbde1bd4b889511042a3996323
BLAKE2b-256 fe7cab333d8f84fcb4ad3438f5d4ca168bced1529512bde389a50173b4a63af6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pspy-1.8.4-cp310-cp310-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 70642d98312fe8d1a8cd48c324398d9f8f98b01517d565a747722182a31c850c
MD5 08f2bf7591d0287fd38cdf9e95e601ec
BLAKE2b-256 138351b3cce61cf76e35bd946c4e38d5677d15d60292d1de93232985fe74f4f7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pspy-1.8.4-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 954f434e7b6acfb2f1295ef4aae3572e88b6c779cac45e896b8bd694234f6a86
MD5 c6d29959074e47f00cb4f3327151c9b7
BLAKE2b-256 88df7cfcca81ad50a153be2be68384f5fd32b92dc255d269f8cf3322dec95c1a

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