Name

deep2iraf

Purpose

The deep2iraf.cl task provides a quick-and-dirty way to convert spectra generated by the DEEP2 DEIMOS data reduction pipeline into a format readable by IRAF.

Type

IRAF CL script

Author

Gregory D. Wirth, W. M. Keck Observatory

Installation

  1. install this file in your home iraf directory
  2. execute (or add to your loginuser.cl file) this line:
    task deep2iraf = home$deep2iraf.cl

Examples

  1. Convert DEEP2 spectrum into IRAF-compatible image koo.fits:
    deep2iraf spec1d.KTRS02.031.1833.fits out=koo.fits
  2. Run "mysplot" on the DEEP2 spectrum without leaving a new file behind:
    deep2iraf spec1d.KTRS02.031.1833.fits domysplot+

Restrictions

Must be run from a directory in which the user has access to generate temporary files.

Side Effects

The resulting spectrum is linearized and hence rebinned. CAVEAT EMPTOR!!!