qstatistics: Calculate image statistics for multi-amplifier CCD images
Package: quadred
Usage
qstatistics images
Parameters
- images
- List of image names in quadformat.
- 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.
The remaining parameters come from the imstatistics task.
Description
This script tasks uses the quadsections task to break the quadformat data into separate sections and runs the imstatistics task on the sections.
Examples
1. To compute the mean and stddev of the data section.
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.
2. To compute the mean and stdev of the bias section.
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
See also
quadformat, quadsections, imstatistics