OPTSCL -- scales image to reach minimum Chi**2
This routine should be run immediately after a fake image has been set
up, and prior to running memit. Its purpose is to correct for a poor
choice of initial image. The reason is that inside memit the image is
only allowed to change by a small fraction each iterattion and if it
is far out the first iterations are spent just trying to get the scaling
right. This can be done much more quickly with optscl.
FIGARO parameters:
IMAGE -- Input image file to load
DATA -- Data file containing data and errors which will be used
to iterate towards an image.
GLOBAL -- TRUE then a single parameter is optimised for all the images.
FALSE then each image is separately re-scaled.
If NWAVE=1, GLOBAL = TRUE or FALSE is the same and
so it is not requested.
OUTPUT -- Output re-scaled image
This command belongs to the classes: