pfit

command list , class list , introduction .
 PFIT N1 N2 N3 NPOLY THRLO THRHI NREJ WFAC SET -- Fits polynomial to spectra

 Selection criteria apply. 

 Parameters: 
     
  N1    -- Slot number of first spectrum to fit 
  N2    -- Slot number of last spectrum to fit
  N3    -- First slot to put results
  NPOLY -- Number of polynomial coefficients
  THRLO -- Lower rejection threshold (sigma)
  THRHI -- Upper rejection threshold (sigma)
  NREJ  -- Number of reject cycles.
  WFAC  -- Softens weights. 1 gives unit weights, 0 no change, anything 
           in between changes variances softening according to
           V' = (1-WFAC)*V+WFAC*VBAR where VBAR is the mean variance
  SET   -- Set mask or not.

This command belongs to the classes: fitting .


Tom Marsh, trm@astro.soton.ac.uk, Tue Oct 27 08:56:34 1998 .