| The phot guide
 
 To do windowed photometry it is necessary to know the precise positions
of the target stars on the CCD detector. This is accomplished by first
obtaining an image of the whole field (with tcpcom in normal
full frame imaging mode), and making sure that the target and reference
stars are present in the field. Starting phot will display
this image (using the image display program saoimage and
allow the user to mark the relevant targets and sky fields.
When this is done
the information about these windows are stored to two data files,
and the program can be terminated.
 Starting phot 
 Output filesThe phot program produces two output files.
"photwins.dat", contains the coordinates and dimensions of the fields in
    the order selected by the user, assuming that the primary target is the
    first (channel #1), followed by one or more reference stars, and one
    or more sky fields at the end.
    This file is used to reconstruct the correct sequence during processing
    with rtp.
"photwccd.dat", contains
    the images sorted in the CCD readout direction, and with a bias level
    field added at the end. It is this second file that contains the
    information that tcpcom reads and transmits to the camera to
    initialise windowed readout.
 
 Keystroke commandsThe basic keystroke commands in phot are applied in the saoimage
window, and are as follows:
Additionally the `:'-key makes it provides a command line for changing
the current settings. Hitting this key in saoimage moves the control
to the terminal window where phot was invoked, and allows the typing
of commands. The return key gets you back into saoimage. The only
really useful command here is the "size" command. This allows you to
change the size of the square box from 64 by 64 to any size.The `s'-key places a square box around the image pointer.
The `d'-key attempts to delete any box around the pointer.
The `D'-key deletes all markers on the display.
The `R'-key redraws the image.
The `W'-key calculates the CCD window list and writes the output
    files.
The `q'-key quits phot.
The `?'-key prints a help page.
 
 
 
 |