IRAF Hectospec Data Reduction Package
Modification History

    addshift - Shift database ap reference file to match file being extracted
      add150 - Add 150 to aperture numbers in a Hectospec map database file
      add122 - Add 122 to aperture numbers in a Hectochelle map database file
       bplot - Batch plots of spectra
   chipmerge - Merge multispec files from two chips into one file using imjoin
   compshift - Find x and y shifts of one spectrum image relative to another
   doredleak - Remove red leak flux from a list of files
     fibarea - Compute fiber area and write to header as FIBAREA
   fibercorr - Correct fiber spectra for geometry and fiber transmission
    filename - Return file name from path name 
    fileroot - Return the root and extension parts of a filename
 freidentify - IRAF reidentify task with extra fit for addfeatures option
    gaincorr - Correct each amplifier for gain
    maketran - Make transmission correction function image from sky flat
   makenorm1 - Make pixel to pixel variation multispec image from dome flat
    getrange - Get nth value from range of numbers
      habsky - Divide extracted multispec spectra by sky absorption spectra
     habsky1 - Divide extracted multispec spectra by sky absorption for one file
     haphead - Set APID information plus fiber area in scopy'ed spectrum
        hcal - Compute Hectospec dispersion functions from calibration spectra
    hcombine - Combine merged images, eliminating cosmic rays
     hcosbad - Locate and flag cosmic rays in multiple exposures of a pointing
     hcoslim - Make a cosmic ray limit image from a median image
    hextract - Extract multifiber spectra from image to IRAF multispec file
     hfixwcs - Add IRAF WCS keywords to Hectospec multispec image headers
       hflat - Perform pixel-to-pixel/fringing correction on image spectra
       hgeom - Correct multispec images for focal plane geometry
      hgeom1 - Correct multispec image for focal plane geometry
        hlin - Produce spectra which are linear in wavelength
       hlin1 - Produce spectra which are linear in wavelength for one file
      hmerge - Merge four Hectospec amplifiers into a single image
     hcosmic - Remove cosmic rays from multiple exposures of a pointing
       hnorm - Perform pixel-to-pixel/fringing correction on extracted spectra
   hpixshift - Compute mean spectrum shift for nonlinear multispec spectra
  hpixshift1 - Compute mean spectrum shift for nonlinear multispec spectrum file
       hproc - Correct images for preamp, bad pixels, overscan, gain and merge
      hproc1 - Correct image for preamp, bad pixels, overscan, gain and merge
      hsproc - Process Hectospec data from raw images to sky-removed spectra
      hrefit - Re-remove sky from 3-band multispec files with obj,obj+sky,sky
   hredleak1 - Fit and remove 'red leak' continuum from spectra in one file
   hscombine - Combine extracted multispec images, eliminating cosmic rays
       hsmix - Combine spectra from different pointings of the same field
    hskyproc - Remove background from 1d fiber spectra
   hskyshift - Compute mean spectrum shift and apply to spectra
      hsplit - Create 1-D spectra from file of 300 multispec spectra
     hmsplit - Create 1-D spectra from files of 300 multispec spectra
    hsmapfix - Fix object names and eliminate extra spaces in map file
 hsmapfix172 - Set aperture 172 to unused in map files
 hsmapfix222 - Set aperture 222 to unused in map files
      hshift - Compute shifts between two images based on cross-correlation of regions
       htran - Correct multispec images for fiber throughput variations
      htran1 - Correct multispec image for fiber throughput variations
   idcombine - Combine aperture assignment tables from two chips into one
    identify - Identify features in spectrum for dispersion solution
    makeflat - Make 2-D pixel-to-pixel/fringing correction file using apflatten
    makenorm - Make multispec pixel-to-pixel/fringing correction file
    maketest - Process raw hectospec image and merge amps
    maketran - Make multispec fiber transmission correction file
    msresp1d - Create 1D response spectra from flat field and sky spectra
   preampfix - Fix errors called by preamp problem
 redleakcorr - Remove red leak flux from a single spectrum file
       reref - Add shift and stretch to id entry in database
  setairmass - Compute effective airmass and middle UT for an exposure
       setjd - Compute and set Julian dates in images
     shiftap - Shift database ap reference file to match file being extracted
     skyfit1 - Fit sky spectrum to object+sky and remove, savaing all three
     skyproc - Remove background scaled by running emsao on a line
     skemsao - Parameters for rvsao.emsao when it is used by skyproc
     skxcsao - Parameters for rvsao.emsao when it is used by skyproc
      skexpr - Parameters for imutil.imexpr when it is used by skyproc
     skstack - Parameters for imutil.imstack when it is used by skyproc
      smatch - Find out whether one string contains another string
    specplot - Stack and plot multiple spectra
   specshift - Shift spectral dispersion coordinate systems