casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MFCEMemImageSkyModel.h
Go to the documentation of this file.
1 //# MFCEMemImageSkyModel.h: Definition for MFCEMemImageSkyModel
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_MFCEMEMIMAGESKYMODEL_H
30 #define SYNTHESIS_MFCEMEMIMAGESKYMODEL_H
31 
33 namespace casa { //# NAMESPACE CASA - BEGIN
34 
35 //forward
36 class SkyEquation;
37 
38 // <summary>
39 // MF CE Mem Image Sky Model: Image Sky Model implementing the MF Mem algorithm
40 // </summary>
41 
42 // <use visibility=export>
43 
44 // <reviewed reviewer="" date="" tests="" demos="">
45 
46 // <prerequisite>
47 // <li> <linkto class=ImageSkyModel>ImageSkyModel</linkto> module
48 // </prerequisite>
49 //
50 // <etymology>
51 // MFCEMemImageSkyModel implements the MF Clean algorithm.
52 // It is derived from <linkto class=SkyModel>SkyModel</linkto>.
53 // </etymology>
54 //
55 // <synopsis>
56 // Rewrite me for MEM!
57 // The MF Clean is an FFT-based clean algorithm. Cleaning is
58 // split into major and minor cycles. In a minor cycle, the
59 // brightest pixels are cleaned using only the strongest sidelobes
60 // (and main lobe) of the PSF. In the major cycle, a fully correct
61 // subtraction of the PSF is done for all points accumulated in the
62 // minor cycle using an FFT-based convolution for speed.
63 //
64 // The MF Clean is implemented using the <linkto class=ClarkCleanModel</linkto>
65 // class.
66 //
67 // Masking is optionally performed using a mask image: only points
68 // where the mask is non-zero are cleaned. If no mask is specified
69 // all points in the inner quarter of the image are cleaned.
70 // </synopsis>
71 //
72 // <example>
73 // See the example for <linkto class=SkyModel>SkyModel</linkto>.
74 // </example>
75 //
76 // <motivation>
77 // </motivation>
78 //
79 // <todo asof="97/10/01">
80 // <ul> Allow specification of more control parameters
81 // </todo>
82 
84 public:
85 
86  // constructor
91  const casacore::String& entropy);
92 
93 
94  // Solve for this SkyModel
95  virtual casacore::Bool solve (SkyEquation& me);
96 
97 private:
98  // Return the maximum absolute value per field
100  // Return maximum abs outer sidelobe, more than nCenter pixels from the center
102 
103 };
104 
105 
106 } //# NAMESPACE CASA - END
107 
108 #endif
109 
110 
casacore::Float sigma()
Get the various control parameters which are different from Clean:
casacore::String entropy()
casacore::Bool constrainFlux()
casacore::Float maxField(casacore::Vector< casacore::Float > &imagemax, casacore::Vector< casacore::Float > &imagemin)
Return the maximum absolute value from residual images per field.
MFCEMemImageSkyModel(casacore::Float sigma, casacore::Float targetFlux, casacore::Bool constrainFlux, const casacore::Vector< casacore::String > &priors, const casacore::String &entropy)
casacore::Float targetFlux()
Image Sky Model for the Cornwell-Evens maximum entropy algorithm.
virtual casacore::Bool solve(SkyEquation &me)
Solve for this SkyModel.
MF CE Mem Image Sky Model: Image Sky Model implementing the MF Mem algorithm.
bool Bool
Define the standard types used by Casacore.
Definition: aipstype.h:42
casacore::Float maxOuter(casacore::Lattice< casacore::Float > &lat, const casacore::uInt nCenter)
float Float
Definition: aipstype.h:54
String: the storage and methods of handling collections of characters.
Definition: String.h:223
unsigned int uInt
Definition: aipstype.h:51