Produces a master from a set of bias frames
"
master bias"
frame in which the
noise levels are reduced. This master bias frame can then be used to de-bias other CCD frames (using
DEBIAS). Using the given readout noise an, optional, variance component may be produced for the
output data. The use of a variance component allows the effects of noise in bias subtraction to be
properly monitored.
MAKEBIAS also performs other functions during processing, such as estimating the readout noise (which it displays for comparison with the nominal value), estimating the data levels, zeroing the average value of the input data before combination (to more closely follow any drifts in the zero level) and also supports many different methods for performing the bias-frame data combination. The combination methods offer a mixture of very robust (median) to very efficient (mean) estimators.
"
TRIMMED"
[0.2] If a global value has been set using CCDSETUP this value will be used, and will be shown as the default. [FALSE]
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]
"
THRESH"
then this value defines the upper limit for values which can be used when combining data. Note that
the value used for this parameter will not be corrected for zero pointing. Hence if the output image is
to be zeroed then the maximum value should be a offset from zero (say some positive number 2 or 3
sigmas large). This could be used as a form of sigma clipping if no variances are to be
generated. MEAN – Mean of the input data values
MEDIAN – Weighted median of the input data values
TRIMMED – An "
alpha trimmed mean"
in which a fraction alpha of the values are removed from
each extreme
MODE – An iteratively "
sigma clipped"
mean which approximates to the modal value
SIGMA – A sigma clipped mean
THRESHOLD – Mean with values above and below given limits removed
MINMAX – Mean with the highest and lowest values removed
BROADENED – A broadened median (the mean of a small number of central values)
FASTMED – Unweighted median of the input data values
See also “Image combination techniques”.
[MEDIAN]
"
THRESH"
then this value defines the lower limit
for values which can be used when combining the data. Note that the value used for this parameter
will not be corrected for zero pointing. Hence if the output image is to be zeroed then the minimum
value should be a offset from zero (say some negative number 2 or 3 sigmas large). This
could be used as a form of sigma clipping if no variances are to be generated. "
MODE"
. [7] If a global value has been set using CCDSETUP then this will be used. [TRUE]
The value of this parameter may not be used if the USEEXT parameter is TRUE and will not be used if GENVAR is FALSE (i.e. no variances are being generated). If USEEXT is TRUE then readout noise values will be extracted from the images CCDPACK extensions. Only if a suitable value is not present will the value associated with this parameter be used.
If a global value has been set up using CCDSETUP this value will be used, and will be shown as the default. If USESET is true, a global value specific to each image’s Set Index value will be sought. [Dynamically derived value]
"
MODE"
, "
SIGMA"
and "
CLIPMED"
methods. For
METHOD = "
MODE"
the standard deviation is estimated from the population of values. For
METHOD = "
SIGMA"
and "
CLIPMED"
this value is the readout noise. [4] "
imported"
using the programs
PRESENT or IMPORT. Typically it is used when processing using CCDPACK’s "
automated"
methods.
Values obtained from the CCDPACK extension are identified in the output log by the presence of a trailing asterisk (∗). [FALSE]
If a global value for this parameter has been set using CCDSETUP then that value will be used. [FALSE]
’
"
b1,b2,b3,b4,b5"
’
method=median out=mbias rnoise=10 ^
bias_frames.lis
out=master_bias ’
∗’
out=master_bias If a variance component is present it will not be propagated.
"
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:
RNOISE – dynamic value (but see below)
TITLE – always "
Output from MAKEBIAS"
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, RNOISE, GENVAR, PRESERVE and USESET) have global values. These global values will always take precedence, except when an assignment is made on the command line. Global values may be set and reset using the CCDSETUP and CCDCLEAR commands. If USESET is true then a global value of RNOISE specific to the Set Index of each image will be used if one is available.
The parameter RNOISE will not be used if the USEEXT parameter is set TRUE. In this case values will be obtained from the input images CCDPACK extensions.
The routine supports BAD pixels and all numeric data types except COMPLEX. All combinational arithmetic is performed using floating values. The UNITS, AXIS and TITLE components are correctly propagated. Any input variances are ignored.