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 | List of all members
casa::SDAlgorithmTest Class Reference

#include <SDAlgorithmTest.h>

Inheritance diagram for casa::SDAlgorithmTest:
casa::SDAlgorithmBase

Public Member Functions

 SDAlgorithmTest ()
 Empty constructor. More...
 
virtual ~SDAlgorithmTest ()
 
- 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 restore (std::shared_ptr< SIImageStore > imagestore)
 void setMaskOptions(casacore::String maskstring); More...
 
virtual void pbcor (std::shared_ptr< SIImageStore > imagestore)
 
virtual casacore::String getAlgorithmName ()
 
virtual casacore::uInt getNTaylorTerms ()
 
virtual casacore::Long estimateRAM (const std::vector< int > &imsize)
 returns the estimate of memory used in kilobytes (kB); More...
 

Protected Member Functions

virtual 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...
 
virtual void initializeDeconvolver (casacore::Float &peakresidual, casacore::Float &modelflux)
 
virtual void finalizeDeconvolver ()
 
virtual void queryDesiredShape (casacore::Bool &onechan, casacore::Bool &onepol)
 
void calculatePatchBoundaries ()
 virtual void restorePlane(); More...
 
void makeBoxesSameSize (casacore::IPosition &blc1, casacore::IPosition &trc1, casacore::IPosition &blc2, casacore::IPosition &trc2)
 
- Protected Member Functions inherited from casa::SDAlgorithmBase
virtual void initializeDeconvolver ()=0
 virtual void initializeDeconvolver(casacore::Float &peakresidual, casacore::Float &modelflux)=0; More...
 
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::Array< casacore::FloatitsMatResidual
 
casacore::Array< casacore::FloatitsMatModel
 
casacore::Array< casacore::FloatitsMatPsf
 
casacore::IPosition itsMaxPos
 
casacore::Float itsPeakResidual
 
casacore::Float itsModelFlux
 
casacore::IPosition itsBlc
 IPositions for patch boundaries. More...
 
casacore::IPosition itsTrc
 
casacore::IPosition itsBlcPsf
 
casacore::IPosition itsTrcPsf
 
- 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
 

Detailed Description

Definition at line 50 of file SDAlgorithmTest.h.

Constructor & Destructor Documentation

casa::SDAlgorithmTest::SDAlgorithmTest ( )

Empty constructor.

virtual casa::SDAlgorithmTest::~SDAlgorithmTest ( )
virtual

Member Function Documentation

void casa::SDAlgorithmTest::calculatePatchBoundaries ( )
protected

virtual void restorePlane();

....

casacore::Bool findMaxAbs(const casacore::Matrix<casacore::Float>& lattice,casacore::Float& maxAbs,casacore::IPosition& posMaxAbs);

virtual void casa::SDAlgorithmTest::finalizeDeconvolver ( )
protectedvirtual

Implements casa::SDAlgorithmBase.

virtual void casa::SDAlgorithmTest::initializeDeconvolver ( casacore::Float peakresidual,
casacore::Float modelflux 
)
protectedvirtual
void casa::SDAlgorithmTest::makeBoxesSameSize ( casacore::IPosition blc1,
casacore::IPosition trc1,
casacore::IPosition blc2,
casacore::IPosition trc2 
)
protected
virtual void casa::SDAlgorithmTest::queryDesiredShape ( casacore::Bool onechan,
casacore::Bool onepol 
)
protectedvirtual
virtual void casa::SDAlgorithmTest::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::IPosition casa::SDAlgorithmTest::itsBlc
protected

IPositions for patch boundaries.

Definition at line 89 of file SDAlgorithmTest.h.

casacore::IPosition casa::SDAlgorithmTest::itsBlcPsf
protected

Definition at line 89 of file SDAlgorithmTest.h.

casacore::Array<casacore::Float> casa::SDAlgorithmTest::itsMatModel
protected

Definition at line 82 of file SDAlgorithmTest.h.

casacore::Array<casacore::Float> casa::SDAlgorithmTest::itsMatPsf
protected

Definition at line 82 of file SDAlgorithmTest.h.

casacore::Array<casacore::Float> casa::SDAlgorithmTest::itsMatResidual
protected

Definition at line 82 of file SDAlgorithmTest.h.

casacore::IPosition casa::SDAlgorithmTest::itsMaxPos
protected

Definition at line 84 of file SDAlgorithmTest.h.

casacore::Float casa::SDAlgorithmTest::itsModelFlux
protected

Definition at line 86 of file SDAlgorithmTest.h.

casacore::Float casa::SDAlgorithmTest::itsPeakResidual
protected

Definition at line 85 of file SDAlgorithmTest.h.

casacore::IPosition casa::SDAlgorithmTest::itsTrc
protected

Definition at line 89 of file SDAlgorithmTest.h.

casacore::IPosition casa::SDAlgorithmTest::itsTrcPsf
protected

Definition at line 89 of file SDAlgorithmTest.h.


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