casa
$Rev:20696$
|
00001 //# HogbomCleanImageSkyModel.h: Definition for HogbomCleanImageSkyModel 00002 //# Copyright (C) 1996,1997,1998,1999,2003 00003 //# Associated Universities, Inc. Washington DC, USA. 00004 //# 00005 //# This library is free software; you can redistribute it and/or modify it 00006 //# under the terms of the GNU Library General Public License as published by 00007 //# the Free Software Foundation; either version 2 of the License, or (at your 00008 //# option) any later version. 00009 //# 00010 //# This library is distributed in the hope that it will be useful, but WITHOUT 00011 //# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00012 //# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public 00013 //# License for more details. 00014 //# 00015 //# You should have received a copy of the GNU Library General Public License 00016 //# along with this library; if not, write to the Free Software Foundation, 00017 //# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA. 00018 //# 00019 //# Correspondence concerning AIPS++ should be adressed as follows: 00020 //# Internet email: aips2-request@nrao.edu. 00021 //# Postal address: AIPS++ Project Office 00022 //# National Radio Astronomy Observatory 00023 //# 520 Edgemont Road 00024 //# Charlottesville, VA 22903-2475 USA 00025 //# 00026 //# 00027 //# $Id$ 00028 00029 #ifndef SYNTHESIS_HOGBOMCLEANIMAGESKYMODEL_H 00030 #define SYNTHESIS_HOGBOMCLEANIMAGESKYMODEL_H 00031 00032 #include <synthesis/MeasurementComponents/CleanImageSkyModel.h> 00033 namespace casa { //# NAMESPACE CASA - BEGIN 00034 00035 //forward 00036 class SkyEquation; 00037 template <class T> class RO_LatticeIterator; 00038 // <summary> 00039 // Hogbom Clean Image Sky Model: Image Sky Model implementing the Hogbom Clean algorithm 00040 // </summary> 00041 00042 // <use visibility=export> 00043 00044 // <reviewed reviewer="" date="" tests="" demos=""> 00045 00046 // <prerequisite> 00047 // <li> <linkto class=ImageSkyModel>ImageSkyModel</linkto> module 00048 // </prerequisite> 00049 // 00050 // <etymology> 00051 // HogbomCleanImageSkyModel implements the Hogbom Clean algorithm. 00052 // It is derived from <linkto class=SkyModel>SkyModel</linkto> and uses the 00053 // fortran code in hclean.f 00054 // </etymology> 00055 // 00056 // <synopsis> 00057 // The Hogbom Clean is the standard classic clean. 00058 // 00059 // The Hogbom Clean is implemented using the 00060 // hclean.f code. 00061 // 00062 // Masking is optionally performed using a mask image: only points 00063 // where the mask is non-zero are cleaned. If no mask is specified 00064 // all points in the inner quarter of the image are cleaned. 00065 // </synopsis> 00066 // 00067 // <example> 00068 // See the example for <linkto class=SkyModel>SkyModel</linkto>. 00069 // </example> 00070 // 00071 // <motivation> 00072 // </motivation> 00073 // 00074 // <todo asof="97/10/01"> 00075 // <ul> Allow specification of more control parameters 00076 // </todo> 00077 00078 class HogbomCleanImageSkyModel : public CleanImageSkyModel { 00079 public: 00080 00081 // Solve for this SkyModel 00082 virtual Bool solve (SkyEquation& me); 00083 Matrix<Float>* makeMaskMatrix(const Int& nx, 00084 const Int& ny, 00085 Int& newNx, 00086 Int& newNy, 00087 RO_LatticeIterator<Float>& maskIter, 00088 Int& xbeg, 00089 Int& xend, 00090 Int& ybeg, 00091 Int& yend); 00092 00093 private: 00094 }; 00095 00096 00097 } //# NAMESPACE CASA - END 00098 00099 #endif 00100 00101