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

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

anacal-0.7.3-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (37.2 MB view details)

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

anacal-0.7.3-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.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (37.2 MB view details)

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

anacal-0.7.3-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.3-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (36.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.7.3.tar.gz.

File metadata

  • Download URL: anacal-0.7.3.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.3.tar.gz
Algorithm Hash digest
SHA256 42bea53e4ca03e232226e6d3e393c7861ef23cac957f830de7a3b2e4743a9883
MD5 5d226df24d35f1d7bfaf3c641dc34463
BLAKE2b-256 f1e69278225548b9bd05ec3b910da4e13e61fdfab6fe6d007ffe7ec8a4b9433a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for anacal-0.7.3-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f5464de60830f722492d81cdd5741221c55d0f4ac9af95e5c754d92efd5b2d4d
MD5 17a4bd36d6f1d050b378e4c08d854b04
BLAKE2b-256 3d177af1348b0dfddd7f67eb01d92bce1f8e2c16216dbcfe244f6761400a400d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for anacal-0.7.3-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d11f6261233f2edbc02b3d48b48cef7461a884cde403e42b5e991ff0853665f7
MD5 ed9cb6b0c7feebc2e21f2be12c841097
BLAKE2b-256 8382fbf202304db5193ee5ff351edea7ac8d0c7d90828ef20ece2b6bdfc71ab7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for anacal-0.7.3-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4a7f1ac1ef3ee4398109b57aad92f23c14051db8e60dfe9644a3fdb89059fc08
MD5 751081931056c5acf9111ba81c4076a1
BLAKE2b-256 adc6c7b509eccac332c458da2c396b001a8c000fe35c1c04034b115c4303f7ad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for anacal-0.7.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b084cff768fb48072716a8986d51d6e07d51a6347edb68ab145fdb2a2445d951
MD5 bca9e5902c78c20b7f1fc97e45154263
BLAKE2b-256 806589165dc4f035f936455c2a7c1368dbae426eb2fc670b3fa32a643a640f12

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for anacal-0.7.3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 50bf63747cd1c20c2d409fc154eb88147fe59385080932aa5baa17d84b1de985
MD5 722e50a033b3b94ef627dbf1236db303
BLAKE2b-256 6cf6e9720d09c572e8b74ed758fd55a54094a18aff9f356ed29103077d881443

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for anacal-0.7.3-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bf73dfeb8c42404697220e375f8033f50d49b3e1d323d4b65f25bba288ab457a
MD5 fdc85a81589f71851b4ecfd955c1cfda
BLAKE2b-256 39f1734115a4855e4c2d8131b551f3e65221c73455793da3767285be6442c68a

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