HIRES Data Reduction [v1.0; April 2005]

HIRES Suggested Calibrations

Pre-Reduction Setup

     Setup

Initial Setup (Repeat for each night)

  1. Create a new directory for the night (e.g. 08sep04) and enter it
  2. Create a 'Raw/' directory and put all the raw data in it.
  3. If the filenames do not read hires####.fits it is quite likely the code will be unhappy
  4. gzip the data (gzip *.fits)
  5. Launch idl in the directory above Raw/ :: (e.g. idl -32 or idlde -32)
  6. hires_strct :: Create the HIRES structure.

  7. hires_editstrct :: Modify the HIRES structure. The previous step creates the structure and takes a guess at the initial values of many of the tags based on the header card info. It is difficult, however, to automate all of the values for the tags and therefore the user should carefully check the structure. Also, the user should set flg_anly = 0 for all of images which should be ignored during data reduction (bad flats, etc.). For most of the important tags, one can use hires_editstrct. The rest must be done from the command line by hand or through a simple IDL script (recommended). The obvious tags to modify are:

  8. hires_updstrct :: Append new files to the current structure. This is mainly useful at the telescope as you are taking new data. The code simply searches the Raw directory, notes any new files, and adds them to the structure.
  9.     Example: IDL> hires_updstrct, hires
        Time : Fast
  10. You know the code is working   right when it finds the files.

  11. hires_wrstrct :: Write the HIRES structure to disk. In IDL you can modify the values of any of the tags. You can then save the structure in fits form and rewrite the ASCII file with the routine hires_wrstrct.
        Example: IDL> hires_wrstrct, hires, FITS='hires_name.fits'
        Time : fast

  12. If you exit (or crash) IDL, you will need to read the structure back in.
    hires_ar :: Read the HIRES structure from disk. If no name is given, the file looks for the first fits file starting 'hires' that contains a '_'.
        Example: IDL> hires = hires_ar()
        Example: IDL> hires = hires_ar('hires_name.fits')
        Time : fast
  13. You know the code is working   right when IDL> help, hires, /str
    lists the structure.

Setup

     Calibrations

Create Bias (Zero) frames [Optional and NOT recommended]

Set Gain

Process Flats

Arc Images

Slit Profile


     Extraction

Process the Image

Identify and Trace the Object

Sky Subtraction

Extraction

Standard Star (Optional, and recommended)

Flux



Last modified 2004-08-31