Metadata-Version: 2.4
Name: byspec
Version: 0.5
Summary: BFOSC and YFOSC Spectra Data Reduction Pipeline
Author: Deyang Song, Zichong Zhang
Author-email: Liang Wang <wang.leon@gmail.com>
License: Apache-2.0
Project-URL: Homepage, https://github.com/wangleon/byspec
Project-URL: Issues, https://github.com/wangleon/byspec/issues
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: python-dateutil>=2.8.2
Requires-Dist: numpy>=1.24
Requires-Dist: scipy>=1.8.0
Requires-Dist: matplotlib>=3.4.1
Requires-Dist: astropy>=5.1
Dynamic: license-file

# BYSpec - BFOSC and YFOCS Spectral Data Reduction Pipeline

BYSpec is an open‑source, fully automatic data reduction pipeline
for long‑slit and echelle spectroscopic data obtained with the
BFOSC (Xinglong 2.16m telescope) and YFOSC (Lijiang 2.4m telescope)
instruments.

The package handles all standard reduction steps with minimal user intervention:

* Bias and overscan correction
* Spectroscopic flat‑fielding (tailored for both long‑slit and echelle modes)
* Spectral curvature ("smile") correction for long‑slit data
* Automatic order detection and background subtraction
* Wavelength calibration using built‑in line lists (FeAr, HeNe, etc.)
  and pre‑computed templates
* Optimal extraction to maximize S/N and remove cosmic rays

