Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.adass.org/adass/proceedings/adass03/P10-13/
Дата изменения: Fri Aug 27 18:14:11 2004
Дата индексирования: Tue Oct 2 06:48:31 2012
Кодировка:

Поисковые слова: milky way
ADASS 2003 Conference Proceedings Next: The ATST Virtual Instrument Model
Up: Data Processing Systems
Previous: Efficient data mining in the X-ray sky background
Table of Contents - Subject Index - Author Index - Search - PS reprint - PDF reprint

{\v{S\/}}koda, P. & {\v{S\/}}lechta, M. 2003, in ASP Conf. Ser., Vol. 314 Astronomical Data Analysis Software and Systems XIII, eds. F. Ochsenbein, M. Allen, & D. Egret (San Francisco: ASP), 816

Comparison of Echelle Spectra Reduction Packages

Petr {\v{S\/}}koda, Miroslav {\v{S\/}}lechta
Astronomical Institute of the Academy of Sciences of the Czech Republic

Abstract:

The reduction of raw echelle data is a straightforward, although quite complicated task, where the reliability of the final result strongly depends on precise accomplishment of each step. Therefore the choice of reduction package best suited for the particular instrument is very important. We have tested several software packages commonly used for reduction of data from fiber-fed echelle spectrographs. We used them for processing of raw CCD echellegram of early-type stars secured with HEROS fiber echelle spectrograph currently installed at Cassegrain focus of Ond{\v{r\/}}ejov observatory 2m telescope. The main interest was focused on the methods and algorithms of determination of dispersion relation. The spectra were reduced until the individual one-dimensional lambda-calibrated orders were obtained. The precision of wavelength calibration was then compared.

1. Introduction

Although quite complicated, the main part of echelle reduction is quite straightforward and the automatic pipelines can be used to reduce the data until the stage of individual wavelength-calibrated echelle orders.

To check the quality of resulting spectra using different reduction packages, we have selected a single exposure of hot star $\iota$Her secured by HEROS red channel with 2 flat fields and 2 comparison arcs bracketing the stellar exposure. The data had to be individually modified into the format required by particullar package, but the principial reduction tasks were the same. The outputs were converted into IRAF echelle format and compared in spectool task.

2. Brief Description of Packages

2.1 Standard HEROS Pipeline

This is a set of MIDAS procedures and C and Fortran functions written by A. Kaufer and O. Stahl as a customized version of standard MIDAS echelle context. It is described by {\v{S\/}}koda and {\v{S\/}}lechta (2002). Before processing the bad columns and pixels are interpolated on 2D frame using the defect list.

It tries to be robust for orders with low flux by fitting the 2-dimensional polynomials of low degree through the Gaussian fitted cross-order profile maxima, but the tracing of orders is sensitive on the tiny twiddling of parameters (mainly threshold, order width and order slope). Sometimes the algorithm is confused and such parts of low-flux data have to be removed before tracing.

The dispersion fitting is quite clever and robust using several manually marked lines at 2D image to fit a 2D low-order polynomial, than switches to order by order line identification automatically adding more lines from the list and again switching to 2D polynomials.

The specific feature of the HEROS extension to the basic MIDAS echelle context is the application of global 7-parameter (only) rational-polynomial fit described by De Cuyper and Hensberge (1998) on the final dispersion calibration.

2.2 Hensberge's Modified FEROS Package

This is a custom package developed by H. Hensberge for reducing data from FEROS spectrograph. It uses the basic FEROS package but corrects a number of errors and strongly modifies the behaviour of several procedures . It was partly modified for accepting data from HEROS. Due to various reasons, however, the wavelength calibration was not successfully adapted to HEROS frames and so the dispersion relation from preceding HEROS pipeline was taken for this test. The order tracing is done using the cross-correlation with Gaussian-shaped template of a averaged cross-order profile beginning in the centre of frame and going to both ends or until the trace is lost. The fit is then done order by order.

The background subtraction is done very carefully, using the digital filter and noise statistics to fit 2D surface in inter-order space. The extraction is done twice - once with optimal variance weighting rejecting pixels deviating from normalized cross-order profile (COP) and once using the plain aperture summing. By comparison of both results the cosmics and bad pixels are flagged and removed from optimal extracted data by interpolation. The procedure runs well on individual bad pixels or columns but fails on adjacent two or more of them.

This package has well-controlled behaviour and its precision had been well tested on the number of FEROS spectra.

2.3 IRAF dofoe Task

