>  Docs Center  >  Libraries  >  Buie  >  CLNSPEC
Libraries

CLNSPEC

CLNSPEC

Name


  clnspec

Purpose


  Interactive cleaning of bad pixels in an OSIRIS XD spectrum.

Description


  Plots one order at a time and allows cleaning up bad pixels. The left
    mouse button is used to alternately mark bad pixels and then their new
    new value for visual interpolating. The middle button causes the
    nearest point to be replaced by the average of its two nearest
    neighbors. CLEANDAT is called on each order.

Category


  Spectroscopy

Calling Sequence


  clnspec,calib,spec

Inputs


  calib- Anonymous structure containing all pertinent calibration
          information. This structure is usually loaded beforehand using
          the routine, "ldcalir"
  spec - 1-D spectrum vector to be cleanded (will be modified in place).

Optional Input Parameters


Keyword Input Parameters


Outputs


  spec - Cleaned 1-D spectrum vector

Keyword Output Parameters


Common Blocks


Side Effects


  Uses graphics window 6 and forces its size. !p.multi is also set to 0.

Restrictions


Procedure


Modification History


  95/09/15, Written by Marc W. Buie, Lowell Observatory
  96/05/28, MWB, added changes for new calib structure



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