casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
casa::WBCleanImageSkyModel Class Reference

WB Clean Image Sky Model: Image Sky Model implementing a Wide-Band multi frequency synthesis algorithm. More...

#include <WBCleanImageSkyModel.h>

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

Public Member Functions

 WBCleanImageSkyModel ()
 Create a WBCleanImageSkyModel - default scale size = 1 pixel. More...
 
 WBCleanImageSkyModel (const casacore::Int ntaylor, const casacore::Int nscales, const casacore::Double reffreq)
 
 WBCleanImageSkyModel (const casacore::Int ntaylor, const casacore::Vector< casacore::Float > &userScaleSizes, const casacore::Double reffreq)
 
 ~WBCleanImageSkyModel ()
 destructor More...
 
casacore::Bool solve (SkyEquation &se)
 Solve for this SkyModel. More...
 
casacore::Bool solveResiduals (SkyEquation &se, casacore::Bool modelToMS=false)
 casacore::Int add(casacore::ImageInterface<casacore::Float>& iimage, const casacore::Int maxNumXfr=100); casacore::Bool addResidual(casacore::Int thismodel, casacore::ImageInterface<casacore::Float>& iresidual); void initializeGradients(); More...
 
casacore::Bool makeNewtonRaphsonStep (SkyEquation &se, casacore::Bool incremental=false, casacore::Bool modelToMS=false)
 
casacore::Int numberOfTaylorTerms ()
 MFS : Number of taylor terms per model. More...
 
casacore::Double getReferenceFrequency ()
 MFS : Reference Frequency. More...
 
casacore::Int getModelIndex (casacore::uInt model, casacore::uInt taylor)
 Major axis for ordering : Taylor. More...
 
casacore::Int getTaylorIndex (casacore::uInt index)
 
casacore::Int getFieldIndex (casacore::uInt index)
 
casacore::Bool calculateCoeffResiduals ()
 MFS : In-place coefficient residual calculations. More...
 
casacore::Bool calculateAlphaBeta (const casacore::Vector< casacore::String > &restoredNames, const casacore::Vector< casacore::String > &residualNames)
 MFS : Calculate restored alpha and beta. More...
 
- Public Member Functions inherited from casa::CleanImageSkyModel
 CleanImageSkyModel ()
 Empty constructor. More...
 
 CleanImageSkyModel (const CleanImageSkyModel &sm)
 Copy constructor. More...
 
casacore::Bool hasMask (casacore::Int model=0)
 Has a mask for model? More...
 
virtual casacore::Bool add (ComponentList &compList)
 Add a componentlist. More...
 
virtual casacore::Int add (casacore::ImageInterface< casacore::Float > &image, const casacore::Int maxNumXfr=100)
 Add an image. More...
 
virtual casacore::Bool addMask (casacore::Int image, casacore::ImageInterface< casacore::Float > &mask)
 Add an mask. More...
 
casacore::Bool hasFluxMask (casacore::Int model=0)
 Has a flux mask? More...
 
virtual casacore::Bool addFluxMask (casacore::Int image, casacore::ImageInterface< casacore::Float > &fluxMask)
 
casacore::ImageInterface
< casacore::Float > & 
fluxMask (casacore::Int model=0)
 
virtual ~CleanImageSkyModel ()
 Destructor. More...
 
CleanImageSkyModeloperator= (const CleanImageSkyModel &other)
 Assignment operator. More...
 
casacore::ImageInterface
< casacore::Float > & 
mask (casacore::Int model=0)
 Return masks. More...
 
virtual void setJointStokesClean (casacore::Bool joint=true)
 set to search for peak in I^2+Q^2+U^2+V^2 domain or each stokes plane seperately Ignored for hogbom and msclean for now More...
 
virtual casacore::Float maxField (casacore::Vector< casacore::Float > &imagemax, casacore::Vector< casacore::Float > &imagemin)
 Return the maximum absolute value from residual images per field. More...
 
- Public Member Functions inherited from casa::ImageSkyModel
 ImageSkyModel (const casacore::Int maxNumModels=1)
 Empty constructor. More...
 
void setMaxNumberModels (const casacore::Int maxNumModels)
 
 ImageSkyModel (const ImageSkyModel &sm)
 Copy constructor. More...
 
