|
Michelle Data Reduction and File structure |
Michelle raw data files, and the product files of the reduction scripts, are all multi-extension FITS files. In the raw data files each extension contains the image data for a single NOD position. All the data for a given observation are contained in a single file, so the number of extensions in a raw data file is equal to the number of nod positions used in the observation. A long imaging observation may have dozens of extensions, depending on the number of ABBA nod cycles which are done. For consistency with T-ReCS the raw data images are four dimenional, the two normal imaging dimensions, one additional dimension for the chop position, and a dummy fourth dimension.
IRAF tools have been developed by Gemini staff to expedite reduction of these files. Scripts for basic imaging and spectral data processing of Michelle and T-ReCS data have been released as part of the Gemini IRAF package. These are found in the midir package under the main gemini IRAF package. Tasks are also available for very basic imaging polarimetry reductions, but these should normally be used just to obtain images at the different waveplate positions. These images should then be further reduced in a dedicated polarimetry package outside of IRAF, such as the Starlink software. There is very little in the way of polarimetry tasks in core IRAF, and so it has not been possible to develop a comprehensive polarimetry reduction package for support of Michelle imaging polarimetry.
To produce final coadded, chop-subtracted and nod-subtracted data files, for normal imaging mode, the simplest reduction would be to use:
If the default parameters for mireduce are being used, this command will cause the individual images for each nod to be stacked, resulting in one image of size 320 by 240 pixels containing the resultant image. It is possible to also add the images with registration, should this be needed. Note that currently this does not work properly for imaging polarimetry files, which are handled slightly differently.
There are tasks in the midir package for examining the individual nod images to flag any that may be bad, in which case these will be omitted in the processing. Also if a data file is from an observation that was not completed normally it may be necessary to use the rescue option in mireduce. See the documentation in the midir pacakge for more details. Some further discussion is given here.
It is found that registration of different waveplate images is essential for deriving accurate polarization values. For this reason the polarimetry reductions are not done automatically in the mireduce script. The reduction consists of first preparing the files with mprepare, examining the resulting images to see how registration should be done as well as to estimate the noise level in the images, and then carrying out further reduction steps using the imaging polarimetry tasks from the package (usually one or more of mipstack, miptrans, mipstokes, and mikpsstk).
There is now a spectral reduction pipeline task in the midir package, which is called msreduce. This can be used either with a spectrum of a single object or with two spectra, one for the science object and one for a telluric standard. In the former case a wavelength calibrated raw spectrum is produced. In the latter case a calibrated output spectrum can be obtained. The reduction process is described in detail here.
To produce a flat:
Wavelength calibrations for spectra are obtained from spectra of sky emission lines or from absorption lines observed in calibration stars. For low resolution spectra the spectral reduction page shows how to identify the atmospheric features.
Last update February 18, 2006; Scott Fisher, Tom Geballe, and Kevin Volk