casa
$Rev:20696$
|
Clark Image Sky Model: Image Sky Model implementing the Clark Clean algorithm. More...
#include <ClarkCleanImageSkyModel.h>
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 ¥d) |
make a mask sub-lattice | |
Private Attributes | |
ClarkCleanProgress * | itsProgress |
Clark Image Sky Model: Image Sky Model implementing the Clark Clean algorithm.
Public interface
ClarkCleanImageSkyModel implements the Clark Clean algorithm. It is derived from SkyModel .
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.
See the example for SkyModel .
Definition at line 86 of file ClarkCleanImageSkyModel.h.
constructor
destructor
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
virtual Bool casa::ClarkCleanImageSkyModel::solve | ( | SkyEquation & | me | ) | [virtual] |
Solve for this SkyModel.
Reimplemented from casa::ImageSkyModel.
Definition at line 112 of file ClarkCleanImageSkyModel.h.