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

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

#include <CSCleanImageSkyModel.h>

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

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.

Protected Member Functions

Float maxField (Block< Vector< Float > > &imagemax, Block< Vector< Float > > &imagemin)
Vector< FloatouterMinMax (Lattice< Float > &lat, const uInt nCenter)

Protected Attributes

ClarkCleanProgressprogress_p

Detailed Description

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

Intended use:

Public interface

Prerequisite

Etymology

CSCleanImageSkyModel implements the Cotton-Schwab Clean algorithm. It is derived from SkyModel .

Synopsis

The CS 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 by degridding and degridding.

The CS 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 84 of file CSCleanImageSkyModel.h.


Member Function Documentation

virtual Int casa::CSCleanImageSkyModel::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.

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

Add an mask.

Reimplemented from casa::CleanImageSkyModel.

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

Add a residual image.

Reimplemented from casa::ImageSkyModel.

Float casa::CSCleanImageSkyModel::maxField ( Block< Vector< Float > > &  imagemax,
Block< Vector< Float > > &  imagemin 
) [protected]
Vector<Float> casa::CSCleanImageSkyModel::outerMinMax ( Lattice< Float > &  lat,
const uInt  nCenter 
) [protected]
virtual Bool casa::CSCleanImageSkyModel::solve ( SkyEquation me) [virtual]

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

Reimplemented from casa::ImageSkyModel.


Member Data Documentation

Definition at line 102 of file CSCleanImageSkyModel.h.


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