There is a selection of estimators by which representative
values for each bin are determined. There are several options to
make the fit more accurate. Values beyond upper and lower
thresholds may be excluded from the binning. Bad pixels are also
excluded, so prior masking may help to find the background more
rapidly.
-sigma clipping of the fitted bins is available
so that the fit is not biased by anomalous bins, such as those
entirely within an extended object. If a given bin contains more
than a prescribed fraction of bad pixels, it is excluded from the
fit.
The data array representing the background is evaluated at each pixel by one of two methods. It is written to the output NDF structure.
The raw binned data, the weights, the fitted binned data and the residuals to the fit may be written to a logfile. This also keeps a record of the input parameters and the rms error of the fit.
For further details of the CHEBYSHEV variant see SGP/38. The CHEBYSHEV variant includes the fitting variance for each coefficient.
The BSPLINE variant structure is provisional. It contain the spline coefficients in the two-dimensional DATA_ARRAY component, the knots in XKNOTS and YKNOTS arrays, and a scaling factor to restore the original values in SCALE. All of these components have type _REAL.
Also stored in the SURFACEFIT extension is the r.m.s. deviation to the fit (component RMS); and the co-ordinate system component COSYS, set to "GRID".
Click here
to see an example plot
(67k). It shows IRAS data, raw to the left, and sky-subtracted to the
right.
KAPPA --- Kernel Application Package