casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SDAlgorithmAAspClean.h
Go to the documentation of this file.
1 //# SDAlgorithmAAspClean.h: Definition for SDAlgorithmAAspClean
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_SDALGORITHMAASPCLEAN_H
30 #define SYNTHESIS_SDALGORITHMAASPCLEAN_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 
44 
45 namespace casa { //# NAMESPACE CASA - BEGIN
46 
47  /* Forware Declaration */
48  class SIMinorCycleController;
49 
50 
52  {
53  public:
54 
55  // Empty constructor
57  virtual ~SDAlgorithmAAspClean();
58 
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 
68 
70  // virtual void restorePlane();
71 
72  /*
73  void findNextComponent( casacore::Float loopgain );
74  void updateModel();
75  void updateResidual();
76  */
77 
78  /*
79  casacore::SubImage<casacore::Float> itsResidual, itsPsf, itsModel, itsImage;
80  casacore::Float itsComp;
81  */
82  //casacore::SubImage<casacore::Float> itsResidual, itsPsf, itsModel, itsImage;
83 
85 
86  /*
87  casacore::IPosition itsMaxPos;
88  casacore::Float itsPeakResidual;
89  casacore::Float itsModelFlux;
90 
91  casacore::Matrix<casacore::Float> itsMatMask;
92  */
93 
94  };
95 
96 } //# NAMESPACE CASA - END
97 
98 #endif
int Int
Definition: aipstype.h:50
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.
SDAlgorithmAAspClean()
Empty constructor.
virtual void initializeDeconvolver()
virtual void initializeDeconvolver(casacore::Float &amp;peakresidual, casacore::Float &amp;modelflux); ...
SDAlgorithmHogbomClean hogbom_p
virtual void finalizeDeconvolver()
casacore::Array< casacore::Float > itsMatPsf
float Float
Definition: aipstype.h:54
casacore::Array< casacore::Float > itsMatResidual
virtual void queryDesiredShape(casacore::Bool &amp;onechan, casacore::Bool &amp;onepol); // ...
casacore::Array< casacore::Float > itsMatMask
casacore::Array< casacore::Float > itsMatModel