| offsets | stsdas.analysis.dither | offsets |
offsets -- Builds a set of 4 cross-correlation images from a single multi-group WFPC image and a multi-group reference WFPC image.
offsets image refimage output
This task is a simple script that calls the crossdriz task 4 times in sequence, to process the 4 groups in a single WFPC image. It supports image lists/templates as well. In this case the input and output lists must be paired (one output image for each input image). Only one reference image can be input, and the resulting cross-correlation images will all be in reference to that single image.
This task is appropriate when one has WFPC2 images which are shifted with respect to one another, or shifted and rotated by at most a small angle.
The following line takes the output files from precor (which appends _obj to input file names) and cross-correlates images from positions 2,3,4 with an image from position 1. The output file naming convention chosen here displays the images used in the cross-correlation. The default settings are used, so the images will be drizzled before cross-correlation. This is appropriate in the case of WFPC2 when the likely shifts are more than a few pixels, and geometric distortion in WFPC2 will therefore reduce the cross-correlation if not removed.
di> offset pos2_obj,pos3_obj,pos4_obj pos1_obj pos2x1,pos3x1,pos4x1
This task was written by I.Busko in collaboration with A. Fruchter