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.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.7.0-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.0-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.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (37.1 MB view details)

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

anacal-0.7.0-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.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (36.8 MB view details)

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

anacal-0.7.0-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.0.tar.gz.

File metadata

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

File hashes

Hashes for anacal-0.7.0.tar.gz
Algorithm Hash digest
SHA256 fdb392be9a191e54ea45614a24bb16991793acf1bf8cc39d0ce12dd3a979232e
MD5 c0f91f7ce9f52da52ba7d9d518098d7e
BLAKE2b-256 a8f5bf73b7144ef6c8b975055ad4a47449bccfd08883f850f36461ff882f0a51

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for anacal-0.7.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 92e53244e6f7170f20d84d4355f8afabb581753fdd66756bcbb7f8b59a4df6bf
MD5 c9822273bd2f7802f1dd890cf3cbb0f5
BLAKE2b-256 28255ed6fe66c1be9615eaf0aef32c5e649c4e4d1f10d4e02616c090ed919408

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for anacal-0.7.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 30764514404c94d37efa77f0b64bc3705216f7c24b303b978d3dc0fd900d4e31
MD5 b93372d086f243b57e3a2bf7a67ccd43
BLAKE2b-256 00ee8b69779c8a1481ce62627f4739f285b0d0d1253268976efabd7b066c4c8c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for anacal-0.7.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ae26a62cc1ef1bfab13258eca76e685187ff41e8986bec5f18dc887938d28158
MD5 d42af0f0b69502114718236c1c93b5fe
BLAKE2b-256 850937c1416c24d5281bcfe52a1abaa785c86215bfe3c84591b062a4e1dc77c2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for anacal-0.7.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5cb865d70fab2daa325105326c47a5f8880a722200ae3736faf9855874fa1ac0
MD5 ee29c44b0bcafc870eafb16a8c35dd7e
BLAKE2b-256 d1582d189eac1c9c890448ef79448f9d72cfcce7b8c9f0d201ae35549db6a44e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for anacal-0.7.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6ac6e79bc644d60311a419457d9d3001b0fae025b81f02f4307bd9f3c17b714a
MD5 7d4d52a1165a7f5f4298ce3493b107ed
BLAKE2b-256 5bb281d972679e4f73a5ed4b9a2a5161acc5c7630241a4076b0ce4e4374e0be9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for anacal-0.7.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8146151a410fd634873dc95132212aa6afbe249add10f85b0eb878c2c68d82bd
MD5 d6e166ae495498a76e91a36848d2a6c4
BLAKE2b-256 2cf8ca56f42e28c5185c35806a32601715119c91cc4f750fe6c7f704d33f52b4

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