OSICLEAN
Name
osiclean
Purpose
Automatic cleaning of bad and low signal data from OSIRIS XD spectrum
Description
Category
Spectroscopy
Calling Sequence
osiclean,calib,spec,bad
Inputs
calib - Calibration structure (see ldcalir for description).
spec - Input spectrum to be cleaned up.
bad - Array of flags for each point. 0=good, 1=bad.
Optional Input Parameters
Keyword Input Parameters
DVAL - Used for cleaning a set of spectra. This is the threshold relative
to unity for clipping the ratio of a spectrum against the set
average. (default=10)
SILENT - Flag, if set suppresses the conversational printout.
Outputs
bad - Array of flags for each point. 0=good, 1=bad.
Keyword Output Parameters
Common Blocks
Side Effects
Restrictions
Procedure
Modification History
98/07/08, Written by Marc W. Buie, Lowell Observatory
98/07/22, MWB, added protection against NaN values (automatically bad).
98/07/24, MWB, added set cleaner (when given more than one spectrum).