Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.adass.org/adass/proceedings/adass03/reprints/P4-2.pdf
Дата изменения: Sat Aug 28 02:42:51 2004
Дата индексирования: Tue Oct 2 10:13:52 2012
Кодировка:
Astronomical Data Analysis Software and Systems XIII ASP Conference Series, Vol. 314, 2004 F. Ochsenbein, M. Al len, and D. Egret, eds.

Data Reduction Software for the VLT Integral Field Sp ectrometer SPIFFI
JЁ gen Schreiber, Frank Eisenhauer, Matthias Tecza, Roberto Abuter, ur and Matthew Horrobin Max-Planck-Institut fur extraterrestrische Physik, Postfach 1312, Ё D-85741 Garching, Germany Niranjan Thatte University of Oxford, Dept. of Astrophysics, Denys Wilkinson Building, Keble Road, Oxford OX1 3RH, UK Abstract. A data reduction software package is developed to reduce data of the near-IR integral field spectrometer SPIFFI built at MPE. The basic data reduction routines are coded in ANSI C. The high level scripting language Python is used to connect the C-routines allowing fast prototyping. Several Python scripts are written to produce the needed calibration data and to generate the final result, a wavelength calibrated data cube with the instrumental signatures removed.

1.

Introduction

The near-IR integral field spectrometer SPIFFI built at MPE was attached to the UT2 (Kueyen) telescope of the VLT between February and April 2003 as a guest instrument with a total amount of 20 observing nights. A data reduction software package was developed to be able to reduce SPIFFI data on a Unix-machine in the telescope control room in the manner of an offline reduction pipeline. The basic data reduction routines are written in ANSI C. An interface between the freely available high level scripting language Python and the C-library was built to use Python to connect the C-functions allowing fast prototyping. This interface is generated automatically by using the freely available software SWIG. Basic FITS handling and image arithmetics routines are used from a linked Eclipse library (Devillard 1999). A library of Python scripts was developed to launch reduction pipelines by using individual, editable input parameter files. These scripts are used to produce the necessary calibration data (several FITS- and ASCII files) and to generate the final result, a wavelength calibrated data cube from which the instrumental signature is removed. The final FITS data cube comprises 32 by 32 spatial pixels (monochromatic images) and 2560 spectral pixels. 380 c Copyright 2004 Astronomical Society of the Pacific. All rights reserved.


Data Reduction Software for SPIFFI 2. Short Description of the Instrument

381

The heart of SPIFFI is an image slicer. The image slicer consists of two components, called the small and large slicer, which are a set of small plane mirrors with different tilt angles. It dissects the field of view in the ob ject plane into 32 pieces and rearranges them on a brickwall pattern like pseudo longslit consisting of so-called slitlets. Afterwards, each spatial pixel is dispersed by a grating and pro jected on a 1K detector. The result is a raw detector frame comprising 32x32 (1024) spatial pixels (x-direction) and 1024 undersampled spectral pixels (y-direction) (Eisenhauer et al. 2000, 2003). Figure 1 (left hand side) shows an example of a K-band raw frame gained from a Neon arc lamp placed in an integrating sphere. The emission lines (indicating the slitlets) arranged in a brickwall pattern can be seen clearly. Such emission line frames are used to generate wavelength maps that associate pixel positions with wavelength values.

3.

Data Flow

The reduction steps are sky-subtraction, flat-fielding, bad pixel interpolation, correction of a spectral tilt relative to the image columns, interleaving of two spectrally dithered frames to achieve fully sampled spectra, resampling on a linearized wavelength scale, data cube construction and combination of jittered (mosaicked) cubes. Necessary calibration files are FITS frames like flatfields, dark frames, bad pixel masks, wavelength maps, and ASCII files containing parameters like the slope of the spectral tilt and the distances of the slitlets to each other. They can also be produced in a pipeline like manner using different Python scripts.

4.

Data Cube Construction

Figure 1 (right hand side) depicts an interleaved and wavelength calibrated Neon frame resampled on a regular linear wavelength grid in which each row has a defined wavelength (the brickwall pattern and slit curvature disappeared). Each row of such a resampled, wavelength calibrated frame yields one monochromatic 32x32 pixel image by stacking the slitlets on each other keeping the correct sequence. To be able to construct these images the distances of the slitlets to each other must be known. They are measured by using a slit illuminated by a halogen lamp that generates continuum spectra perpendicular to the slitlets. After fitting the positions of the spectra the average distances are calculated. The resulting monochromatic images are stacked behind each other in z-direction to form a cube with 2560 spectral pixels which is stored as a FITS data cube. Figure 2 shows an example of mosaicked jittered cubes: a collapsed cube of the galactic center (Eisenhauer et al. 2003). 26 single cubes were merged into a 128x146x2560 pixel cube (192 MBytes).


382

Schreiber, Thatte, Eisenhauer, Tecza, Abuter, & Horrobin

Figure 1. Raw (left) and interleaved, resampled and wavelength calibrated (right) Neon arc lamp frame


Data Reduction Software for SPIFFI

383

Figure 2. 5.

Mosaicked collapsed data cube of the galactic center

Summary and Conclusions · First science data was successfully reduced by applying the available Python scripts. · The software will be implemented in ESO's Common Pipeline Library (CPL) and used for the SINFONI online pipeline. · Software to convert the SPIFFI data cube to the Euro3D data format is already developed. · The software is easily expandable for example for a planned 2K detector.

Acknowledgments. We want to thank Christoph Iserlohe, Nicolas Devillard, and Andrea Modigliani for their important contributions to this work. References Devillard, N. 1999 in ASP Conf. Ser., Vol. 172, ADASS VIII, ed. D. M. Mehringer, R. L. Plante, & D. A. Roberts (San Francisco: ASP), 333 Eisenhauer, F., Tecza, M., Mengel, S., Thatte, N., Rohrle, C., Bickert, K., & Ё Schreiber, J. 2000, Proc. SPIE, 4008, 289 Eisenhauer, F. et al. 2003, The ESO Messenger 113, 17