Metadata-Version: 2.4
Name: astro-drpy
Version: 0.1.11
Summary: A data reduction toolkit for astronomical photometry and spectroscopy.
Author-email: Ruining ZHAO <ruiningzhao@mail.bnu.edu.cn>
Project-URL: Homepage, https://github.com/RuiningZHAO/drpy
Project-URL: Tracker, https://github.com/RuiningZHAO/drpy/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7.3
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: astropy>=4.3
Requires-Dist: numpy>=1.20.1
Requires-Dist: scipy>=1.7.2
Requires-Dist: matplotlib>=3.6.3
Requires-Dist: ccdproc>=2.2.0
Requires-Dist: specutils>=1.7.0
Requires-Dist: photutils>=1.3.0
Dynamic: license-file

# drpy
drpy (pronounced "doctor pi") is a **D**ata **R**eduction toolkit for astronomical **P**hotometry and spectroscop**Y**

## Installation

```
pip install astro-drpy
```

## Note

1. No NaNs or infs should be passed into functions without being masked in advance.
2. `use_uncertainty` and `use_mask` only control the use of uncertainty and mask frames in the calculations. Whether the two frames are returned by a function depends on the custom's input.
3. All calculations should be dimensionless to ensure best performence.
4. Header should not convert to meta directly. Should be ```meta = {'header': header}```
5. Do NOT do validation in internal functions
