Skip to main content

A full-sky quadratic estimator analytic normalization calculator.

Project description

https://readthedocs.org/projects/tempura/badge/?version=latest https://coveralls.io/repos/github/simonsobs/tempura/badge.svg?branch=master https://badge.fury.io/py/pytempura.svg

(T)ool for (E)fficient co(MPU)tation of mode-coupling estimato(R) norm(A)lization

pytempura/tests/data/image.png

This package contains a python module to compute analytic normalization of quadratic estimators for lensing, cosmic birefringence, patchy tau and point sources, based on separable formula.

The code was verified in the following studies:

Installing

Make sure your pip tool is up-to-date. To install pytempura, run:

$ pip install pytempura --user

This will install a pre-compiled binary suitable for your system (only Linux and Mac OS X with Python>=3.10 are supported).

If you require more control over your installation, e.g. using Intel compilers, please see the section below on compiling from source.

Compiling from source (advanced / development workflow)

The easiest way to install from source is to use the pip tool, with the --no-binary flag. This will download the source distribution and compile it for you. Don’t forget to make sure you have CC and FC set if you have any problems.

For all other cases, below are general instructions.

First, download the source distribution or git clone this repository. You can work from master or checkout one of the released version tags (see the Releases section on Github). Then change into the cloned/source directory.

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).

We suggest you then test the installation by running the unit tests. You can do this by running pytest.

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):

$ pip install --upgrade pip meson ninja meson-python cython numpy
$ pip install  --no-build-isolation --editable .

Examples

You can find example codes at “tests” directory.

Contact

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

pytempura-0.2.0.tar.gz (19.5 MB view details)

Uploaded Source

Built Distributions

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

pytempura-0.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

pytempura-0.2.0-cp312-cp312-macosx_14_0_arm64.whl (813.9 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

pytempura-0.2.0-cp312-cp312-macosx_13_0_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

pytempura-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

pytempura-0.2.0-cp311-cp311-macosx_14_0_arm64.whl (814.3 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

pytempura-0.2.0-cp311-cp311-macosx_13_0_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

pytempura-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pytempura-0.2.0-cp310-cp310-macosx_14_0_arm64.whl (814.3 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

pytempura-0.2.0-cp310-cp310-macosx_13_0_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

File details

Details for the file pytempura-0.2.0.tar.gz.

File metadata

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

File hashes

Hashes for pytempura-0.2.0.tar.gz
Algorithm Hash digest
SHA256 57d7e44af373e6f7f56bf15a73f52917a17de7380196069aefbf198e92ed27fd
MD5 fc48f7577edb319527ce1ee4f6d85d5b
BLAKE2b-256 4dda00fb25717af7733fd939dda74837ce945c378c450d2089090ecb30d2a6cb

See more details on using hashes here.

File details

Details for the file pytempura-0.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pytempura-0.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2d0eec1ce22ea857a6140448c7d77d33f30863816be9f8f827b77f96f0cd18e3
MD5 0edc42d0729c345726499ed2531bb239
BLAKE2b-256 10042fb9da50307193eed28aabf9c048fddb1651dfa25d72e66aa918061876c7

See more details on using hashes here.

File details

Details for the file pytempura-0.2.0-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pytempura-0.2.0-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 2f4173681a51a492c752c8e3d9ffa77d9960af3e63f86a6008dbae66f56ed2dd
MD5 1ca486f548c8dcf69a64324b9eef7ef2
BLAKE2b-256 62d2f523277cdeacd570f8ff264ab3d95cda75986fae284237d48bfec42089f2

See more details on using hashes here.

File details

Details for the file pytempura-0.2.0-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for pytempura-0.2.0-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 0c20c06279fc0f6117daf44074b6a433727511e37681cdf93506dac2d8bbd875
MD5 963303f7f1e1af4c44cf79497aae8574
BLAKE2b-256 9dbf5ca09fc27496091e8f6df71e3b5f680b6d2a1df77f20421af8fb50423a2e

See more details on using hashes here.

File details

Details for the file pytempura-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pytempura-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1ae04bc781b4ba3c4eaf9d39defce55e349f434c47f48d0b0530c34a92b7b4f1
MD5 7f83bca312293cef8ca132cd635571f4
BLAKE2b-256 e96ac2475f75e16d280e5e196cf1875d1df3d9196899274b5a30d241bd11ef5f

See more details on using hashes here.

File details

Details for the file pytempura-0.2.0-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pytempura-0.2.0-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b1b908c28f7882faef29b9fba28adda8648c856f650a196dab0a4a694a632359
MD5 c90eef969480353f1c2e0f2f5729fb97
BLAKE2b-256 08a6b9a3a013f96e6b01510d3069bcd084f6ebdb3c991cbb3a3db188f9cd603f

See more details on using hashes here.

File details

Details for the file pytempura-0.2.0-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for pytempura-0.2.0-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 26b2885a7dafb40f760f035c185d394850243cb5dd782b1b7080e5bd3a49ef8c
MD5 c13cdbbac92ca540474c86bd6c82e58f
BLAKE2b-256 b5941df672d843c5e7d3adbb49c14e6ae3172b5080d0b721ce63b9aad03d883e

See more details on using hashes here.

File details

Details for the file pytempura-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pytempura-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e3ebed4259888201e4dd16b01b78d6d423c89bee0688a7523a3e8142f5cb6357
MD5 9e13b2684236803f75c08b4a18417432
BLAKE2b-256 c410d80da8b4bfe25e1d7b194edd3ff44f5d278a92b7c2ee081e370964caeede

See more details on using hashes here.

File details

Details for the file pytempura-0.2.0-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pytempura-0.2.0-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b30d47d91db21e887868d33ee12a8fbfbd6c11a1ca76c196971ad3915dc8671e
MD5 1fd05ac31d56ef94ffcb5994b826c4f6
BLAKE2b-256 559a6e16197810740a5e4e12075829d826f718df3aac34e6ecc5bec08c3aa954

See more details on using hashes here.

File details

Details for the file pytempura-0.2.0-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for pytempura-0.2.0-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c6a338d1e4437a96e4a302a12e0265777be1fc772416277de8371db7dba28fe5
MD5 e14ea43e66c2f3e50119b42f906a29ed
BLAKE2b-256 41e4d031d3530c4997acbd367bea1300636a574a08c83e6ca05b8b3b4fc14f1c

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