polfit


 POLFIT  -- fits polynomial to 1D data. Bad pixels are rejected.

 The function is fitted only to good pixels but it is evaluated over
 the whole spectrum. Bad values at the ends are replaced by linear
 extrapolation from the last good values.

 Parameters:

  INPUT        -- The input spectrum file
 
  OUTPUT       -- Output spectrum file.

  NPOLY        -- Number of fit coefficients for polynomials

  THRLO,THRHI  -- The reject thresholds for the fit.

  NCYCLE       -- Maximum number of reject cycles
  
  PLOT         -- .TRUE. for option of plotting

  DEVICE       -- Plot device

This command belongs to the class: fitting


Tom Marsh, Warwick