Clean SCUBA-2 time-series data
flag entire bolometer data streams as bad based on a threshold fraction of bad samples;
removing large-scale detector drifts by fitting and removing low-order polynomial baselines;
identifying and repairing DC steps;
flagging spikes;
replacing spikes and other gaps in the data with a constrained realization of noise; and
applying other frequency-domain filters, such as a high-pass or correction of the DA system response.
All the above operations can be performed on the dark squid data. These take the same parameters
used for cleaning the primary bolometer data but use the "
cleandk"
namespace. For example, "
dcthresh"
would become "
cleandk.dcthresh"
.
"
def"
(case-insensitive) or a null (!) value is supplied, a set of default configuration parameter values will be
used.
The supplied value should be either a comma-separated list of strings or the name of a text file preceded by an
up-arrow character "
"
, containing one or more comma-separated lists of strings. Each string is either a "
keyword=value"
setting, or the name of a text file preceded by an up-arrow character "
"
. Such
text files should contain further comma-separated lists which will be read and interpreted in the same
manner (any blank lines or lines beginning with "
#"
are ignored). Within a text file, newlines can be
used as delimiters, as well as commas. Settings are applied in the order in which they
occur within the list, with later settings over-riding any earlier settings given for the same
keyword.
Each individual setting should be of the form:
<keyword>=<value>
The available parameters are identical to the cleaning parameters used by the iterative map-maker
(method=ITER) and the available parameters are listed in the "
Configuration Parameters"
appendix
of SUN/258. Default values will be used for any unspecified parameters. Assigning the value "
<def>"
(case insensitive) to a keyword has the effect of resetting it to its default value. Options available to the
map-maker but not understood by SC2CLEAN will be ignored. Parameters not understood will
trigger an error. Use the "
cleandk."
namespace for configuring cleaning parameters for the dark
squids. [current value]
"
^
"
syntax. An
example can be found in $STARLINK_DIR/share/smurf/resist.cfg [$STARLINK_DIR/share/smurf/resist.cfg] The default values and allowed parameters can be found in $SMURF_DIR/smurf_sc2clean.def
An iterative map-maker config file can be used.