Parameters for "ccd40"
This task will reduce the direct images up to [OTZF].
Do not forget that you need a DS9 window before running this task.
If if happens that you have already processed the bias frames while
processing the spectra,
you will have to recover the bias frames from the backup
(Bccd???.fits) files and rename
them to have the "ccd" prefix. This is because for direct
images we need a different
trimming than that used for spectra.
The parameter set for ccd40 is as follows:

The program will search for bias, flats, and objects,
using the header keyword "imagetyp".
You must use the task 'ccdlist' before running this task
to make sure that the images have the correct
"imagetyp" values and the correct filter identification.
If you do not get the pre-defined filter ids (ugBVri),
you will have to edit and modify the filter translation file
"snphot$wfccd.subsets".
Do an implot on one of the flat-field frames, and check that the
overscan ("biassec")
and trim ("trimsec") sections are right, as well as the image
sections for computing
statistics ("statsec") and flat normalization. "ccd40" will use this
information to
1) process the bias images
(you will have a chance to look at the overscan fits),
combine the individual frames, and display the resulting image "Zero";
2) process the dome and sky flats separately according to the "filter" image
keyword, combine them, and display the resulting images Sflat?.fits
and Dflat?.fits
(here you have the choice of selecting either the
dome flat, sky flat, or an illumination flat
constructed with the dome and sky flats); and
3) process the direct images found in the working directory through [OTZF].
If everything goes well, you should get a listing of the processed images
with [OTZF]
next to each spectral image name.
The task will output relevant information to the "ccdlog" file, and
will keep plots
(such as overscan fittings) in the "ccdplot" metacode.
A copy of the raw images
will be kept in the same directory, adding a
"B" in front of the image name
(Bccd001.fits, for example). If something goes wrong during the reduction
process, you can recover your original images from those files.