Flat FieldingWhat is flat fielding and why do it?
A flat field is the response of the telescope-camera system to a source of
uniform illumination.
Flat field frames are used to correct for anomalies
in the optical path, such as specs of dust on the optical surfaces, sensitivity variances
between pixels in the CCD, and illumination variations within the optical
system (vignetting). When to do flat fielding?Flat fielding to remove inhomogeneities in the filed illumination is always performed in astronomy research; however, within the scope of AstroLab is not always necessary. Flat fielding is particularly useful when precise photometry is required, such as for light curve determination projects. Ideally one would like to use one flat field per night.
While the flat field is usually produced from a uniformly illuminated
field such as the dome, it can also be made by averaging several
images made with the same telescope-camera set-up.
Performing flat fielding - the step-by-step guideFlat fielding can be done using the CCD Data Reduction Package CCDPACK by Peter Draper, which is installed locally. Useful references are: http://astro.dur.ac.uk/~pdraper/ccdpack/ccdpack.html http://www.starlink.rl.ac.uk/star/docs/sun139.htx/sun139.html Step 1 - Set-up Define Starlink CONVERT commands:convert Setup the Starlink KAPPA commands:kappa Step 2 - Using CCDPACK To access CCDPACK commands, type: ccdpack Then run: makeflat Page for makeflat description and further options can be found here: http://www.starlink.rl.ac.uk/star/docs/sun139.htx/node107.html Specify the input (e.g., 'ad*') and output (e.g., 'flat'). Hint: Multiple images can be loaded by using the wildcard symbol *. You may get an error stating that your input file has not been debiased; ignore this. When prompted for method to combine the data components of the input images, choose the weighted median: median Now check that the flat field image contains only valid pixels by using the Kappa stats command. If this reports that the "No. of pixels excluded" is greater than 0, you will need to "nomagic" the flat field image, i.e. nomagic master_flat new_master_flat 1 Step 3 - Applying your flat field to images Access div command from KAPPA: div Enter your .sdf image name followed by your flat field name as required. Now look at your new output and be impressed! Example
![]() FlatFielding and the "photom_ad2.py" scriptIf the "photom_ad2.py" script finds a file called "master_flat.sdf" in the processing directory this is applied.
|