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.1.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.1-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (39.3 MB view details)

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

anacal-0.8.1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (39.1 MB view details)

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

anacal-0.8.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (39.1 MB view details)

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

anacal-0.8.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (39.1 MB view details)

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

anacal-0.8.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (38.8 MB view details)

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

anacal-0.8.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (38.6 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.1.tar.gz.

File metadata

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

File hashes

Hashes for anacal-0.8.1.tar.gz
Algorithm Hash digest
SHA256 46d5e4b8d9708f2118ed6018af175ad5a9df7889f1bfc1866b461abf7bc57b5a
MD5 a4fed961cbc80383b8034b6c031cc869
BLAKE2b-256 7a45bfcfdabbae51c5ef3afce5614ac97a6a852b930cc34411cb4724a29fe950

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for anacal-0.8.1-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ab8280c26c32debd0c747e230940554e48d5f699ee5a2ccbb918a92a11428c5c
MD5 997ade1dca43b21c6858cf3fc56f2963
BLAKE2b-256 75660f63a89bfb6057f95caece29dc9083c5f2b3d91095a5b6a3d24bb62788e8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for anacal-0.8.1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cac5d79824ff8dab61fe44a401e2c53d213291d96d7491478ca25f43849b057e
MD5 b34373adbaaed1023cfa7fb629bc5077
BLAKE2b-256 0355c4d13787d6e8d99e5acd38069e8da99fbf5f2ef1e486665b97e717d22bb8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for anacal-0.8.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e6dd5c9ed7affee5b83c6861e739d6046231e1f4d93e2685287b018e1d3baedc
MD5 8fdb86ae18689c17dbf851b4cc847de2
BLAKE2b-256 3e10e10e4a04f44475b591879e2bb8fd342136ea1b9dfc5be4d2a2ea5e0344cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for anacal-0.8.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 402ae97a42ef0860ba57a1d1c0a7580f286801e5ecd4cdf76df401f2dc16bb5c
MD5 7481b38320c6ecc56b774350ae29fa40
BLAKE2b-256 11664a3d7dc2d34cb2babcf78b767d50c9bdff0c07705ce7c655449632b5bc1f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for anacal-0.8.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 18a0f62dfc15cb9e46c258dfe64eb129568efbd83c81b87060231d25e7ccbab4
MD5 5e4def86b5f04ae0ee063b09b07d2d9a
BLAKE2b-256 894b98cbc2ed7fb71d8b69778c6d1202b46bf3e291bd12ae8cea9b6e34441d74

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for anacal-0.8.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 35a76e40627ea6c8c5ec0c2f6c8aab0b099b1528adeef8d597dac8de2a3f15ed
MD5 d9e89bc1c323be989dd4694e63af0452
BLAKE2b-256 1fd8066190e8d49d990606f66a0607b271a945e62020e0fcaa350a9cb6e383e1

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