Divides a series of images by a flatfield
The calibration master frame (parameter FLAT) is never deleted.
The default for this parameter is TRUE and this cannot be overridden except by assignment on the command line or in response to a forced prompt. [TRUE]
If the logging system has been initialised using CCDSETUP, then the value specified there will be
used. Otherwise, the default is "
CCDPACK.LOG"
. [CCDPACK.LOG]
TERMINAL – Send output to the terminal only
LOGFILE – Send output to the logfile only (see the LOGFILE parameter)
BOTH – Send output to both the terminal and the logfile
NEITHER – Produce no output at all
If the logging system has been initialised using CCDSETUP then the value specified there will be
used. Otherwise, the default is "
BOTH"
. [BOTH]
"
∗"
which means call each of the output images the same name as the corresponding input images.
So:
IN >
∗
OUT >
∗
signifies that all the images in the current directory should be used and the output images should have the same names.
Other types of modification can also occur, such as:
OUT > tmp_∗
which means call the output images the same as the input images but put tmp_ in front of the names. Replacement of a specified string with another in the output file names can also be used:
OUT > tmp_∗|debias|flattened|
this replaces the string debias with flattened in any of the output names tmp_∗.
If a global value for this parameter has been set using CCDSETUP then this will be used. [TRUE]
If a global value for this parameter has been set using CCDSETUP then that value will be used. [FALSE]
’
∗’
out=’
∗_flattened’
flat=master_flatr "
_flattened"
appended to the filename. If any of the input data have had their saturation values set by applications not within CCDPACK, then this routine will require this information if the values are to be propagated properly. If more than one saturation value has been used then the input frames will need to be processed singly. This is because FLATCOR only uses one saturation value per input group. If the saturation values have been set within CCDPACK (by DEBIAS) these will be processed correctly and may be different.
"
current"
value
is the value assigned on the last run of the application. If the application has not been run then the
"
intrinsic"
defaults, as shown in the parameter help, apply. The exceptions to this rule are:
TITLE – always "
Output from FLATCOR"
KEEPIN – always TRUE
Retaining parameter values has the advantage of allowing you to define the default behaviour of the application but does mean that additional care needs to be taken when using the application on new datasets/different devices, or after a break of sometime. The intrinsic default behaviour of the application may be restored by using the RESET keyword on the command line.
Certain parameters (LOGTO, LOGFILE, PRESERVE, FLAT and USESET) have global values. These global values will always take precedence, except when an assignment is made on the command line. In general global values may be set and reset using the CCDSETUP and CCDCLEAR commands, however, the FLAT parameter may only be set by a run of the application MAKEFLAT.
Supports processing of all non-complex numeric types. BAD pixels are processed as are all NDF components.