virtual casacore::Bool updatemodel (ComponentList &compList)
 update componentlist More...
 
virtual casacore::Bool updatemodel (const casacore::Int thismodel, casacore::ImageInterface< casacore::Float > &image)
 update model image...you have to have added it before...nmodels_p held has to be bigger that image here its left to the caller to make sure the image is conformant...otherwise you are in trouble. More...
 
virtual casacore::Bool addResidual (casacore::Int image, casacore::ImageInterface< casacore::Float > &residual)
 Add a residual image. More...
 
virtual ~ImageSkyModel ()
 Destructor. More...
 
ImageSkyModeloperator= (const ImageSkyModel &other)
 Assignment operator. More...
 
virtual casacore::Int numberOfModels ()
 Number of models contained. More...
 
virtual casacore::Int getTaylorIndex (casacore::Int index)
 
MFS : Index of Taylor term in array of nmodels x ntaylorterms

virtual casacore::Int getTaylorIndex(casacore::Int index){return 0;} More...

 
casacore::Bool isSolveable (casacore::Int model=0)
 Is this model solveable? More...
 
casacore::Bool free (casacore::Int model=0)
 Free and fix the model (returns previous status). More...
 
casacore::Bool fix (casacore::Int model=0)
 
virtual void initializeGradients ()
 Initialize for gradient search. More...
 
virtual void finalizeGradients ()
 Finalize for gradient search. More...
 
casacore::Bool hasComponentList ()
 Does this have a component list? More...
 
casacore::Bool isEmpty (casacore::Int model=0)
 Is this model empty. More...
 
virtual ComponentListcomponentList ()
 Return the component list. More...
 
casacore::ImageInterface
< casacore::Float > & 
image (casacore::Int model=0)
 Return actual images to be used by SkyEquation. More...
 
