Skip to main content

No project description provided

Project description

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

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

anacal-0.7.2.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.7.2-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (37.4 MB view details)

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

anacal-0.7.2-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (37.1 MB view details)

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

anacal-0.7.2-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (37.2 MB view details)

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

anacal-0.7.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (37.1 MB view details)

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

anacal-0.7.2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (36.9 MB view details)

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

anacal-0.7.2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (36.7 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.7.2.tar.gz.

File metadata

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

File hashes

Hashes for anacal-0.7.2.tar.gz
Algorithm Hash digest
SHA256 dbf7f31e8b4123a57d2ae0a909dd4ef9ec8a17090b59df7281f6f37b8f8d4081
MD5 ac4120841991664d5b514ed6f923e6ef
BLAKE2b-256 4e77b4af8fad7c248b46d67797f0d8ba79ca314a957a4d23a00812c7e3a1412e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for anacal-0.7.2-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 51b484969cb386d220318cb0ef418ddaa0ef5daa7e2e815693a0148f65fd6334
MD5 eb8bbddd6b6968dc28d851a89b38eb7d
BLAKE2b-256 a4ba3ecf2bb5c61f49c442117eda4d2307ebd0fcf381eb8e5112c2584739aeb2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for anacal-0.7.2-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3ce65b3d06c6cb05de4cfc0f996cc1fe1f08d25b0238d31ecb1a2a4fca36493c
MD5 1cea9c0ead2fb5b056e1abd05f3783c3
BLAKE2b-256 24a296ecbe90b549b7e801fe2e2e77a68d20d4343b8405cb5d786bf7e436d89a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for anacal-0.7.2-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3051aea51b963014588a7f4d16cfde7a4812eaac3059e6fe25c0fc5b42a89003
MD5 15937629524da1ae3b84bc663e09c21c
BLAKE2b-256 4d054537382459cc211552391913f4cd018d54cc9d74e21d52f8b76d90f88ada

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for anacal-0.7.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 268a0baefae0e409c26c7a3abcc8222e48ae86fb3074bd1558998c4de94c40ac
MD5 946ed06882e90258e2015c522d353b5d
BLAKE2b-256 002114d784df71c22fa02377a7f4cedcc5c4f23a6c9bd8de3cf5b244f0ebaaa2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for anacal-0.7.2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a0ac950a6e7f4c304f354f905adae773b663674d0de5f267e88c2fb444fd12ce
MD5 98db6a6bfe9fa2bf404b587ac95a86fc
BLAKE2b-256 a7db5195855a04ec31b3e89ad64d5fb060e8b50f5332f60ce13487f05360f00f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for anacal-0.7.2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2e19fe503c560e1eb54412ed0015b2b38684eaf6fd264225a98e128e5bb66beb
MD5 61a9a0d59a98a56c86836ba10898bf86
BLAKE2b-256 4d42bac1a97d1f4c42af66d15a7e4275e4f38ff1cc3263a17681595de92f3f42

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