Compares data sets using the Kolmogorov-Smirnov test KSTEST
The probability and maximum separation of the cumulative distribution function is written for each comparison (at the normal reporting level). The mean value of the consistent data and its error are also reported. In all cases the consistent data can be output to a new dataset. The statistics and probabilities are written to results parameters.
"Data"
, "Error"
, "Quality"
or
"Variance"
(where "Error"
is the alternative to "Variance"
and causes the square root
of the variance values to be taken before performing the comparisons). If "Quality"
is
specified, then the quality values are treated as numerical values (in the range 0 to
255). ["Data"]
[0.05]
It may be a list of NDF names or direction specifications separated by
commas. If a list is supplied on the command line, the list must be
enclosed in double quotes. NDF names may include the regular expressions
(""
, "?"
, "[a-z]"
etc.). Indirection may occur through text files (nested up to seven deep). The indirection
character is ""
.
If extra prompt lines are required, append the continuation character "-"
to the end of
the line. Comments in the indirection file begin with the character "#"
.
[3]
!
)–-the suggested default–-prevents creation of this output
dataset. The following applies to all the examples. If the reference dataset and a comparison subsample are consistent, the two merge to form an expanded reference dataset, which is then used for the next comparison. Details of the comparisons are presented.
"obs"
. The variance consistent
with the reference dataset are written to the data array in the NDF called
master. To be consistent, they must be the same at 95% probability. 96lc.lis
. The COMP array MUST exist in each NDF to be compared. The COMP array becomes the data
array in the output dataset. When COMP="Data"
, the variance values corresponding to
consistent data are propagated to the output dataset.
Pixel bounds are ignored for the comparisons.
The internal comparison of a single dataset follows the method outlined in Hughes D., 1993, JCMT-UKIRT Newsletter, #4, p32.
The maximum number of files is 20.
This routine correctly processes DATA, VARIANCE, HISTORY, LABEL, TITLE, and UNITS components, and propagates all extensions. AXIS information is lost. Propagation is from the reference dataset.
Processing of bad pixels and automatic quality masking are supported.
All numeric data types are supported, however, processing uses the _REAL data type, and the output dataset has this type.