The first step to producing a set of calibrated magnitudes for your list of programme objects is to measure the instrumental magnitudes of the programme objects and standard stars recorded in your CCD frames. Instrumental magnitudes are usually measured relative to the sky background in each CCD frame. Prior to measuring the instrumental magnitudes the various instrumental effects should be removed from the CCD frames. Typically you will need to de-bias and flat-field the frames and remove the effects of bad pixels (possibly including whole bad rows and columns) and cosmic-ray events. The CCDPACK package (see SUN/139) is available for this task. The cookbook SC/5: The 2-D CCD Data Reduction Cookbook gives a set of recipes for removing instrumental effects and is a good introduction to the topic. The support staff at the observatory where your observations were made should be able to advise about any peculiarities associated with the CCD detector that you were using.
Once the CCD frames have been corrected for instrumental effects they are ready to be used to measure instrumental magnitudes. There are two classes of techniques for measuring instrumental magnitudes in widespread use: aperture photometry and point-spread-function fitting. There are numerous variations on each technique, but the essentials of the two methods are as follows.
It is possible to perform accurate photometry of crowded regions using point-spread-function fitting. However, it is clearly important that all the images should have the same profile. Thus, the presence of extended objects with their own unique profiles will invalidate the technique.
The DAOPHOT (see SUN/42 and Stetson) and STARMAN (see SUN/141) packages are available for point-spread-function fitting. However, their use is beyond the scope of this cookbook and they are not considered further here.
In the case of aperture photometry the instrumental magnitude, , is defined as:
That is, the instrumental magnitude is computed from the sum of the pixels inside the aperture with the average sky background subtracted. For simplicity the number of pixels inside the aperture, , has been presented as an integer number here. However, if necessary pixels which partly overlap the aperture can be properly accounted for. There are various ways of measuring the average8 sky background value. One is to use an aperture positioned on a neighbouring region of blank sky, another is to use an annulus surrounding the original aperture; this latter technique is perhaps preferable. Though the details of the point-spread-function fitting technique are very different the definition of the instrumental magnitude is the same.
It is often a good idea to set the arbitrary constant, , to a silly value (say 30) so that the instrumental magnitudes have very different values from the corresponding calibrated magnitudes and hence the two are unlikely to be inadvertently confused.
You will need to determine instrumental magnitudes for all your programme objects and standard stars and in all the colours in which you made observations. Section gives a recipe for measuring instrumental magnitudes using PHOTOM and Section one using GAIA.
The CCD Photometric Calibration Cookbook