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

#include <SDAlgorithmMSMFS.h>

Inheritance diagram for casa::SDAlgorithmMSMFS:
casa::SDAlgorithmBase

Public Member Functions

 SDAlgorithmMSMFS (casacore::uInt nTaylorTerms, casacore::Vector< casacore::Float > scalesizes, casacore::Float smallscalebias)
 Empty constructor. More...
 
virtual ~SDAlgorithmMSMFS ()
 
void restore (std::shared_ptr< SIImageStore > imagestore)
 void setMaskOptions(casacore::String maskstring); More...
 
virtual casacore::Long estimateRAM (const std::vector< int > &imsize)
 returns the estimate of memory used in kilobytes (kB); More...
 
- Public Member Functions inherited from casa::SDAlgorithmBase
 SDAlgorithmBase ()
 Empty constructor. More...
 
virtual ~SDAlgorithmBase ()
 
void deconvolve (SIMinorCycleController &loopController, std::shared_ptr< SIImageStore > &imagestore, casacore::Int deconvolverid, casacore::Bool isautomasking=false, casacore::Bool fastnoise=true, casacore::Record robuststats=casacore::Record())
 Non virtual. More...
 
void setRestoringBeam (casacore::GaussianBeam restbeam, casacore::String usebeam)
 
virtual void pbcor (std::shared_ptr< SIImageStore > imagestore)
 
virtual casacore::String getAlgorithmName ()
 

Protected Member Functions

void takeOneStep (casacore::Float loopgain, casacore::Int cycleNiter, casacore::Float cycleThreshold, casacore::Float &peakresidual, casacore::Float &modelflux, casacore::Int &iterdone)
 Local functions to be overloaded by various algorithm deconvolvers. More...
 
void initializeDeconvolver ()
 void initializeDeconvolver(casacore::Float &peakresidual, casacore::Float &modelflux); More...
 
void finalizeDeconvolver ()
 
casacore::uInt getNTaylorTerms ()
 void queryDesiredShape(Bool &onechan, Bool &onepol, IPosition imshape); //, nImageFacets. More...
 
casacore::Bool createMask (casacore::LatticeExpr< casacore::Bool > &lemask, casacore::ImageInterface< casacore::Float > &outimage)
 void initializeSubImages(std::shared_ptr<SIImageStore> &imagestore, casacore::uInt subim); More...
 
- Protected Member Functions inherited from casa::SDAlgorithmBase
virtual void queryDesiredShape (casacore::Int &nchanchunks, casacore::Int &npolchunks, casacore::IPosition imshape)
 Base Class implements the option of single-plane images for the minor cycle. More...
 
casacore::Int checkStop (SIMinorCycleController &loopcontrols, casacore::Float currentresidual)
 Non virtual. More...
 
casacore::Bool findMaxAbs (const casacore::Array< casacore::Float > &lattice, casacore::Float &maxAbs, casacore::IPosition &posMaxAbs)
 
casacore::Bool findMaxAbsMask (const casacore::Array< casacore::Float > &lattice, const casacore::Array< casacore::Float > &mask, casacore::Float &maxAbs, casacore::IPosition &posMaxAbs)
 

Protected Attributes

casacore::Vector
< casacore::Array
< casacore::Float > > 
itsMatPsfs
 std::shared_ptr<SIImageStore> itsImages; More...
 
casacore::Vector
< casacore::Array
< casacore::Float > > 
itsMatResiduals
 
casacore::Vector
< casacore::Array
< casacore::Float > > 
itsMatModels
 
casacore::Array< casacore::FloatitsMatMask
 
casacore::uInt itsNTerms
 
casacore::Vector< casacore::FloatitsScaleSizes
 
casacore::Float itsSmallScaleBias
 
MultiTermMatrixCleaner itsMTCleaner
 
- Protected Attributes inherited from casa::SDAlgorithmBase
casacore::String itsAlgorithmName
 Algorithm name. More...
 
std::shared_ptr< SIImageStoreitsImages
 
casacore::IPosition itsMaxPos
 casacore::Vector<casacore::Slicer> itsDecSlices; casacore::SubImage<casacore::Float> itsResidual, itsPsf, itsModel, itsImage; More...
 
casacore::Float itsPeakResidual
 
casacore::Float itsModelFlux
 
SDMaskHandler itsMaskHandler
 
casacore::GaussianBeam itsRestoringBeam
 casacore::Array<casacore::Float> itsMatMask; More...
 
casacore::String itsUseBeam
 

Private Attributes

casacore::Bool itsMTCsetup
 

Detailed Description

Definition at line 51 of file SDAlgorithmMSMFS.h.

Constructor & Destructor Documentation

casa::SDAlgorithmMSMFS::SDAlgorithmMSMFS ( casacore::uInt  nTaylorTerms,
casacore::Vector< casacore::Float scalesizes,
casacore::Float  smallscalebias 
)

Empty constructor.

virtual casa::SDAlgorithmMSMFS::~SDAlgorithmMSMFS ( )
virtual

Member Function Documentation

casacore::Bool casa::SDAlgorithmMSMFS::createMask ( casacore::LatticeExpr< casacore::Bool > &  lemask,
casacore::ImageInterface< casacore::Float > &  outimage 
)
protected

void initializeSubImages(std::shared_ptr<SIImageStore> &imagestore, casacore::uInt subim);

virtual casacore::Long casa::SDAlgorithmMSMFS::estimateRAM ( const std::vector< int > &  imsize)
virtual

returns the estimate of memory used in kilobytes (kB);

Reimplemented from casa::SDAlgorithmBase.

void casa::SDAlgorithmMSMFS::finalizeDeconvolver ( )
protectedvirtual

Implements casa::SDAlgorithmBase.

casacore::uInt casa::SDAlgorithmMSMFS::getNTaylorTerms ( )
inlineprotectedvirtual

void queryDesiredShape(Bool &onechan, Bool &onepol, IPosition imshape); //, nImageFacets.

Reimplemented from casa::SDAlgorithmBase.

Definition at line 71 of file SDAlgorithmMSMFS.h.

References itsNTerms.

void casa::SDAlgorithmMSMFS::initializeDeconvolver ( )
protectedvirtual

void initializeDeconvolver(casacore::Float &peakresidual, casacore::Float &modelflux);

Implements casa::SDAlgorithmBase.

void casa::SDAlgorithmMSMFS::restore ( std::shared_ptr< SIImageStore imagestore)
virtual

void setMaskOptions(casacore::String maskstring);

Base Class contains standard restoration. Overload for more complex behaviour.

Reimplemented from casa::SDAlgorithmBase.

void casa::SDAlgorithmMSMFS::takeOneStep ( casacore::Float  loopgain,
casacore::Int  cycleNiter,
casacore::Float  cycleThreshold,
casacore::Float peakresidual,
casacore::Float modelflux,
casacore::Int iterdone 
)
protectedvirtual

Local functions to be overloaded by various algorithm deconvolvers.

Implements casa::SDAlgorithmBase.

Member Data Documentation

casacore::Array<casacore::Float> casa::SDAlgorithmMSMFS::itsMatMask
protected

Definition at line 80 of file SDAlgorithmMSMFS.h.

casacore::Vector< casacore::Array<casacore::Float> > casa::SDAlgorithmMSMFS::itsMatModels
protected

Definition at line 79 of file SDAlgorithmMSMFS.h.

casacore::Vector< casacore::Array<casacore::Float> > casa::SDAlgorithmMSMFS::itsMatPsfs
protected

std::shared_ptr<SIImageStore> itsImages;

Definition at line 79 of file SDAlgorithmMSMFS.h.

casacore::Vector< casacore::Array<casacore::Float> > casa::SDAlgorithmMSMFS::itsMatResiduals
protected

Definition at line 79 of file SDAlgorithmMSMFS.h.

MultiTermMatrixCleaner casa::SDAlgorithmMSMFS::itsMTCleaner
protected

Definition at line 94 of file SDAlgorithmMSMFS.h.

casacore::Bool casa::SDAlgorithmMSMFS::itsMTCsetup
private

Definition at line 97 of file SDAlgorithmMSMFS.h.

casacore::uInt casa::SDAlgorithmMSMFS::itsNTerms
protected

Definition at line 90 of file SDAlgorithmMSMFS.h.

Referenced by getNTaylorTerms().

casacore::Vector<casacore::Float> casa::SDAlgorithmMSMFS::itsScaleSizes
protected

Definition at line 91 of file SDAlgorithmMSMFS.h.

casacore::Float casa::SDAlgorithmMSMFS::itsSmallScaleBias
protected

Definition at line 92 of file SDAlgorithmMSMFS.h.


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