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

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

#include <MFCleanImageSkyModel.h>

Inheritance diagram for casa::MFCleanImageSkyModel:
casa::CleanImageSkyModel casa::ImageSkyModel casa::SkyModel casa::Iterate casa::MFMSCleanImageSkyModel casa::WFCleanImageSkyModel casa::PWFCleanImageSkyModel

List of all members.

Public Member Functions

virtual Int add (ImageInterface< Float > &image, const Int maxNumXfr=100)
 Add an image.
virtual Bool addResidual (Int image, ImageInterface< Float > &residual)
 Add a residual image.
virtual Bool addMask (Int image, ImageInterface< Float > &mask)
 Add an mask.
virtual Bool solve (SkyEquation &me)
 Solve for this SkyModel: This replaces the image with the residual image.
Matrix< Float > * makeMaskMatrix (const Int &nx, const Int &ny, RO_LatticeIterator< Float > &maskIter, Int &xbeg, Int &xend, Int &ybeg, Int &yend)
 
   

Protected Member Functions

Float maxOuter (Lattice< Float > &lat, const uInt nCenter)
void blankOverlappingModels ()
void restoreOverlappingModels ()
void mergeOverlappingMasks ()

Protected Attributes

ClarkCleanProgressprogress_p

Detailed Description

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

Intended use:

Public interface

Prerequisite

Etymology

MFCleanImageSkyModel implements the MF Clean algorithm. It is derived from SkyModel .

Synopsis

The MF 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 MF Clean is implemented using the

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. </synopsis Example See the example for

Definition at line 85 of file MFCleanImageSkyModel.h.


Member Function Documentation

virtual Int casa::MFCleanImageSkyModel::add ( ImageInterface< Float > &  image,
const Int  maxNumXfr = 100 
) [virtual]

Add an image.

maxNumXfr is the maximum Number of transfer functions that we might want to associate with this image.

Reimplemented from casa::CleanImageSkyModel.

Reimplemented in casa::WFCleanImageSkyModel.

virtual Bool casa::MFCleanImageSkyModel::addMask ( Int  image,
ImageInterface< Float > &  mask 
) [virtual]

Add an mask.

Reimplemented from casa::CleanImageSkyModel.

Reimplemented in casa::WFCleanImageSkyModel.

virtual Bool casa::MFCleanImageSkyModel::addResidual ( Int  image,
ImageInterface< Float > &  residual 
) [virtual]

Add a residual image.

Reimplemented from casa::ImageSkyModel.

Reimplemented in casa::WFCleanImageSkyModel.

Matrix<Float>* casa::MFCleanImageSkyModel::makeMaskMatrix ( const Int nx,
const Int ny,
RO_LatticeIterator< Float > &  maskIter,
Int xbeg,
Int xend,
Int ybeg,
Int yend 
)

   

Float casa::MFCleanImageSkyModel::maxOuter ( Lattice< Float > &  lat,
const uInt  nCenter 
) [protected]
virtual Bool casa::MFCleanImageSkyModel::solve ( SkyEquation me) [virtual]

Solve for this SkyModel: This replaces the image with the residual image.

Reimplemented from casa::ImageSkyModel.

Reimplemented in casa::MFMSCleanImageSkyModel, casa::WFCleanImageSkyModel, and casa::PWFCleanImageSkyModel.


Member Data Documentation

Reimplemented in casa::MFMSCleanImageSkyModel.

Definition at line 112 of file MFCleanImageSkyModel.h.


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