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.4.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.4-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.7.4-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (39.2 MB view details)

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

anacal-0.7.4-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.7.4-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.7.4-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.7.4-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (38.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.4.tar.gz.

File metadata

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

File hashes

Hashes for anacal-0.7.4.tar.gz
Algorithm Hash digest
SHA256 35c1db2f10f4dd224749f2f34c4c6add31e515bddaa17724c844fec820c4bf32
MD5 536887e1b1ea2e9ee2b1bd5ef4a72c65
BLAKE2b-256 1ae2495acdec1a00a7cdd8cd666b00a74b20b63889f4e810f9a71ea33b290ca3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for anacal-0.7.4-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 71950f70e0b73c3c2d6cf1d444566a974eeca7eefe2a862e1d843d753d504303
MD5 d97d8cf1fa10fb275f6b06c480975398
BLAKE2b-256 8bcff02d70c74387f92a1140cc65c90e066403e6ad560068db175afc4b894c31

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for anacal-0.7.4-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3bd6ecb29ce685bd4f089f4725eb28801efdd59405e8ef16e8656680049c5500
MD5 79338f5594d7f873bed8cbf3cd585a99
BLAKE2b-256 80eceb01249417c57eac4f4720dc48516602f55458871408027c78cd454a0793

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for anacal-0.7.4-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fff6790dc76be1308e02afba1e000aca3a4546182ffeeec198b4c232e903ff2e
MD5 5db87455e0f017147755fc4f2e874273
BLAKE2b-256 bd3058eb026b83784fac68c05986865be11508ebc8cd2047ef7a7d5f25532e7b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for anacal-0.7.4-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c90c04117d6d380e2d4f5ddefca0d50a2ec1be06a1e8eabf084769695c123c38
MD5 4d2f85a9623d1783b3664466e5ee234f
BLAKE2b-256 c1f86390bf0b5f9bc9427675e77b259edd9170a4c92ab51325c4ee324846a791

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for anacal-0.7.4-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8edd49606bdf08b3552a4e9c6591bc9d0e608d7a7c15409b0174dd73ee53318e
MD5 dfe0743d47bd9498943916aefcfbb211
BLAKE2b-256 047c7ed079fe347c5a09a577065468a68c3bfac9f20eda3fa85a7b660afc5d87

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for anacal-0.7.4-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 df483d6f4095dc9e76420713946a193c8ab00d00f72aff7e8618112e4ff5a346
MD5 b448689bbb8a6f6ac80be632b2ef6ecf
BLAKE2b-256 5b704892681677509b865437d930545a5fc3598be9b04e118c9dca3ef335347a

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