### SCUBA2_REMOVE_BACKGROUND

Remove a background from SCUBA-2 images

#### Description:

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.

#### Notes:

• Creates an output file for each input file with a suffix $<$_back$>$.

• The background estimate is likely to be poor for images that contain extended sources.

#### Available Parameters :

##### The following parameters can be set via the -recpars option:
Flag to denote whether to mask the source before removing the background. Default is 0 (do not mask the source).
##### 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.

None.