2022-11-02 –, ADASS Conference Room 1
SpectraPy is an Astropy affiliated package for spectroscopic data reduction. It collects algorithms and methods for data reduction of astronomical spectra obtained by through-slits spectrographs. SpectraPy is the first brick of a Python environment for spectroscopic data reduction. It has been created to fill the gap in Astropy between the already existing file data handling libraries and those for spectra analysis.
SpectraPy combines Astropy facilities with SAOImageDS9 features, providing a set of tools for spectra calibration and 2D extraction. It starts from raw frames, and using configuration files which describe the optical setup of the instrument, it automatically locates and extracts 2D spectra that have been wavelength calibrated and corrected by distortions.
The library, designed to be spectrograph-independent, can be used on both longslit (LS) and multi object spectrograph (MOS) data. It comes with a set of ready-to-use configuration files for the LBT-LUCI and LBT-MODS spectrographs, but it can be configured for data reduction of other through-slits spectrographs
In the future we want to extend SpectraPy adding other classes and methods (e.g. background subtraction or 1D spectra extraction) needed to obtain fully reduced spectra.
Moreover we would like to improve SpectraPy in order to reduce data obtained from fiber spectrographs.