(up to [wiki:DvoTools dvoTools]) USAGE: dvoMakeCorr -file (input) -ref (refimage) output this program is used to convert the focal-plane flat-field correction data, produced by [wiki:Relphot relphot], into full-frame images which may be used to correct the flat-field images. The input data is a file containing a representation of the camera flat-field correction gridded into large super-pixels, with flat-field corrections measured in magnitudes. The output is an image with pixels matching the raw images from the given detector, smoothly interpolated from the super-pixels in the input image. The reference image is used to define the layout of the pixel, essentially the collection of TRIMSEC values for each chip/amp. The current (2007.02.14) version works for megacam images. Some outstanding issues: * is it failing to free memory as it runs through the loop? * the ref file format seems to override or replace the input file format * the output image is in Cells, not Chips. can this be adjusted by setting the output format field? * the output image is missing a leading blank PHU : did paul's changes fix this? * DVO/relphot is currently producing an output file which is missing important keywords. It also has extra extensions; are these OK? * make sure the output image is carrying the filter information (supplied by the input image).