I C S E T
Figaro function to set a selected region of an image to a constant
value. This is a modification of the standard FIGARO program
NCSET to handle 2-D data arrays (which in turn is a non-interactive
version of CSET, but has the possible advantage of allowing the
region to be specified precisely in terms of the X values of the
data).
This program overcomes the limitations of CLEAN or BCLEAN (qv)
which inherently assume the data to be modified is in the rows
of the input array. This may not be the case for CCD images, and
certainly not for 2-D spectra where modification of data over a
specified wavelength region is most often required.
USES:
Anticipated uses are patching out of dud columns in a CCD image,
or removal of data over a specified wavelength range (whose X
limits are supplied by the user). The latter may be used to remove
residuals after less-than-perfect sky subtraction.
Command parameters -
IMAGE (Character) The image to be modified.
YSTART (Numeric) The Y-value of the start of the region.
YEND (Numeric) The Y-value of the end of the region.
XSTART (Numeric) The X-value of the start of the region.
XEND (Numeric) The X-value of the end of the region.
VALUE (Numeric) The value to use for the selected region.
OUTPUT (Character) The name of the output file to
be created. If this is the same as the input
image, the data will be modified in situ.
Command keywords - None
User variables used - None
KS / CIT 27th March 1985
FIGARO A general data reduction system