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.5.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.5-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.5-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (39.3 MB view details)

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

anacal-0.7.5-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.5-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.5-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.5-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (38.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.5.tar.gz.

File metadata

  • Download URL: anacal-0.7.5.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.5.tar.gz
Algorithm Hash digest
SHA256 f0c92465d3c4b4a864db30f28696766049af0abbf053f5577dad1553320732d6
MD5 88e8dd48afb13466e579a1798ffa9ea7
BLAKE2b-256 1ba97f4717095a9c1ff768bfc8ca30a23babc69ce6163a9ed4aa3da168b73af7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for anacal-0.7.5-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f8f7dfacc77e9de9aba9810db166c85dd43d0d1ef8a09f85606373a41e72ac9b
MD5 cab9615949e312902a5e1ba1b5346d21
BLAKE2b-256 49f2b1aadc64b14f8da203af8b2930269e3f95ef9fe309324652f3ec44355334

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for anacal-0.7.5-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 829f73e0b6f5dbcf72178b8a69292a81e7141d7fb24635528ad52d26c541bf5c
MD5 49591ee0a695050b0343af1a186b85e7
BLAKE2b-256 706cffca9a007efb88785a21bb8bd4581dc33b72729e027f4e370619f4e1bf87

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for anacal-0.7.5-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d3e9de0723045a76581b8af42df5a97fbdd0d5599b7916608834945951ebfdfd
MD5 bb0e84cbde43e61f231784911f4c14bd
BLAKE2b-256 4b2576867ae265551352fa1576d04ad23b720e86793021a51b0596d171b87e42

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for anacal-0.7.5-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3b3fb93fe140b015ff6810e1c25e1c655a49226071caa1d77747ab601be21c21
MD5 32ce56f40ce97d5808d26b77ecf575db
BLAKE2b-256 63488cac044abec3707b473d6f6408b965369148bfc08680fd3162c5097b9de4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for anacal-0.7.5-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d5c400521544f649e28469ade0790ae3eb0a78761bbd46ce65e5e1043342c9d5
MD5 cf7f66111626e7e2f2c66c0f1820dc96
BLAKE2b-256 11e31069a6a3a802019a4f822805b7a29e49f4656df665a7d7d53d46cf3729b3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for anacal-0.7.5-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a4f140c776c4bb11097225ed38af4b876e4c7db0fb0ee4640de80a3b01acb75a
MD5 0a3761308f69e565ad56d1f57b60cf62
BLAKE2b-256 50fb586815f9ab6ab35cc7393255698e96a30007ba1cbeb891f9d56218c9ee62

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