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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

anacal-0.8.0.tar.gz (18.5 MB view details)

Uploaded Source

Built Distributions

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

anacal-0.8.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (39.5 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

anacal-0.8.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (39.3 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

anacal-0.8.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (39.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

anacal-0.8.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (39.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

anacal-0.8.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (38.9 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

anacal-0.8.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (38.8 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

File details

Details for the file anacal-0.8.0.tar.gz.

File metadata

  • Download URL: anacal-0.8.0.tar.gz
  • Upload date:
  • Size: 18.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.14

File hashes

Hashes for anacal-0.8.0.tar.gz
Algorithm Hash digest
SHA256 10af1e35fa479067a1b4b42b8dffbb6ee09b5e70547c0e4a0a04cfe00d335532
MD5 6cbc29ff3b89d2a91a3e0107e3102d87
BLAKE2b-256 b58a0cca97761325bf9a49d691d74fd978f4aae797f8e47c9e336265916508ca

See more details on using hashes here.

File details

Details for the file anacal-0.8.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for anacal-0.8.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f1e1341b0874be3680cfcad3c6a4d6a6e0d237644531fa0db1acfdc603b0131c
MD5 6af16d7835a51d88567f99237aa69693
BLAKE2b-256 e4a009624e3911845d346a9d4e80e468d11827cbda96f401ecb548c699faf824

See more details on using hashes here.

File details

Details for the file anacal-0.8.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for anacal-0.8.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cb49b84f389373ce50511e30a647948901401214fcd5585d72dae888e28246d6
MD5 0e109380e8a9d7d90aff0a338adfbd14
BLAKE2b-256 72dbbb3c8987f78cf539228ccd7785fb7c0569d2487813b3a35677d63d81b3fc

See more details on using hashes here.

File details

Details for the file anacal-0.8.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for anacal-0.8.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ad883cbe62e44f8c87b308c2d950a1144e34b9b246468783af4756d71eb05d9f
MD5 a0f76020685dd657530afd6f77f7f17b
BLAKE2b-256 6ee2fd1f6c7ae9b360170c5fbeffd6b1190bcf2933543814c5cafc33d8857565

See more details on using hashes here.

File details

Details for the file anacal-0.8.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for anacal-0.8.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 aa81629f17f381ac78501d47a04c77b1d622952b4700e509eca6cb220afa0e20
MD5 6f1671da5674f8617c2d992f22159cd4
BLAKE2b-256 ebea125705d91c56048f3595b219f865894e4ab2300c93ec782b9c912d9ac356

See more details on using hashes here.

File details

Details for the file anacal-0.8.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for anacal-0.8.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 aab68a05f4a3ae6c757b85cabd7f75734747603aed09ffc251c270d5f3a465bb
MD5 0eab0d53fc2d0d7bcc90b3b75b902587
BLAKE2b-256 564ec147567ae9eeef8a78508133b52f42cf2deb75459a98fec681de7e346d56

See more details on using hashes here.

File details

Details for the file anacal-0.8.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for anacal-0.8.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 13065e2c1bdbb01e2875ff1f08541e083f9cbafb2d9d3f58632cef0ea1f733b8
MD5 43170d4bab854e3d7a7a197243aa799d
BLAKE2b-256 088e79704c5df494e2294017df2c507099aeb1e74ebb527f038f75aa77c67152

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