next up previous contents index
Next: Deconvolution with maximum entropy Up: Deconvolution with CLEAN Previous: Prussian helmets

Computation

           

  1. Let us proceed with the actual use of CLEAN and start with APCLN. The inputs for HBCLN, SDCLN, and the CLEAN stage of MX are very similar to those of APCLN, and I won't show them in any detail. You need to provide APCLN with the dirty image and beam, and it will provide you with a CLEANed image, or if you so desire, a residual image. This residual is often useful to examine, when trying to work out if you need to CLEAN some more; if there is source left in the residual image, you probably aren't finished yet.

    APCLN
    inname,inclass Dirty image
    inseq,indisk
    in2name,in2class Dirty beam
    in2seq,in2disk
    outname,outclass Fully specify when
    outseq,outdisk restarting CLEAN
    blc(3)=10 Clean plane 10, say, of input image
    invers=0 Make CC file next highest version
    gain =0.1 Loop gain
    phat=0 No prussian helmet
    flux=0 Terminate CLEAN at this residual level or
    niter=500 specify total number of CLEAN components
    biter=0 Number already CLEANed if restarting
    bmaj=0 CLEAN beam. If 0, program tries
    bmin=0 to fit main lobe of dirty beam to
    bpa=0 work it out. If bmaj negative the
    output image is the residual image
    nbox=0 CLEAN window defaults
    box=0 to inner quarter of image
    factor=0 Speedup factor; -1 for extended
    sources, +1 for point sources
    minpatch=127 Minimum beam size for minor cycles
    dotv=1 Display residual images on TV

    The total CLEANed flux density (i.e., the cumulative sum of the CLEAN components) should eventually settle down to a roughly constant number (you can look at this with the task PRTCC). This indicates that you are just picking up noise, and that there are no side lobes left to remove. If the total CLEANed flux starts to decrease again, this usually indicates that you have been a bit heavy handed, and CLEANed too much. You might also look at the result and see if you can see any side-lobes left over.

    Some discussion of the zero spacing was given in the imaging section (§ 15). It is the deconvolution step that really tells you whether you managed to get the combination of the zero spacing and its weight correct. If you did, the total CLEANed flux should be equal to the zero spacing. If you got it wrong, this will not be the case, and one often sees the CLEAN window region badly offset from the rest of the image. You will know when you need to try again.

  2. Note that for MX, you can specify a restart CLEAN component number for each field through bcomp instead of biter. When restarting the MX CLEAN, you must also fill in the correct work file (use 2name\ to get it). This contains the current residual visibility data base (i.e., the original ungridded visibility data with the Fourier transform of the CLEAN components subtracted). Also in MX, you have the choice of a DFT or gridded FFT when Fourier transforming the CLEAN components. This is controlled by the adverb cmethod. The DFT is more accurate but very slow for large CC lists. Leave cmethod blank, and MX will make an informed guess on which is the better choice. Note that you cannot restart HBCLN, you always have to CLEAN from the beginning.
  3. If you use SDCLN, there are three additional controls which you will probably need to experiment with. See the EXPLAIN file for details on these. First, all pixels brighter than cutoff times the current residual image peak are considered CLEAN components. Second, stfactor is the loop gain in the SDI phase of the CLEAN (SDCLN switches from a normal Clark CLEAN to an SDI CLEAN). Third, a normal Clark CLEAN is used until ncount pixels are included in an SDI iteration. That is, the residual image must reach some degree of flatness before the SDI CLEAN cuts in. See the EXPLAIN file.


next up previous contents index
Next: Deconvolution with maximum entropy Up: Deconvolution with CLEAN Previous: Prussian helmets

nkilleen@atnf.csiro.au