This command causes the measurements to be done automatically. A file containing the positions is requested, and the photometry is performed with the current parameters.
The name of the file containing the positions is requested through the POSFILE parameter. If the file cannot be found or is not in a suitable format then no action is taken.
The file of positions is an ordinary text file and should specify an index number and the x and y positions in pixel coordinates. For every x and y pair in the file an measurement is made, sampling the sky with the concentric annulus, whose size is specified by the current values of the INNER and OUTER parameters. Centroiding in the object aperture is, or is not done, depending on the current value of the CENTRO parameter, which is selected with command C. When the input file is exhausted PHOTOM returns to the command level.
If optimal extraction is enabled the first entry in the the POSFILE should have index 0 and x and y co-ordinates corresponding to the chosen PSF star.
Results of the measurements are shown on the terminal as well as output to the file named by the RESFILE parameter. Results are identified by the index number associated with the x and y position in the input file.
A previous results file can be used as the input file of positions, but it should not have the same name as the results file otherwise the program will fail when it tries to open a new results file.
The format of the input and the results files are given with the full PHOTOM description .
PHOTOM --- A Photometry Package