.help qstatistics Aug01 noao.imred.quadred
.ih
NAME
qstatistics -- Compute and print statistics for multi-amp data
.ih
USAGE
qstatistics images
.ih
PARAMETERS
.ls images
List of image names in \fBquadformat\fR.
.le
.ls window = "datasec" (datasec|trimsec|biassec)
Type of section to output.  The choices are "datasec" for the amplifier
section which includes the bias if any is present, "trimsec" for the trim
section, and "biassec" for the bias section.
.le

The remaining parameters come from the \fBimstatistics\fR task.
.ih
DESCRIPTION
This script tasks uses the \fBquadsections\fR task to break the
\fBquadformat\fR data into separate sections and runs the \fBimstatistics\fR
task on the sections.
.ih
EXAMPLES

1. To compute the mean and stddev of the data section.

.nf
    qu> qstat quad0072 fields=image,mean,stddev
    #               IMAGE      MEAN    STDDEV
     quad0072[1:1034,1:1024]     5537.     2647.
     quad0072[1163:2196,1:1024]     6210.     5439.
     quad0072[1:1034,1025:2048]     5364.     2535.
     quad0072[1163:2196,1025:2048]     5862.     1327.
.fi

2. To compute the mean and stdev of the bias section.

.nf
    qu> qstat quad0072 fields=image,mean,stddev window=biassec
    #               IMAGE      MEAN    STDDEV
     quad0072[1045:1098,1:1024]      713.     1.272
     quad0072[1099:1152,1:1024]     516.2     1.425
     quad0072[1045:1098,1025:2048]     554.3     1.347
     quad0072[1099:1152,1025:2048]     530.3     1.377
.fi
.ih
SEE ALSO
quadformat, quadsections, imstatistics
.endhelp
