Metadata-Version: 2.1
Name: astro-drpy
Version: 0.0.1.2
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

# 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
