>  Docs Center  >  Libraries  >  Buie  >  GETPAIR
Libraries

GETPAIR

GETPAIR

Name


  getpair

Purpose


  Read two OSIRIS XD data files and return the difference strip image.

Description


Category


  Spectroscopy

Calling Sequence


  getpair,calib,root,i1,i2,diff,hdr,RAW=raw

Inputs


  calib- Anonymous structure containing all pertinent calibration
          information. This structure is usually loaded beforehand using
          the routine, "ldcalir"
  root - string containing the root of the file name (with leading path
        if desired).
  i1 - Frame id (integer) of first image.
  i2 - Frame id (integer) of second image.

Optional Input Parameters


Keyword Input Parameters


  RAW - Flag, if true will inhibit the column-wise background subtraction.
          The default is to fit the background in each column (along the
          slit) and subtract the fitted background. Use a linear function
          for the background.

Outputs


  diff - i1-i2 after XD spectra extracted to strip image. (see getstrip)
  hdr - FITS header for image.

Keyword Output Parameters


Common Blocks


Side Effects


Restrictions


  Specifically written for OSIRIS cross-dispersed spectral data.

Procedure


Modification History


  95/03/24, Written by Marc W. Buie, Lowell Observatory
  95/09/15, MWB, added usage of calib structure and return of header.



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us