casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
NNLSImageSkyModel.h
Go to the documentation of this file.
1 //# NNLSImageSkyModel.h: Definition for NNLSImageSkyModel
2 //# Copyright (C) 1996,1997,1998,2000
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_NNLSIMAGESKYMODEL_H
30 #define SYNTHESIS_NNLSIMAGESKYMODEL_H
31 
33 namespace casa { //# NAMESPACE CASA - BEGIN
34 
35 //forward
36 class SkyEquation;
37 
38 // <summary> Briggs' Non-Negative Least Squares deconvolution algorithm </summary>
39 
40 // <use visibility=export>
41 
42 // <reviewed reviewer="" date="" tests="" demos="">
43 
44 // <prerequisite>
45 // <li> <linkto class=ImageSkyModel>ImageSkyModel</linkto> module
46 // </prerequisite>
47 //
48 // <etymology>
49 // NNLSImageSkyModel implements the NNLS deconvolution algorithm.
50 // It is derived from <linkto class=SkyModel>ImageSkyModel</linkto>.
51 // </etymology>
52 //
53 // <synopsis>
54 // NNLS is implemented using the
55 // <linkto class=casacore::NNLSMatrixSolver>NNLSMatrixSolver</linkto>
56 // class. Since the brightness must be non-negative, only the casacore::Stokes I
57 // is solved for. Any other polarizations are not changed.
58 //
59 // Two masks are needed: the fluxmask determining the
60 // free pixels in the output image, and the datamask determining
61 // the constraint pixels in the dirty image.
62 //
63 // In the solution, a matrix is required having elements connecting
64 // all free pixels with all constraint pixels. This is constructed
65 // from the point spread function. The total size of this matrix
66 // dominates the memory usage.
67 // </synopsis>
68 //
69 // <example>
70 // See the example for <linkto class=SkyModel>SkyModel</linkto>.
71 // </example>
72 //
73 // <motivation>
74 // </motivation>
75 //
76 // <todo asof="97/10/01">
77 // </todo>
78 
80 public:
81 
82  // Solve for this SkyModel
83  virtual casacore::Bool solve (SkyEquation& me);
84 
85 private:
86 
88 
89 };
90 
91 
92 } //# NAMESPACE CASA - END
93 
94 #endif
95 
96 
casacore::Bool maskedZeroI()
virtual casacore::Bool solve(SkyEquation &me)
Solve for this SkyModel.
bool Bool
Define the standard types used by Casacore.
Definition: aipstype.h:42
Image Sky Model: Image-based Model for the Sky Brightness.
Briggs&#39; Non-Negative Least Squares deconvolution algorithm.