The program uncorrect performs the uncorrection
procedure. It is run as follows:
usage: uncorrect -i filename [-o outfile] [-C caldir] [-c subr_x -d subr_y -m xmask]
uncorrect will only use the dark, flat, and fringe files that are explicitly named in the corrected image header. The path to these files defaults to the paths specified in the header, or can be overridden with the -C option. The output file defaults to the image root with a _raw.fit extension, so as to distinguish it from the true uncorrected file. The subregion cropped from the original defaults to that specified in the header [need to write this!] or the default cropping from corr_im_fast. This program is fairly fast, but if the online analysis works as planned we should only need to run this program infrequently.