casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Static Public Member Functions | Static Private Member Functions | Private Attributes
casa::ClarkCleanImageSkyModel Class Reference

Clark Image Sky Model: Image Sky Model implementing the Clark Clean algorithm. More...

#include <ClarkCleanImageSkyModel.h>

Inheritance diagram for casa::ClarkCleanImageSkyModel:
casa::CleanImageSkyModel casa::ImageSkyModel casa::SkyModel casa::Iterate

List of all members.

Public Member Functions

 ClarkCleanImageSkyModel ()
 constructor
 ~ClarkCleanImageSkyModel ()
 destructor
virtual Bool solve (SkyEquation &me)
 Solve for this SkyModel.

Static Public Member Functions

static Bool clean (ImageInterface< Float > &image, ImageInterface< Float > &residual, ImageInterface< Float > &psf, ImageInterface< Float > &mask, Float &maxresidual, Int &iterused, Float gain, Int numIter, Float thresh, Float cycleFactor, Bool useMask=False, Bool doPolJoint=True)
 Do the image-based clean iterused and maxresidual are return values.

Static Private Member Functions

static Lattice< Float > * makeMaskSubLat (const Int &nx, const Int &ny, Int &newNx, Int &newNy, RO_LatticeIterator< Float > &maskIter, Int &xbeg, Int &xend, Int &ybeg, Int &yend)
 make a mask sub-lattice

Private Attributes

ClarkCleanProgressitsProgress

Detailed Description

Clark Image Sky Model: Image Sky Model implementing the Clark Clean algorithm.

Intended use:

Public interface

Prerequisite

Etymology

ClarkCleanImageSkyModel implements the Clark Clean algorithm. It is derived from SkyModel .

Synopsis

The Clark Clean is an FFT-based clean algorithm. Cleaning is split into major and minor cycles. In a minor cycle, the brightest pixels are cleaned using only the strongest sidelobes (and main lobe) of the PSF. In the major cycle, a fully correct subtraction of the PSF is done for all points accumulated in the minor cycle using an FFT-based convolution for speed.

The Clark Clean is implemented using the ClarkCleanLatModel class.

Masking is optionally performed using a mask image: only points where the mask is non-zero are cleaned. If no mask is specified all points in the inner quarter of the image are cleaned.

Example

See the example for SkyModel .

Motivation

Definition at line 86 of file ClarkCleanImageSkyModel.h.


Constructor & Destructor Documentation

constructor

destructor


Member Function Documentation

static Bool casa::ClarkCleanImageSkyModel::clean ( ImageInterface< Float > &  image,
ImageInterface< Float > &  residual,
ImageInterface< Float > &  psf,
ImageInterface< Float > &  mask,
Float maxresidual,
Int iterused,
Float  gain,
Int  numIter,
Float  thresh,
Float  cycleFactor,
Bool  useMask = False,
Bool  doPolJoint = True 
) [static]

Do the image-based clean iterused and maxresidual are return values.

static Lattice<Float>* casa::ClarkCleanImageSkyModel::makeMaskSubLat ( const Int nx,
const Int ny,
Int newNx,
Int newNy,
RO_LatticeIterator< Float > &  maskIter,
Int xbeg,
Int xend,
Int ybeg,
Int yend 
) [static, private]

make a mask sub-lattice

Solve for this SkyModel.

Reimplemented from casa::ImageSkyModel.


Member Data Documentation

Definition at line 112 of file ClarkCleanImageSkyModel.h.


The documentation for this class was generated from the following file: