casa
$Rev:20696$
|
CS Image Sky Model: Image Sky Model implementing the CS Clean algorithm. More...
#include <CSCleanImageSkyModel.h>
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< Float > | outerMinMax (Lattice< Float > &lat, const uInt nCenter) |
Protected Attributes | |
ClarkCleanProgress * | progress_p |
CS Image Sky Model: Image Sky Model implementing the CS Clean algorithm.
Public interface
CSCleanImageSkyModel implements the Cotton-Schwab Clean algorithm. It is derived from SkyModel .
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.
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.
ClarkCleanProgress* casa::CSCleanImageSkyModel::progress_p [protected] |
Definition at line 102 of file CSCleanImageSkyModel.h.