casa
$Rev:20696$
|
00001 //# Pixon.h: Definition for Pixon 00002 //# Copyright (C) 1996,1997,1998,1999,2000,2001 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_PIXONPROCESSOR_H 00030 #define SYNTHESIS_PIXONPROCESSOR_H 00031 00032 #include <synthesis/IDL/IDL.h> 00033 #include <synthesis/DataSampling/DataSampling.h> 00034 00035 namespace casa { //# NAMESPACE CASA - BEGIN 00036 00037 // <summary> Allows processing via the Pixon algorithm 00038 // </summary> 00039 00040 // <use visibility=export> 00041 00042 // <reviewed reviewer="" date="" tests="" demos=""> 00043 00044 // <prerequisite> 00045 // <li> <linkto class=IDL>IDL</linkto> class 00046 // <li> <linkto class=DataSampling>DataSampling</linkto> class 00047 // </prerequisite> 00048 // 00049 // <etymology> 00050 // Performs processing via the Pixon algorithm 00051 // </etymology> 00052 // 00053 // <synopsis> 00054 // </synopsis> 00055 // 00056 // <example> 00057 // </example> 00058 // 00059 // <motivation> 00060 // Allow pixon processing in AIPS++ 00061 // </motivation> 00062 // 00063 // <todo asof="01/03/03"> 00064 // <ul> None 00065 // </todo> 00066 00067 class PixonProcessor { 00068 public: 00069 00070 PixonProcessor(); 00071 00072 PixonProcessor(ImageInterface<Float>& model); 00073 00074 // Copy constructor 00075 PixonProcessor(const PixonProcessor &other); 00076 00077 // Assignment operator 00078 PixonProcessor &operator=(const PixonProcessor &other); 00079 00080 virtual ~PixonProcessor(); 00081 00082 Bool calculate(const DataSampling& dsm, Array<Float>& a); 00083 00084 Bool save(const DataSampling& ds, const String& saveName); 00085 00086 Bool standardTest(); 00087 00088 protected: 00089 00090 String IDLPixonHome; 00091 00092 String IDLPublicHome; 00093 00094 IDL idl; 00095 00096 ImageInterface<Float>* model_p; 00097 00098 void ok(); 00099 00100 }; 00101 00102 } //# NAMESPACE CASA - END 00103 00104 #endif