Metadata-Version: 2.1
Name: anacal
Version: 0.5.2
Home-page: https://github.com/mr-superonion/AnaCal/
Author: Xiangchong Li
Author-email: mr.superonion@hotmail.com
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pybind11>=2.2
Requires-Dist: numpy
Requires-Dist: galsim
Requires-Dist: fitsio
Requires-Dist: pydantic

# AnaCal
[![docs](https://readthedocs.org/projects/anacal/badge/?version=latest)](https://anacal.readthedocs.io/en/latest/?badge=latest)
[![tests](https://github.com/mr-superonion/AnaCal/actions/workflows/tests.yml/badge.svg)](https://github.com/mr-superonion/AnaCal/actions/workflows/tests.yml)
[![pypi](https://img.shields.io/pypi/v/anacal)](https://pypi.org/project/anacal/)
[![conda-forge](https://anaconda.org/conda-forge/anacal/badges/version.svg)](https://anaconda.org/conda-forge/anacal)
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

Analytic Calibration for Perturbation Estimation from Galaxy Images.

This framework is devised to measure the responses for shape estimators that
have been developed or are anticipated to be created in the future. We intend to
develop a suite of analytical shear estimators capable of inferring shear with
subpercent accuracy, all while maintaining minimal computational time. The
currently supported analytic shear estimators are:
+ [FPFS](https://github.com/mr-superonion/FPFS): A fixed moments method based
  on shapelets including analytic correction for selection, detection and noise
  bias. (see [ref1](https://ui.adsabs.harvard.edu/abs/2018MNRAS.481.4445L/abstract),
  [ref2](https://ui.adsabs.harvard.edu/abs/2021arXiv211001214L/abstract) and
  [ref3](https://ui.adsabs.harvard.edu/abs/2022arXiv220810522L/abstract).)

## Installation
Users can clone this repository and install the latest package by
```shell
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 verion
```
pip install anacal
```
or
```
conda install -c conda-forge anacal
```

## Examples
Examples can be found [here](https://github.com/mr-superonion/AnaCal/blob/main/examples/).

## Reference

+ [Li et. al
  (2023)](https://ui.adsabs.harvard.edu/abs/2023arXiv230906506L/abstract)
  introduces the AnaCal framework.

## 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:

```shell
flake8
pytest -vv
```
----
