Flame : A flexible data reduction pipeline for near-infrared and optical spectroscopy
Abstract
We present flame, a pipeline for reducing spectroscopic observations obtained with multislit near-infrared and optical instruments. Because of its flexible design, flame can be easily applied to data obtained with a wide variety of spectrographs. The flexibility is due to a modular architecture, which allows changes and customizations to the pipeline, and relegates the instrument-specific parts to a single module. At the core of the data reduction is the transformation from observed pixel coordinates (x, y) to rectified coordinates (λ, γ). This transformation consists in the polynomial functions λ(x, y) and γ(x, y) that are derived from arc or sky emission lines and slit edge tracing, respectively. The use of 2D transformations allows one to wavelength calibrate and rectify the data using just one interpolation step. Furthermore, the γ(x, y) transformation includes also the spatial misalignment between frames, which can be measured from a reference star observed simultaneously with the science targets. The misalignment can then be fully corrected during the rectification, without having to further resample the data. Sky subtraction can be performed via nodding and/or modelling of the sky spectrum; the combination of the two methods typically yields the best results. We illustrate the pipeline by showing examples of data reduction for a near-infrared instrument (LUCI at the Large Binocular Telescope) and an optical one (LRIS at the Keck telescope).
- Publication:
-
Monthly Notices of the Royal Astronomical Society
- Pub Date:
- August 2018
- DOI:
- 10.1093/mnras/sty1236
- arXiv:
- arXiv:1710.05924
- Bibcode:
- 2018MNRAS.478.2097B
- Keywords:
-
- instrumentation: spectrographs;
- methods: observational;
- techniques: spectroscopic;
- methods: data analysis;
- Astrophysics - Instrumentation and Methods for Astrophysics
- E-Print:
- 17 pages, 10 figures, published in MNRAS. The pipeline is available at https://github.com/siriobelli/flame