casa
$Rev:20696$
|
Image Sky Model implementing the MultiScale, MultiField Clean algorithm. More...
#include <MFMSCleanImageSkyModel.h>
Public Member Functions | |
MFMSCleanImageSkyModel () | |
Create a MFMSCleanImageSkyModel with 4 scales, stoplargenegatives == 2, stoppointmode==-1. | |
MFMSCleanImageSkyModel (const Int nscales, const Int stoplargenegatives=2, const Int stoppointmode=-1, const Float smallScaleBias=0.6) | |
Create a MFMSCleanImageSkyModel with nScales, we figure out what they are Also: stoplargenegatives controls if we stop the cycle when the largest component goes negative; stoppointmode controls how many of the smallest component must be hit consecutively before we stop that cycle (-1 ==> don't stop) | |
MFMSCleanImageSkyModel (const Vector< Float > &useScaleSize, const Int stoplargenegatives=2, const Int stoppointmode=-1, const Float smallScaleBias=0.6) | |
Create a MFMSCleanImageSkyModel, you provide the scale sizes, IN PIXELS for example: Vector<Float> scales(4); scales(0) = 0.0; scales(1) = 3.0; scales(2) = 10.0; scales(3) = 30.0;. | |
~MFMSCleanImageSkyModel () | |
destructor | |
virtual Bool | solve (SkyEquation &me) |
Solve for this SkyModel. | |
Private Types | |
enum | Scale_Method { NSCALES, USERVECTOR } |
set the scales void setScales(LatticeCleaner<Float>& cleaner); More... | |
Private Member Functions | |
void | getScales () |
Chattily get the scales into userScaleSizes_p, doing some calculation if necessary. | |
Private Attributes | |
Scale_Method | method_p |
uInt | nscales_p |
Vector< Float > | userScaleSizes_p |
LatticeCleanProgress * | progress_p |
Int | stopLargeNegatives_p |
parameter to stop the cycle (for the first N cycles) if you get a negative on the largest scale; To disable, use < 0 | |
Int | stopPointMode_p |
parameter which stops the cycle if you hit the smallest scale this many consecutive times; if < 0, don't stop for this | |
Float | smallScaleBias_p |
Image Sky Model implementing the MultiScale, MultiField Clean algorithm.
Public interface
MFMSCleanImageSkyModel implements the MultiScale, MultiField Clean algorithm. It is derived from MFCleanImageSkyModel .
The MF Clean is an FFT-based clean algorithm. Cleaning is split into major and minor cycles. In a minor cycle, the image is cleaned using an approximate PSF and the MultiScale clean algorithm. In the major cycle, a fully correct subtraction the of cleanned emission from the visibilities on a pointing-by-pointing bassis is performed.
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 81 of file MFMSCleanImageSkyModel.h.
enum casa::MFMSCleanImageSkyModel::Scale_Method [private] |
set the scales void setScales(LatticeCleaner<Float>& cleaner);
Definition at line 119 of file MFMSCleanImageSkyModel.h.
Create a MFMSCleanImageSkyModel with 4 scales, stoplargenegatives == 2, stoppointmode==-1.
casa::MFMSCleanImageSkyModel::MFMSCleanImageSkyModel | ( | const Int | nscales, |
const Int | stoplargenegatives = 2 , |
||
const Int | stoppointmode = -1 , |
||
const Float | smallScaleBias = 0.6 |
||
) |
Create a MFMSCleanImageSkyModel with nScales, we figure out what they are Also: stoplargenegatives controls if we stop the cycle when the largest component goes negative; stoppointmode controls how many of the smallest component must be hit consecutively before we stop that cycle (-1 ==> don't stop)
casa::MFMSCleanImageSkyModel::MFMSCleanImageSkyModel | ( | const Vector< Float > & | useScaleSize, |
const Int | stoplargenegatives = 2 , |
||
const Int | stoppointmode = -1 , |
||
const Float | smallScaleBias = 0.6 |
||
) |
Create a MFMSCleanImageSkyModel, you provide the scale sizes, IN PIXELS for example: Vector<Float> scales(4); scales(0) = 0.0; scales(1) = 3.0; scales(2) = 10.0; scales(3) = 30.0;.
destructor
void casa::MFMSCleanImageSkyModel::getScales | ( | ) | [private] |
Chattily get the scales into userScaleSizes_p, doing some calculation if necessary.
virtual Bool casa::MFMSCleanImageSkyModel::solve | ( | SkyEquation & | me | ) | [virtual] |
Solve for this SkyModel.
Reimplemented from casa::MFCleanImageSkyModel.
Definition at line 120 of file MFMSCleanImageSkyModel.h.
uInt casa::MFMSCleanImageSkyModel::nscales_p [private] |
Definition at line 122 of file MFMSCleanImageSkyModel.h.
Reimplemented from casa::MFCleanImageSkyModel.
Definition at line 125 of file MFMSCleanImageSkyModel.h.
Definition at line 136 of file MFMSCleanImageSkyModel.h.
parameter to stop the cycle (for the first N cycles) if you get a negative on the largest scale; To disable, use < 0
Definition at line 130 of file MFMSCleanImageSkyModel.h.
parameter which stops the cycle if you hit the smallest scale this many consecutive times; if < 0, don't stop for this
Definition at line 134 of file MFMSCleanImageSkyModel.h.
Definition at line 123 of file MFMSCleanImageSkyModel.h.