casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SDAlgorithmClarkClean2.h
Go to the documentation of this file.
1 //# SDAlgorithmClarkClean2.h: Definition for SDAlgorithmClarkClean2
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_SDALGORITHMCLARKCLEAN2_H
30 #define SYNTHESIS_SDALGORITHMCLARKCLEAN2_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 ~SDAlgorithmClarkClean2();
58  virtual casacore::Long estimateRAM(const std::vector<int>& imstor);
59 
60  protected:
61 
62  // Local functions to be overloaded by various algorithm deconvolvers.
63  virtual void takeOneStep( casacore::Float loopgain, casacore::Int cycleNiter, casacore::Float cycleThreshold, casacore::Float &peakresidual, casacore::Float &modelflux, casacore::Int &iterdone );
64  // virtual void initializeDeconvolver( casacore::Float &peakresidual, casacore::Float &modelflux );
65  virtual void initializeDeconvolver();
66  virtual void finalizeDeconvolver();
67  virtual void queryDesiredShape(casacore::Int &nchanchunks, casacore::Int& npolchunks, casacore::IPosition imshape);
68 
71 
73 
74  };
75 
76 } //# NAMESPACE CASA - END
77 
78 #endif
A Vector of integers, for indexing into Array&lt;T&gt; objects.
Definition: IPosition.h:119
int Int
Definition: aipstype.h:50
SDAlgorithmClarkClean2(casacore::String clarktype)
Empty constructor.
casacore::Array< casacore::Float > itsMatResidual
virtual casacore::Long estimateRAM(const std::vector< int > &imstor)
returns the estimate of memory used in kilobytes (kB);
long Long
Definition: aipstype.h:52
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.
casacore::Array< casacore::Float > itsMatPsf
virtual void initializeDeconvolver()
virtual void initializeDeconvolver(casacore::Float &amp;peakresidual, casacore::Float &amp;modelflux); ...
float Float
Definition: aipstype.h:54
casacore::Array< casacore::Float > itsMatMask
virtual void finalizeDeconvolver()
casacore::Array< casacore::Float > itsMatDeltaModel
String: the storage and methods of handling collections of characters.
Definition: String.h:223
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.
casacore::Array< casacore::Float > itsMatModel