casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SDAlgorithmClarkClean.h
Go to the documentation of this file.
1 //# SDAlgorithmClarkClean.h: Definition for SDAlgorithmClarkClean
2 //# Copyright (C) 1996,1997,1998,1999,2000,2002
3 //# Associated Universities, Inc. Washington DC, USA.
4 //#
5 //# This library is free software; you can redistribute it and/or modify it
6 //# under the terms of the GNU Library General Public License as published by
7 //# the Free Software Foundation; either version 2 of the License, or (at your
8 //# option) any later version.
9 //#
10 //# This library is distributed in the hope that it will be useful, but WITHOUT
11 //# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 //# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
13 //# License for more details.
14 //#
15 //# You should have received a copy of the GNU Library General Public License
16 //# along with this library; if not, write to the Free Software Foundation,
17 //# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
18 //#
19 //# Correspondence concerning AIPS++ should be adressed as follows:
20 //# Internet email: aips2-request@nrao.edu.
21 //# Postal address: AIPS++ Project Office
22 //# National Radio Astronomy Observatory
23 //# 520 Edgemont Road
24 //# Charlottesville, VA 22903-2475 USA
25 //#
26 //#
27 //# $Id$
28 
29 #ifndef SYNTHESIS_SDALGORITHMCLARKCLEAN_H
30 #define SYNTHESIS_SDALGORITHMCLARKCLEAN_H
31 
33 //#include <synthesis/MeasurementComponents/SkyModel.h>
34 #include <casa/Arrays/Matrix.h>
39 #include <casa/Logging/LogSink.h>
40 #include <casa/System/PGPlotter.h>
41 
43 
44 namespace casa { //# NAMESPACE CASA - BEGIN
45 
46  /* Forware Declaration */
47  class SIMinorCycleController;
48 
49 
51  {
52  public:
53 
54  // Empty constructor
56  virtual ~SDAlgorithmClarkClean();
58  virtual casacore::Long estimateRAM(const std::vector<int>& imstor);
59  protected:
60 
61  // Local functions to be overloaded by various algorithm deconvolvers.
62  virtual void takeOneStep( casacore::Float loopgain, casacore::Int cycleNiter, casacore::Float cycleThreshold, casacore::Float &peakresidual, casacore::Float &modelflux, casacore::Int &iterdone );
63  // virtual void initializeDeconvolver( casacore::Float &peakresidual, casacore::Float &modelflux );
64  virtual void initializeDeconvolver();
65  virtual void finalizeDeconvolver();
66  virtual void queryDesiredShape(casacore::Int &nchanchunks, casacore::Int& npolchunks, casacore::IPosition imshape);
67 
70 
72 
73  };
74 
75 } //# NAMESPACE CASA - END
76 
77 #endif
A Vector of integers, for indexing into Array&lt;T&gt; objects.
Definition: IPosition.h:119
int Int
Definition: aipstype.h:50
casacore::Array< casacore::Float > itsMatMask
SDAlgorithmClarkClean(casacore::String clarktype)
Empty constructor.
casacore::Array< casacore::Float > itsMatPsf
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.
virtual casacore::Long estimateRAM(const std::vector< int > &imstor)
returns the estimate of memory used in kilobytes (kB);
casacore::Array< casacore::Float > itsMatModel
long Long
Definition: aipstype.h:52
virtual void finalizeDeconvolver()
float Float
Definition: aipstype.h:54
casacore::Array< casacore::Float > itsMatDeltaModel
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.
String: the storage and methods of handling collections of characters.
Definition: String.h:223
virtual void initializeDeconvolver()
virtual void initializeDeconvolver(casacore::Float &amp;peakresidual, casacore::Float &amp;modelflux); ...
casacore::Array< casacore::Float > itsMatResidual