casa
$Rev:20696$
|
MF Image Sky Model: Image Sky Model implementing the MF Clean algorithm. More...
#include <MFCleanImageSkyModel.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. | |
Matrix< Float > * | makeMaskMatrix (const Int &nx, const Int &ny, RO_LatticeIterator< Float > &maskIter, Int &xbeg, Int &xend, Int &ybeg, Int ¥d) |
Protected Member Functions | |
Float | maxOuter (Lattice< Float > &lat, const uInt nCenter) |
void | blankOverlappingModels () |
void | restoreOverlappingModels () |
void | mergeOverlappingMasks () |
Protected Attributes | |
ClarkCleanProgress * | progress_p |
MF Image Sky Model: Image Sky Model implementing the MF Clean algorithm.
Public interface
MFCleanImageSkyModel implements the MF Clean algorithm. It is derived from SkyModel .
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.
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.
void casa::MFCleanImageSkyModel::blankOverlappingModels | ( | ) | [protected] |
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] |
void casa::MFCleanImageSkyModel::mergeOverlappingMasks | ( | ) | [protected] |
void casa::MFCleanImageSkyModel::restoreOverlappingModels | ( | ) | [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.
ClarkCleanProgress* casa::MFCleanImageSkyModel::progress_p [protected] |
Reimplemented in casa::MFMSCleanImageSkyModel.
Definition at line 112 of file MFCleanImageSkyModel.h.