tpoly

 TPOLY N1 N2 N3 NPOLY THRLO THRHI NREJ CREM -- Removes polynomial from every 
                         wavelength, fitting as a function of HJD.

 Masked data will be ignored and nothing will be subtracted from it.

 Parameters: 
     
  N1    -- Slot number of first spectrum to fit
  N2    -- Slot number of last spectrum to fit
  N3    -- Slot of first output spectrum with polynomials subtracted 
  NPOLY -- Number of coefficients of polynomial to subtract
  THRLO -- Lower sigma reject threshold
  THRHI -- Upper sigma reject threshold
  NREJ  -- Number of reject cycles
  CREM  -- Yes to remove constant part along with higher order poly terms

  
Related command: sdec

This command belongs to the classes: time_series , binary , fitting


Tom Marsh, Warwick