During aperture photometry the aperture can either be circular or elliptical and the size and shape can be varied interactively on the display, or by entering values from the keyboard or parameter system. During optimal extraction the mask clipping radius can also be varied from the keyboard or via the parameter system. The background sky level can be sampled interactively by manual positioning of the aperture, or automatically from an annulus surrounding the object.
PHOTOM is a menu driven application. The menu has been designed around single character entries, which hopefully have easily remembered mnemonics. Many of the options have counterparts in the parameter system, and so can be controlled outside the task by the environment.
If this is TRUE the aperture is centered around the object of interest before the measurement is taken. The position supplied to the program (interactively or from a file of positions) is taken as a starting point and the position of maximum flux is located within a search box of fixed size.
If this is FALSE the position supplied to the program is used as the centre of the aperture.
If this is TRUE the sky level is estimated from an aperture which is concentric about the object aperture. The shape and orientation of the sky aperture is the same as the object aperture and the size of the annular aperture is defined by the INNER and OUTER parameters. This mode is used if the measurement positions are being supplied from a file. This is the recommended mode for carrying out optimal extraction.
If this is FALSE the sky level is estimated from an aperture equal in size and shape to the object aperture, which is positioned manually on the image display. In this mode several consecutive sky measurements can be made around the object of interest and these are averaged to give the final sky estimate.
The output on the screen contains column headers to indicate the content of each column of the results. These column headers do not appear in the output file given by the RESFILE parameter in order that this file can be accessed by database routines.
There are eleven columns in the output file containing the following information :
Column Name Description
1 INDEX Index number of star.
2 XPOS X position of centre of aperture in pixels.
3 YPOS Y position of centre of aperture in pixels.
4 MAG Magnitude or mean photon count of star.
5 MAGERR Error in MAG.
6 SKY Sky value in photons per pixel.
7 SIGNAL Total number of photons in aperture due to star.
8 CODE Error code flag.
9 SEMIM Semi-major axis of aperture.
10 ECCEN Eccentricity of aperture.
11 ANGLE Orientation of aperture in degrees.
The magnitude (MAG) is calculated from
.
The error in the magnitude (MAGERR) is estimated using one of the
methods expounded in appendix
(note this error is not
transformed into magnitudes when USEMAGS is FALSE).
The error CODE can take on three possible values
B One or more pixels in the object aperture is bad.
S One or more pixels in the object aperture is above the saturation level.
E The object aperture intersects the edge of the data array.
? There are other problems with the measurement.
If a bad pixel occurs in the object aperture then the pixel is not included in the calculation of the object signal. The bad pixel is not replaced by an estimate. If a saturated pixel occurs in the object aperture then it is included in the calculation of the object signal. If the aperture intersects the edge of the data array, the object signal is calculated for the reduced area of the aperture.
Only one of these code letters is displayed, even if more than one of the conditions has occurred. The codes are in a increasing hierarchy 'B', 'S', 'E', such that 'S' overrides 'B', and 'E' overrides 'S'.
The output on the screen contains column headers to indicate the content of each column of the results. These column headers do not appear in the output file given by the RESFILE parameter in order that this file can be accessed by database routines.
The first line of the output file will contain the details of the PSF star, there will be seven columns in this line containing the following information :
Column Name Description
1 INDEX Index number of star.
2 XPOS X position of centre of aperture in pixels.
3 YPOS Y position of centre of aperture in pixels.
4 FWHM1 1st FWHM of the point spread function.
5 FWHM2 2nd FWHM of the point spread function.
6 ROT Rotation from perpendicular.
7 CODE Error code flag.
The remaining lines contain details of the measurements, each of these lines will have eight columns with the following information :
Column Name Description
1 INDEX Index number of star.
2 XPOS X position of centre of aperture in pixels.
3 YPOS Y position of centre of aperture in pixels.
4 MAG Magnitude or mean photon count of star.
5 MAGERR Error in MAG.
6 SKY Sky value in photons per pixel.
7 SIGNAL Total number of photons in aperture due to star.
8 CODE Error code flag.
PHOTOM --- A Photometry Package