Skip to main content

AnaCal

docs tests pypi conda-forge License: GPL v3 Code style: black

Analytic Calibration for Perturbation Estimation from Galaxy Images.

This framework is designed to measure the shear responses of both existing and future shape estimators. Our goal is to develop a suite of analytical shear estimators that can infer shear with sub-percent accuracy while remaining computationally efficient.

To compute shear response, we introduce the concept of pixel shear response---the derivatives of pixel values with respect to applied shear distortions. We then propagate these responses using quintuple numbers, a technique for efficient shear response tracking. For accurate noise bias correction, we adopt a renoising approach that enables analytical treatment of noise effects.

Currently, the framework supports the following analytical shear estimators:

  • FPFS: A fixed moments method based on shapelets including analytic correction for selection, detection and noise bias. (see ref1, ref2, ref3, and ref4.)
  • NGMIX: Gaussian model fitting. (see ref5)

Installation

Users can clone this repository and install the latest package by

git clone https://github.com/mr-superonion/AnaCal.git
cd AnaCal
# install required softwares
conda install -c conda-forge --file requirements.txt
# install required softwares for unit tests (if necessary)
conda install -c conda-forge --file requirements_test.txt
pip install . --user

or install stable version

pip install anacal

or

conda install -c conda-forge anacal

Examples

Examples can be found here.

Development

Before sending pull request, please make sure that the modified code passed the pytest and flake8 tests. Run the following commands under the root directory for the tests:

flake8
pytest -vv

Metadata

Release files for anacal 0.8.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for anacal 0.8.4
File Size Uploaded Provenance Actions
anacal-0.8.4.tar.gz 209.0 kB Without provenance Details for anacal-0.8.4.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for anacal 0.8.4
File Actions
anacal-0.8.4-cp315-cp315t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.15 CPython 3.15 free-threading Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details for anacal-0.8.4-cp315-cp315t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
anacal-0.8.4-cp315-cp315-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.15 CPython 3.15 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details for anacal-0.8.4-cp315-cp315-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
anacal-0.8.4-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 free-threading Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details for anacal-0.8.4-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
anacal-0.8.4-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details for anacal-0.8.4-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
anacal-0.8.4-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details for anacal-0.8.4-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
anacal-0.8.4-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details for anacal-0.8.4-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
anacal-0.8.4-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details for anacal-0.8.4-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
anacal-0.8.4-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details for anacal-0.8.4-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Total release size: 250.6 MB

Release files / anacal-0.8.4.tar.gz

Download URL anacal-0.8.4.tar.gz
Size 209.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c11ec57b6d83648d98aa7aabf38a4948cd9eb238e0050200a63e1971f590ccb8
BLAKE2b-256 checksum
How to use checksums
243d18cec595b683c5173a6fc7ec8385bc7c547fa06d8185f6f95b9731cb51ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.18

Release files / anacal-0.8.4-cp315-cp315t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL anacal-0.8.4-cp315-cp315t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 31.8 MB
Tags CPython 3.15 CPython 3.15 free-threading Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
1c0dab882a3949188a0359431e4fbadaa4f3cb957e285107b3679f0c7efb09ce
BLAKE2b-256 checksum
How to use checksums
c38f9bca0bd26606bbae8b0c538fe9c00eda13aed7fe6239546ca64246ab46d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.18

Release files / anacal-0.8.4-cp315-cp315-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL anacal-0.8.4-cp315-cp315-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 31.4 MB
Tags CPython 3.15 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
678d684da681f9a8ad95dcdae8840c4084202c16f8f17da13ce84641616088ee
BLAKE2b-256 checksum
How to use checksums
e066f88cbf3662f95f5531542ada334c078c16e5dde1b96eac909bfad0f868aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.18

Release files / anacal-0.8.4-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL anacal-0.8.4-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 31.7 MB
Tags CPython 3.14 CPython 3.14 free-threading Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
df6424595cd03f56a4e3dca8ee64e722e9740ec61d74a0cb5e8e7ce95fa1ece8
BLAKE2b-256 checksum
How to use checksums
920d07c3cf87d3df367aa4f68c619376e3abcff660165b2aea18d43b614c014f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.18

Release files / anacal-0.8.4-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL anacal-0.8.4-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 31.3 MB
Tags CPython 3.14 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
17ab591b2d9432d102ef6f0940a091145e23fc6bea88f4c52283ac7490742495
BLAKE2b-256 checksum
How to use checksums
cf5b3de2918e856daa132d28fcbb647b741c547d51b2d42cc8f0bff79d980f21
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.18

Release files / anacal-0.8.4-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL anacal-0.8.4-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 31.4 MB
Tags CPython 3.13 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
816df50d1c9c1ad02e40b2cb8f5205245f1894e69faa59b06031a3c5fab989ed
BLAKE2b-256 checksum
How to use checksums
684a91b39346faef0dc7e320d419c490708c06b43a80a6b9789629d2e6520203
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.18

Release files / anacal-0.8.4-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL anacal-0.8.4-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 31.4 MB
Tags CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
99790ceb5a8bfa8d37707c3e91689348a7a811054ce881105feff1e2086d50d7
BLAKE2b-256 checksum
How to use checksums
31fd8108ab09d6115ef56d07e054ed7fb6133cf4d3adcf09f845da4aca1f211e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.18

Release files / anacal-0.8.4-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL anacal-0.8.4-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 30.8 MB
Tags CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
43d428c594a07bb476f3c23f3762173f2ef4add70603e3ef5593b63ad27419ea
BLAKE2b-256 checksum
How to use checksums
49a51c2d61ab01b0be8e21461968e254628d025f0627b3dc22cc399e55e4bf1e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.18

Release files / anacal-0.8.4-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL anacal-0.8.4-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 30.6 MB
Tags CPython 3.10 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
eaf5c83cf742555422bffe678a425c2d472fe497a8497be833a30bd5cffb7fec
BLAKE2b-256 checksum
How to use checksums
e7f9d52e00a10b1c77d4efea05ef6ba520d718d37ffce4302e37bf4324f7ba51
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.18

Security for anacal 0.8.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page