Fit and remove a background from one or more SCUBA-2 images. This recipe will work
best on simple images, such as those containing a single, compact source near the map centre.
The following parameters can be set via the -recpars option:
MASK_SOURCE
Flag
to denote whether to mask the source before removing the background. Default is 0 (do not mask the
source).
APERTURE_RADIUS
Radius of aperture (in arcsec) used to mask out source.
Default is about twice the beamsize.
BACKGROUND_FITMETHOD
Method to use for
removing background. May be fitsurface, findback, plane or dc. Default is fitsurface.
FITSURFACE_FITTYPE
Type of fit to use with fitsurface. May be polynomial or spline. Default is
polynomial.
FITSURFACE_FITPAR
Up to two values which define either the order of the
polynomial (for polynomial) or the number of knots (for spline) in the X and Y directions
respectively. A single number means the same value is used for both axes. Default is 2 for
polynomial, 4 for spline.
FITSURFACE_KEEPSURFACE
A flag to denote whether or not
to keep the fitted surface on disk. Useful for debugging purposes. Default is 0 (do not
keep on disk).
FINDBACK_BOX
Size of the box (in pixels) used by findback. Default is
11.
Default values are those used if the parameter is not specified.
None.