| quality | stsdas.hst_calib.hrs.z_calib | quality |
quality -- Generate GHRS diode quality image.
quality diodemap dark dqin dqout
This task updates a data quality image by locating dead diodes in a diode response image (specified by the diodemap parameter) and noisy diodes in a dark count image (specified by the dark parameter). Diodes are considered dead if the input diode response in diodemap is less than the threshold value dthresh. Diodes are considered noisy if the input dark rate in dark is greater than the threshold value nthresh. Both dthresh and nthresh are specified by the user. Only the 500 diodes on the main diode array are evaluated by this task.
An output data quality image of length 512 is created by taking an optional input data quality image and placing a value specified by dflag in locations of dead diodes and by the value of nflag in locations of noisy diodes. If a diode is determined to be both noisy and dead, then the flag having the higher value (the more serious condition) is used. All flags in the input data quality image are retained in the output data quality image. The data quality value in the input image is never replaced with a lower data quality value.
1. Update the data quality values in the image dq1 using the diode response image dmap and the dark rate image dark. Flag those diodes having a dark rate above 0.005 counts per second as noisy. Place the updated image in a image called dq1a.
hr> quality dmap dark dq1 dq1a nthresh=0.005
For assistance using this or any other tasks, please contact help@stsci.edu or call the help desk at 410-338-1082.