Removing a Spectrum's Continuum using
contsum is an IRAF pset which sets the parameters to be used to
fit the continuum of spectra prior to or after summing them.
A pset is basically a free-standing parameter file which can
be used by several tasks. In this case, these parameters are only used
A similar pset, contpars, is used by
xcsao and emsao.
The parameters are used by the subroutine, icsubcon, which is
used by all three of the above tasks.
Remove continuum for line search (ICSUBCON)
The IRAF curve fitting subroutines may be used interactively by setting
c_interactive to yes.
In this case, a
graph of the fit and the spectrum is displayed,
and the result may be examined or refit after individual pixels are removed.
Aq command is needed to exit from the interactive graph.
A function, spline1, spline3, legendre, or chebyshev, which
is specified by c_function
of order order
is used for the continuum fit.
The portion of the spectra to be fit is the image section specified by
sample, averaged in groups of
Points outside of limits
s_high_reject, specified in
standard deviations of the fit, are eliminated through
niterate iterations, with
grow pixels rejected on each
side of the rejected point at each iteration.
is yes, the spectrum is plotted with the continuum removed.