The dofoe task was used separately on averaged flat field and stellar exposure and the extracted data were divided by imarith. The dispersion was then applied using dispcorr on flat-fielded extracted stellar orders taken from lambda calibrated extracted star. The main reason for this is the behaviour of standard dofoe that divides not by extracted flat-field but by Flatnorm.ec that is normalized to intensity about one. That preserves the amount of ADU but scales the data in comparison to MIDAS approach and makes the direct comparison difficult.

The tracing here is done using the automatic aperture finding in center of frame following the position of COP fits using the fit1d algorithm similar to cross-correlation. The extraction is optimal with cosmics cleaning and variable aperture with taking the certain level (in our case 0.001) of the COP peak as the background level. The background subtraction is using smoothed 2D surface obtained from inter-order space minima (method scattered).

The real challenge is the wavelength calibration with ecidentify task called from dofoe. Only the 1D separate orders are seen and the number of lines required to get initial fit is quite high. After number of test we had to mark about 100 lines to get reliable result. One has to be careful mainly at the edges of orders and in IR orders (where is a lack of good Th lines and a number of overexposed Ar lines). This may be tested by over-plotting adjacent orders.

3. The Wavelength Calibration Methods

As was said, the modified FEROS pipeline has to take the dispersion solution from HEROS pipeline, so we can compare only the different approaches of MIDAS and IRAF respectively. In both cases we used the line list of 145 carefully selected lines of Th and Ar over the HEROS red channel range (5800 - 8400 Å). Then a number of lines was identified manually. For MIDAS package only 20 lines spread over the entire frame were enough to be able to run the automatic finding procedure echiden and achive the RMS about 0.01 Å.

In IRAF case of procedure ecidentify we had to mark manually about 100 lines to run the fitting procedure reliably. Optimizing the rejection and matching parameters and increasing the degree of 2D polynomials until the degree 6 (in x) and 5 in order coordinate we achieved about the same RMS. It requires, however, 56 coefficients in comparison to 7 of MIDAS and it is less reliable at the edges of frame or in orders contaminated by strong Ar lines (in near IR). The extracted data were in both cases linearly rebinned to get equidistant intervals in wavelength.

4. Comparison of Reduced Spectra

The resulting extracted echelle orders unblazed by division of extracted flats are compared on following pictures. The slight detected differences indicates how the particular algorithm behaves.

Figure 1: Comparison of results from HEROS (dotted line), modified FEROS (dashed line) and IRAF dofoe (full line) packages
\begin{figure}
\begin{center}
\plotfiddle{P10-13_1.eps}{4.5cm}{0}{45}{55}{-244}{...
...\plotfiddle{P10-13_2.eps}{1cm}{0}{45}{55}{-60}{-135.5}
\end{center}\end{figure}

The incomplete background subtraction and variable aperture ( resize=yes) of IRAF is probably responsible for change in flux level (see left panel of Fig. 1).

Despite the small changes of line positions caused by different rebinning the dispersion calibration in IRAF case is not perfect, and the problems of anchoring the polynomials at edges may cause the incorrect dispersion fit in orders with small number of usable lines, as is shown at the edge of the frame in IR region (see right panel of Fig. 1).

5. Conclusions

The tests have shown the good match of output from all three packages. The wavelength calibration procedure in MIDAS is much more comfortable and more robust. The IRAF approach requires many lines to be manually identified and the 2-dimensional polynomials have problems at the edges, so one should carefully check the match of order overlaps.

Despite the tiny differences, all packages may be used to produce reliable echelle spectra from fiber-fed instruments. The small differences seen in the flux level depend mainly on correct background subtraction. From our experience follows the idea that a simple robust package would be IRAF dofoe task calling completely different ecidentify procedure working like MIDAS echiden task and using the 2D manual line identification and global 7-parametric fit of De Cuyper and Hensberge.

Acknowledgments

This work was supported by grant GA{\v{C\/}}R102/02/1000. The Astronomical Institute Ond{\v{r\/}}ejov is supported by projects K2043105 and Z1003909.

References

de Cuyper, J.-P. & Hensberge, H. 1998, A&AS, 128, 409

{\v{S\/}}koda, P. & {\v{S\/}}lechta, M. 2002, in Publ. Astron. Inst. ASCR, 90, 40


© Copyright 2004 Astronomical Society of the Pacific, 390 Ashton Avenue, San Francisco, California 94112, USA
Next: The ATST Virtual Instrument Model
Up: Data Processing Systems
Previous: Efficient data mining in the X-ray sky background
Table of Contents - Subject Index - Author Index - Search - PS reprint - PDF reprint