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

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.3
File Size Uploaded Provenance Actions
anacal-0.8.3.tar.gz 167.6 kB Without provenance Details for anacal-0.8.3.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for anacal 0.8.3
File Actions
anacal-0.8.3-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.3-cp315-cp315t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
anacal-0.8.3-cp315-cp315-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.15 CPython 3.15 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details for anacal-0.8.3-cp315-cp315-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
anacal-0.8.3-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.3-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
anacal-0.8.3-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.3-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
anacal-0.8.3-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details for anacal-0.8.3-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
anacal-0.8.3-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.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
anacal-0.8.3-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.3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
anacal-0.8.3-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details for anacal-0.8.3-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Total release size: 198.1 MB

Release files / anacal-0.8.3.tar.gz

Download URL anacal-0.8.3.tar.gz
Size 167.6 kB
Tags Source
SHA-256 checksum
How to use checksums
628e3148741db69bb090d73e6e190e8dd600f24e3821b5a37ea1f8985cbcfb1f
BLAKE2b-256 checksum
How to use checksums
f5d84fb02306e42d5f9a0185efe54b82e8299c4c326e6c457837fea4d098dd07
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

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

Download URL anacal-0.8.3-cp315-cp315t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 25.1 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
54806e9abc7638694e9a687379d98a7e98c1458b65aba95c55adfa5aaa5a909f
BLAKE2b-256 checksum
How to use checksums
8382ced92f3ed0a1ac8628a896419acf0afcb74027a6a8612113d4637266d438
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

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

Download URL anacal-0.8.3-cp315-cp315-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 24.8 MB
Tags CPython 3.15 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
7d9d04ebd225af53054196b200482483fa12d4cd277b1136806e02537a8b1b27
BLAKE2b-256 checksum
How to use checksums
9fa58cc6e879b44aef7af113e03da030efd52ad51e463d13826ec29f02f9610f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

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

Download URL anacal-0.8.3-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 25.1 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
61d76dfdc6a285d3b25e5417bd15e428cd3f8e773b986749976a4f6b2781ba4d
BLAKE2b-256 checksum
How to use checksums
c8ab4dcff615d2c4de9c514361ba7b7bb7a0914729b96f56d1b1ed287da90e84
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

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

Download URL anacal-0.8.3-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 24.8 MB
Tags CPython 3.14 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
2ebdc3713fd96ad028d569484f714d1cfeb26167660b2539771e41f4e0222a0a
BLAKE2b-256 checksum
How to use checksums
6e29aa47f57d555917d197fc1c6594836b0ef9ac844919971e787b6433f54896
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

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

Download URL anacal-0.8.3-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 24.8 MB
Tags CPython 3.13 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
ecd0f6922f01c0d5c52b8c90693cf840858a3920af50e92f4068ad90304e5a7a
BLAKE2b-256 checksum
How to use checksums
4cd2ff104c82e186d32a572706e528043db53a5dd449eb2b6eee50ea695c0dc5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

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

Download URL anacal-0.8.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 24.8 MB
Tags CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
52b23a2bc00e3fc6608cd4e131a95fbf744a26d801c88b5a644aa8ebc0e99005
BLAKE2b-256 checksum
How to use checksums
3bbdf82baa43493f9c8038890435a824a61b61bc7ff79cbcc404f17b97988595
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

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

Download URL anacal-0.8.3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 24.3 MB
Tags CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
ac2ae66d48600f9cf7470a35a30bf28d354e06db7b1f8f21c85d9cc5e2777952
BLAKE2b-256 checksum
How to use checksums
693c3a3d479a91a4c0a2d353cf9f8d6d5fb4b80a0b111f49043f701b3b129e32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

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

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

Security for anacal 0.8.3

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