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.2.tar.gz (18.6 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.2-cp315-cp315t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (43.4 MB view details)

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

anacal-0.8.2-cp315-cp315-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (43.1 MB view details)

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

anacal-0.8.2-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (43.3 MB view details)

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

anacal-0.8.2-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (43.0 MB view details)

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

anacal-0.8.2-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (43.1 MB view details)

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

anacal-0.8.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (43.1 MB view details)

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

anacal-0.8.2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (42.6 MB view details)

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

anacal-0.8.2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (42.4 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.2.tar.gz.

File metadata

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

File hashes

Hashes for anacal-0.8.2.tar.gz
Algorithm Hash digest
SHA256 820e37616e0365bd77df79b87ac455e2016e37147f6e5ab8b9325a2c237a587e
MD5 f608a4694cf80d2dc710d006ce91de9f
BLAKE2b-256 233d2acca9c47923994d233e0cd432b2328c10083c53575b46c966977832baa0

See more details on using hashes here.

File details

Details for the file anacal-0.8.2-cp315-cp315t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for anacal-0.8.2-cp315-cp315t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 abe6e16b1ec3b117d3060ab77f0b51f15817247cdf61f9cbb698fb0775e550d1
MD5 00deced981ed6331c558b8ccf58d030f
BLAKE2b-256 02bbd6212ce7bbed6669ea8bee2ea1b47b199c92b7517e5dd18dc9a4b467c2d9

See more details on using hashes here.

File details

Details for the file anacal-0.8.2-cp315-cp315-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for anacal-0.8.2-cp315-cp315-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 edb68a20d0c2a8e5db003f60730de5f65613245883dd460adb8a26152a373321
MD5 2319322dfa4041973204ff0ae8e16056
BLAKE2b-256 4ff8b53eaf90c3462632f28fd8fad9e1773416c69fa1c9dcf1a0e87e71c8a6f1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for anacal-0.8.2-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 47d7741226a2a3bfaae1474c2f8a0d487f1df6c0cd51f1ca43ccf9246473cba9
MD5 65172c6e54e7cda26cd966aadd368bcc
BLAKE2b-256 72ec628a515a8de2a85991a59e6125d133e9a5926bd60a23fc7b4828ae6d6f48

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for anacal-0.8.2-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c509b98f28fd49bc1426ff39f02aa836326fdf91e4f1b23bf76867b9b345d0db
MD5 d73e924460dba65967fb490e0a234218
BLAKE2b-256 bc7696931a5aae0f84fe95d5cb6bf0f5db286b2ba7487bf3107c9ce8c12eb9fb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for anacal-0.8.2-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e0801f2279c522fb20ef741c6f9241a0bb36588c5975cb47857d349aa1d4bbaf
MD5 6a8c4f6f3f75713b4f0aa65e959f3d7b
BLAKE2b-256 3c98df6d39584f969ba853ea85a7fc67e17dbcd3eae02bf43c333da3bb904e53

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for anacal-0.8.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1eed8c5ce0ac312539d2260ae491b528dee3cb8849ade6bdaa11ab6ef08f603c
MD5 56ada4f8c9461742ebac09aef943cc91
BLAKE2b-256 03fab87a767651bc827abacb76a49546d225315273ef44704d41fcbaef7f4b10

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for anacal-0.8.2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2101dadcf8d54021240af9c1ad59ba202237a23f2835068ce35b4ea9712702bc
MD5 3735a039dad3e41c9b2b12ffaa5966c1
BLAKE2b-256 a66308a45e0a54404ce61942daf20bfba59989c525bed2af80c3f3a70874056b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for anacal-0.8.2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 71527b1bfd0b39cfd7a3e21c5ffe21a18aa3259274f8198ac2a8fa4f3914c5ab
MD5 9a637d99d7ff76e575c866eaee9fd0e9
BLAKE2b-256 117b2fb1e5d8a9e0770d821dce4397df239b94b7c37c90aa5f1edcdcb96555b9

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.8.2 This release

9 files

0.8.1

7 files

0.8.0

7 files

0.7.5

7 files

0.7.4

7 files

0.7.3

7 files

0.7.2

7 files

0.7.1

7 files

0.7.0

7 files

0.6.3

7 files

0.6.2

7 files

0.6.0

4 files

0.5.4

4 files

0.5.3

9 files

0.5.2

9 files

0.5.1

9 files

0.4.1

9 files

0.4.0

9 files

0.3.3

7 files

0.3.2

7 files

0.3.1

7 files

0.1.3

2 files

0.1.2

2 files

0.0.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page