casacore::ImageInterface
< casacore::Complex > & 
cImage (casacore::Int model=0)
 casacore::Complex image (needed for e.g. More...
 
casacore::ImageInterface
< casacore::Complex > & 
XFR (casacore::Int model=0, casacore::Int numXFR=0)
 casacore::Complex XFR More...
 
casacore::ImageInterface
< casacore::Float > & 
PSF (casacore::Int model=0)
 PSF. More...
 
casacore::ImageInterface
< casacore::Float > & 
gS (casacore::Int model=0)
 Gradient of chi-squared wrt pixels. More...
 
casacore::ImageInterface
< casacore::Float > & 
residual (casacore::Int model=0)
 
casacore::ImageInterface
< casacore::Float > & 
ggS (casacore::Int model=0)
 Grad Grad chi-squared wrt pixels (diagonal elements only) More...
 
casacore::ImageInterface
< casacore::Float > & 
fluxScale (casacore::Int model=0)
 if (doFluxScale(mod)) image(mod) * fluxScale(mod) gives actual brightness distribution More...
 
casacore::ImageInterface
< casacore::Float > & 
work (casacore::Int model=0)
 Work image. More...
 
casacore::ImageInterface
< casacore::Float > & 
deltaImage (casacore::Int model=0)
 Increment in the image. More...
 
casacore::Bool doFluxScale (casacore::Int model=0)
 tells if this model needs to be multiplied by a flux scale image More...
 
void mandateFluxScale (casacore::Int model=0)
 require use of flux scale image More...
 
casacore::Bool hasXFR (casacore::Int model=0)
 
void addStatistics (casacore::Float sumwt, casacore::Float chisq)
 Add to Sum weights, Chi-Squared. More...
 
casacore::Matrix
< casacore::Float > & 
weight (casacore::Int model=0)
 Weight per model (channels, polarizations) More...
 
casacore::Bool solveResiduals (SkyEquation &me, casacore::Bool modelToMS=false)
 Solve explicitly for the residuals: same as solve for this class modelToMs determines if predicted vis is put in the MODEL_DATA column. More...
 
virtual void makeApproxPSFs (SkyEquation &se)
 Make the approximate PSFs needed for each model. More...
 
virtual
casacore::ImageInterface
< casacore::Float > & 
getResidual (casacore::Int model=0)
 Get current residual image: this is either that image specified via addResidual, or a scratch image. More...
 
casacore::ImageBeamSetbeam (casacore::Int model=0)
 Return the fitted beam for each model. More...
 
void setPGPlotter (casacore::PGPlotter &pgp)
 Set casacore::PGPlotter to be used. More...
 
void setCycleFactor (float x)
 This is the factor by which you multiply the worst outer sidelobe by to get the threshold for the current cycle. More...
 
void setCycleSpeedup (float x)
 Cycle threshold will double in this number of iterations (ie, use a large number if you don't want cycle threshold to inch up) More...
 
void setCycleMaxPsfFraction (float x)
 Yet another control for the minor cycle threshold. More...
 
void setDisplayProgress (const casacore::Bool display)
 Set the variable that switches on the progress display. More...
 
void setDataPolFrame (StokesImageUtil::PolRep datapolrep)
 Set a variable to indicate the polarization frame in the data (circular or linear). More...
 
virtual void setMemoryUse (casacore::Bool useMem=false)
 try to make templattices use memory if possible if set to false then always use disk More...
 
virtual casacore::Bool getMemoryUse ()
 
void setTileVol (const casacore::Int tileVol=1000000)
 Set templattice tile vol in pixels. More...
 
- Public Member Functions inherited from casa::SkyModel
 SkyModel ()
 
void setAlgorithm (const casacore::String &alg)
 set Algorithm (e.g clean, mem, nnls) More...
 
const casacore::String getAlgorithm ()
 get Algorithm More...
 
void setSubAlgorithm (const casacore::String &alg)
 set Sub Algorithm More...
 
const casacore::String getSubAlgorithm ()
 get Sub Algorithm More...
 
void setImageRegion (casacore::ImageRegion &ir)
 Set the imageregion that will be used for the next XFR generation. More...
 
void unsetImageRegion ()
 use the default shape More...
 
void setImageNormalization (casacore::Bool val)
 
casacore::Bool isImageNormalized ()
 
- Public Member Functions inherited from casa::Iterate
 Iterate ()
 Constructor. More...
 
virtual ~Iterate ()
 
void setFree ()
 Is this a free variable? More...
 
void setNotFree ()
 
casacore::Bool free ()
 
void setNumberIterations (const casacore::Int n)
 
void setGain (const casacore::Float g)
 
void setTolerance (const casacore::Float t)
 
void setThreshold (const casacore::Float t)
 
void setMode (const casacore::String m)
 
casacore::Int numberIterations ()
 
casacore::Float gain ()
 
casacore::Float tolerance ()
 
virtual casacore::Float threshold ()
 
const casacore::String mode ()
 

Public Attributes

casacore::Int ntaylor_p
 casacore::Bool copyLatToImInt(casacore::TempLattice<casacore::Float>& lat, casacore::ImageInterface<casacore::Float>& im); casacore::Bool copyImIntToLat(casacore::TempLattice<casacore::Float>& lat, casacore::ImageInterface<casacore::Float>& im); More...
 
casacore::Int nscales_p
 casacore::Int nfields_p; // Number of image fields/pointings. More...
 
casacore::Double refFrequency_p
 
casacore::Vector
< casacore::String
imageNames
 
Major axis for ordering : Models

inline casacore::Int getModelIndex(casacore::uInt model, casacore::uInt taylor){return model * (ntaylor_p) + (taylor);}; inline casacore::Int getPSFModelIndex(casacore::uInt model, casacore::uInt taylor){return model * (2*ntaylor_p-1) + (taylor);}; inline casacore::Int getTaylorIndex(casacore::uInt index){return indexntaylor_p;}; inline casacore::Int getFieldIndex(casacore::uInt index){return index/ntaylor_p;}; More...

 

Private Member Functions

void initVars ()
 
casacore::Bool checkParameters ()
 
casacore::Int storeAsImg (casacore::String fileName, casacore::ImageInterface< casacore::Float > &theImg)
 
casacore::Bool mergeDataError (casacore::ImageInterface< casacore::Float > &data, casacore::ImageInterface< casacore::Float > &error, const casacore::String &outImg)
 casacore::Int storeTLAsImg(casacore::String fileName, casacore::TempLattice<casacore::Float> &TL, casacore::ImageInterface<casacore::Float>& theImg); casacore::Int storeTLAsImg(casacore::String fileName, casacore::TempLattice<casacore::Complex> &TL, casacore::ImageInterface<casacore::Float>& theImg); More...
 
casacore::Bool createMask (casacore::LatticeExpr< casacore::Bool > &lemask, casacore::ImageInterface< casacore::Float > &outimage)
 
casacore::Bool resizeWorkArrays (casacore::Int length)
 
casacore::Int makeSpectralPSFs (SkyEquation &se, casacore::Bool writeToDisk)
 
casacore::Int writeResultsToDisk ()
 casacore::Int addTo(casacore::Lattice<casacore::Float>& to, const casacore::Lattice<casacore::Float>& add, casacore::Float multiplier); More...
 
casacore::Float computeFluxLimit (casacore::Float &fractionOfPsf)
 
void blankOverlappingModels ()
 
void restoreOverlappingModels ()
 
void saveCurrentModels ()
 

Private Attributes

casacore::Block
< MultiTermMatrixCleaner
lc_p
 casacore::PtrBlock<casacore::MultiTermLatticeCleaner<casacore::Float>* > lc_p; More...
 
casacore::Vector< casacore::FloatscaleSizes_p
 
casacore::Vector< casacore::FloatscaleBias_p
 
casacore::IPosition gip
 casacore::Float maxPsf_p; More...
 
casacore::IPosition imshape
 
casacore::Bool donePSF_p
 
casacore::Bool doneMTMCinit_p
 
casacore::Int nx
 
casacore::Int ny
 
casacore::Int numbermajorcycles_p
 
casacore::Float previous_maxresidual_p
 
casacore::Double memoryMB_p
 casacore::Memory to be allocated per TempLattice More...
 
casacore::LogIO os
 
casacore::Timer tmr1
 
casacore::Timer tmr2
 
casacore::Int adbg
 
casacore::Int tdbg
 
casacore::Int ddbg
 

Additional Inherited Members

- Public Types inherited from casa::SkyModel
enum  PolRep {
  CIRCULAR,
  LINEAR
}
 
- Static Public Member Functions inherited from casa::ImageSkyModel
template<class M >
static casacore::TempImage< M > * getTempImage (const casacore::TiledShape &imgShp, const casacore::CoordinateSystem &imgCoords, const casacore::uInt nMouthsToFeed=1)
 Tries to return a pointer to a casacore::TempImage (allocated with new, so remember to use delete) with the given shape and CoordinateSystem. More...
 
- Protected Member Functions inherited from casa::ImageSkyModel
casacore::Bool makeNewtonRaphsonStep (SkyEquation &se, casacore::Bool incremental=false, casacore::Bool modelToMS=false)
 Make Newton Raphson step internally. More...
 
casacore::PGPlottergetPGPlotter ()
 Get casacore::PGPlotter to be used. More...
 
casacore::LogSinklogSink ()
 
casacore::Long cacheSize (casacore::Int model)
 
casacore::IPosition tileShape (casacore::Int model)
 
- Protected Attributes inherited from casa::CleanImageSkyModel
casacore::PtrBlock
< casacore::ImageInterface
< casacore::Float > * > 
mask_p
 
casacore::PtrBlock
< casacore::ImageInterface
< casacore::Float > * > 
fluxmask_p
 
casacore::Bool doPolJoint_p
 
- Protected Attributes inherited from casa::ImageSkyModel
casacore::Int maxnmodels_p
 
casacore::Int nmodels_p
 
casacore::Int nfields_p
 MFS. More...
 
casacore::Int maxNumXFR_p
 
casacore::Float sumwt_p
 
casacore::Float chisq_p
 
ComponentListcomponentList_p
 ComponentList. More...
 
casacore::Vector
< casacore::String
imageNames_p
 Images. More...
 
casacore::PtrBlock
< casacore::ImageInterface
< casacore::Float > * > 
image_p
 Everything here can be just interface. More...
 
casacore::PtrBlock
< casacore::ImageInterface
< casacore::Float > * > 
residual_p
 
casacore::PtrBlock
< casacore::ImageInterface
< casacore::Complex > * > 
cimage_p
 We actually create these. More...
 
casacore::PtrBlock
< casacore::ImageInterface
< casacore::Complex > * > 
cxfr_p
 
casacore::PtrBlock
< casacore::ImageInterface
< casacore::Float > * > 
residualImage_p
 
casacore::PtrBlock
< casacore::ImageInterface
< casacore::Float > * > 
gS_p
 
casacore::PtrBlock
< casacore::ImageInterface
< casacore::Float > * > 
psf_p
 
casacore::PtrBlock
< casacore::ImageInterface
< casacore::Float > * > 
ggS_p
 
casacore::PtrBlock
< casacore::ImageInterface
< casacore::Float > * > 
fluxScale_p
 if (doFluxScale_p), image_p * fluxScale_p gives the true brightness More...
 
casacore::PtrBlock
< casacore::ImageInterface
< casacore::Float > * > 
work_p
 
casacore::PtrBlock
< casacore::ImageInterface
< casacore::Float > * > 
deltaimage_p
 
casacore::Block< casacore::Boolsolve_p
 
casacore::Block< casacore::BooldoFluxScale_p
 
casacore::PtrBlock
< casacore::Matrix
< casacore::Float > * > 
weight_p
 
casacore::PtrBlock
< casacore::ImageBeamSet * > 
beam_p
 
casacore::LogSink logSink_p
 
casacore::PGPlotterpgplotter_p
 
casacore::Bool displayProgress_p
 
casacore::Float cycleFactor_p
 This is the factor by which you multiply the worst outer sidelobe by to get the threshold for the current cycle. More...
 
casacore::Float cycleSpeedup_p
 Cycle threshold will double in this number of iterations (ie, use a large number if you don't want cycle threshold to inch up) More...
 
casacore::Float cycleMaxPsfFraction_p
 Cycle threshold = maxResidual x min(Max-Psf-Fraction, cyclefactor x maxpsfsidelobe) More...
 
casacore::Bool donePSF_p
 If PSF is done..should not redo it. More...
 
casacore::Bool modified_p
 check if model has been modified especially for continuing a deconvolution More...
 
StokesImageUtil::PolRep dataPolRep_p
 Parameter to indicate the polaraization type of the data (circular or linear) Required by cImage() to decide shapes. More...
 
casacore::Bool workDirOnNFS_p
 
casacore::Bool useMem_p
 
casacore::Int tileVol_p
 
- Protected Attributes inherited from casa::SkyModel
casacore::String itsAlgorithm
 
casacore::String itsSubAlgorithm
 
casacore::ImageRegionimageRegion_p
 this casacore::ImageRegion is used to suggest the shape for the XFR. More...
 
casacore::Bool isImageNormalized_p
 

Detailed Description

WB Clean Image Sky Model: Image Sky Model implementing a Wide-Band multi frequency synthesis algorithm.

Intended use:

Public interface

Prerequisite

Etymology

WBCleanImageSkyModel implements the Wide Band Clean algorithm. It is derived from SkyModel.

Synopsis

The WB Clean is the multi-frequency synthesis deconvolution algorithm. It decomposes an image into a linear compbination of models convolved with spectral dirty beams of various order. A multiscale variant can be invoked by supplying a user vector of scale sizes. Default is 1, corresponding to a scale insensitive mfs deconvolution.

Masking is optionally performed using a mask image: only points where the mask is non-zero are searched for Gaussian components. This can cause some difficulty, as the different Gaussian scale sizes will extend beyond the mask by different amounts. If no mask is specified all points in the inner quarter of the image are cleaned.

Example

See the example for SkyModel.

Motivation

Definition at line 91 of file WBCleanImageSkyModel.h.

Constructor & Destructor Documentation

casa::WBCleanImageSkyModel::WBCleanImageSkyModel ( )

Create a WBCleanImageSkyModel - default scale size = 1 pixel.

casa::WBCleanImageSkyModel::WBCleanImageSkyModel ( const casacore::Int  ntaylor,
const casacore::Int  nscales,
const casacore::Double  reffreq 
)
casa::WBCleanImageSkyModel::WBCleanImageSkyModel ( const casacore::Int  ntaylor,
const casacore::Vector< casacore::Float > &  userScaleSizes,
const casacore::Double  reffreq 
)
casa::WBCleanImageSkyModel::~WBCleanImageSkyModel ( )

destructor

Member Function Documentation

void casa::WBCleanImageSkyModel::blankOverlappingModels ( )
private
casacore::Bool casa::WBCleanImageSkyModel::calculateAlphaBeta ( const casacore::Vector< casacore::String > &  ,
const casacore::Vector< casacore::String > &   
)
virtual

MFS : Calculate restored alpha and beta.

Reimplemented from casa::ImageSkyModel.

casacore::Bool casa::WBCleanImageSkyModel::calculateCoeffResiduals ( )
virtual

MFS : In-place coefficient residual calculations.

Reimplemented from casa::ImageSkyModel.

casacore::Bool casa::WBCleanImageSkyModel::checkParameters ( )
private
casacore::Float casa::WBCleanImageSkyModel::computeFluxLimit ( casacore::Float fractionOfPsf)
private
casacore::Bool casa::WBCleanImageSkyModel::createMask ( casacore::LatticeExpr< casacore::Bool > &  lemask,
casacore::ImageInterface< casacore::Float > &  outimage 
)
private
casacore::Int casa::WBCleanImageSkyModel::getFieldIndex ( casacore::uInt  index)
inline

Definition at line 126 of file WBCleanImageSkyModel.h.

References casa::ImageSkyModel::nfields_p.

casacore::Int casa::WBCleanImageSkyModel::getModelIndex ( casacore::uInt  model,
casacore::uInt  taylor 
)
inlinevirtual

Major axis for ordering : Taylor.

Reimplemented from casa::ImageSkyModel.

Definition at line 124 of file WBCleanImageSkyModel.h.

References casa::ImageSkyModel::nfields_p.

casacore::Double casa::WBCleanImageSkyModel::getReferenceFrequency ( )
inlinevirtual

MFS : Reference Frequency.

Reimplemented from casa::ImageSkyModel.

Definition at line 121 of file WBCleanImageSkyModel.h.

References refFrequency_p.

casacore::Int casa::WBCleanImageSkyModel::getTaylorIndex ( casacore::uInt  index)
inline

Definition at line 125 of file WBCleanImageSkyModel.h.

References casa::ImageSkyModel::nfields_p.

void casa::WBCleanImageSkyModel::initVars ( )
private
casacore::Bool casa::WBCleanImageSkyModel::makeNewtonRaphsonStep ( SkyEquation se,
casacore::Bool  incremental = false,
casacore::Bool  modelToMS = false 
)
casacore::Int casa::WBCleanImageSkyModel::makeSpectralPSFs ( SkyEquation se,
casacore::Bool  writeToDisk 
)
private
casacore::Bool casa::WBCleanImageSkyModel::mergeDataError ( casacore::ImageInterface< casacore::Float > &  data,
casacore::ImageInterface< casacore::Float > &  error,
const casacore::String outImg 
)
private

casacore::Int storeTLAsImg(casacore::String fileName, casacore::TempLattice<casacore::Float> &TL, casacore::ImageInterface<casacore::Float>& theImg); casacore::Int storeTLAsImg(casacore::String fileName, casacore::TempLattice<casacore::Complex> &TL, casacore::ImageInterface<casacore::Float>& theImg);

casacore::Int casa::WBCleanImageSkyModel::numberOfTaylorTerms ( )
inlinevirtual

MFS : Number of taylor terms per model.

Reimplemented from casa::ImageSkyModel.

Definition at line 120 of file WBCleanImageSkyModel.h.

References ntaylor_p.

casacore::Bool casa::WBCleanImageSkyModel::resizeWorkArrays ( casacore::Int  length)
private
void casa::WBCleanImageSkyModel::restoreOverlappingModels ( )
private
void casa::WBCleanImageSkyModel::saveCurrentModels ( )
private
casacore::Bool casa::WBCleanImageSkyModel::solve ( SkyEquation se)
virtual

Solve for this SkyModel.

Reimplemented from casa::ImageSkyModel.

casacore::Bool casa::WBCleanImageSkyModel::solveResiduals ( SkyEquation se,
casacore::Bool  modelToMS = false 
)
casacore::Int casa::WBCleanImageSkyModel::storeAsImg ( casacore::String  fileName,
casacore::ImageInterface< casacore::Float > &  theImg 
)
private
casacore::Int casa::WBCleanImageSkyModel::writeResultsToDisk ( )
private

casacore::Int addTo(casacore::Lattice<casacore::Float>& to, const casacore::Lattice<casacore::Float>& add, casacore::Float multiplier);

Member Data Documentation

casacore::Int casa::WBCleanImageSkyModel::adbg
private

Definition at line 186 of file WBCleanImageSkyModel.h.

casacore::Int casa::WBCleanImageSkyModel::ddbg
private

Definition at line 188 of file WBCleanImageSkyModel.h.

casacore::Bool casa::WBCleanImageSkyModel::doneMTMCinit_p
private

Definition at line 151 of file WBCleanImageSkyModel.h.

casacore::Bool casa::WBCleanImageSkyModel::donePSF_p
private

Definition at line 150 of file WBCleanImageSkyModel.h.

casacore::IPosition casa::WBCleanImageSkyModel::gip
private

casacore::Float maxPsf_p;

Definition at line 149 of file WBCleanImageSkyModel.h.

casacore::Vector<casacore::String> casa::WBCleanImageSkyModel::imageNames

Major axis for ordering : Models

inline casacore::Int getModelIndex(casacore::uInt model, casacore::uInt taylor){return model * (ntaylor_p) + (taylor);}; inline casacore::Int getPSFModelIndex(casacore::uInt model, casacore::uInt taylor){return model * (2*ntaylor_p-1) + (taylor);}; inline casacore::Int getTaylorIndex(casacore::uInt index){return indexntaylor_p;}; inline casacore::Int getFieldIndex(casacore::uInt index){return index/ntaylor_p;};

Definition at line 138 of file WBCleanImageSkyModel.h.

casacore::IPosition casa::WBCleanImageSkyModel::imshape
private

Definition at line 149 of file WBCleanImageSkyModel.h.

casacore::Block<MultiTermMatrixCleaner> casa::WBCleanImageSkyModel::lc_p
private

casacore::PtrBlock<casacore::MultiTermLatticeCleaner<casacore::Float>* > lc_p;

Definition at line 143 of file WBCleanImageSkyModel.h.

casacore::Double casa::WBCleanImageSkyModel::memoryMB_p
private

casacore::Memory to be allocated per TempLattice

Definition at line 158 of file WBCleanImageSkyModel.h.

casacore::Int casa::WBCleanImageSkyModel::nscales_p

casacore::Int nfields_p; // Number of image fields/pointings.

Definition at line 110 of file WBCleanImageSkyModel.h.

casacore::Int casa::WBCleanImageSkyModel::ntaylor_p

casacore::Bool copyLatToImInt(casacore::TempLattice<casacore::Float>& lat, casacore::ImageInterface<casacore::Float>& im); casacore::Bool copyImIntToLat(casacore::TempLattice<casacore::Float>& lat, casacore::ImageInterface<casacore::Float>& im);

casacore::Int nmodels_p; // Number of image models = nfields * ntaylor

Definition at line 108 of file WBCleanImageSkyModel.h.

Referenced by numberOfTaylorTerms().

casacore::Int casa::WBCleanImageSkyModel::numbermajorcycles_p
private

Definition at line 154 of file WBCleanImageSkyModel.h.

casacore::Int casa::WBCleanImageSkyModel::nx
private

Definition at line 152 of file WBCleanImageSkyModel.h.

casacore::Int casa::WBCleanImageSkyModel::ny
private

Definition at line 152 of file WBCleanImageSkyModel.h.

casacore::LogIO casa::WBCleanImageSkyModel::os
private

Definition at line 160 of file WBCleanImageSkyModel.h.

casacore::Float casa::WBCleanImageSkyModel::previous_maxresidual_p
private

Definition at line 155 of file WBCleanImageSkyModel.h.

casacore::Double casa::WBCleanImageSkyModel::refFrequency_p

Definition at line 112 of file WBCleanImageSkyModel.h.

Referenced by getReferenceFrequency().

casacore::Vector<casacore::Float> casa::WBCleanImageSkyModel::scaleBias_p
private

Definition at line 146 of file WBCleanImageSkyModel.h.

casacore::Vector<casacore::Float> casa::WBCleanImageSkyModel::scaleSizes_p
private

Definition at line 145 of file WBCleanImageSkyModel.h.

casacore::Int casa::WBCleanImageSkyModel::tdbg
private

Definition at line 187 of file WBCleanImageSkyModel.h.

casacore::Timer casa::WBCleanImageSkyModel::tmr1
private

Definition at line 185 of file WBCleanImageSkyModel.h.

casacore::Timer casa::WBCleanImageSkyModel::tmr2
private

Definition at line 185 of file WBCleanImageSkyModel.h.


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