The new MaskGUI

The code modifications enable the (automatic) use of a curve reference file which approximates the observed shape of the spectra and is shifted to best match it. The sky windows are now being computed with the same shape as the curve reference, and offset from the observed spectrum by a fixed number of pixels (different for the UT and AT cases). In order to visualize the choice of the sky windows (hidden in oirChopPhotoImages.c), maskgui has been modified to display the sky window borders.

In the new version of the mask GUI, yellow (curved) lines delineate the areas above and below the spectrum used for the sky subtraction. They are only shown if either Photometry A or B are selected for the background image.

Furthermore, by dragging the cursor across the drawing area, brightness and contrast change so that they can be adjusted for better background display.