casa
$Rev:20696$
|
00001 //# SimpleComponentGridMachine.h: Definition for SimpleComponentGridMachine 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_SIMPCOMPGRIDMACHINE_H 00030 #define SYNTHESIS_SIMPCOMPGRIDMACHINE_H 00031 00032 #include <synthesis/MSVis/VisBuffer.h> 00033 #include <synthesis/TransformMachines/ComponentFTMachine.h> 00034 #include <measures/Measures/MDirection.h> 00035 #include <measures/Measures/MPosition.h> 00036 #include <casa/Arrays/Array.h> 00037 #include <casa/Arrays/Vector.h> 00038 #include <casa/Arrays/Matrix.h> 00039 #include <casa/Logging/LogIO.h> 00040 #include <casa/Logging/LogSink.h> 00041 #include <casa/Logging/LogMessage.h> 00042 00043 namespace casa { //# NAMESPACE CASA - BEGIN 00044 00045 // <summary> does the simplest Fourier transform on SkyComponents </summary> 00046 00047 // <use visibility=export> 00048 00049 // <reviewed reviewer="" date="" tests="" demos=""> 00050 00051 // <prerequisite> 00052 // <li> <linkto class=ComponentFTMachine>ComponentFTMachine</linkto> class 00053 // <li> <linkto class=SkyEquation>SkyEquation</linkto> class 00054 // <li> <linkto class=VisBuffer>VisBuffer</linkto> module 00055 // </prerequisite> 00056 // 00057 // <etymology> 00058 // ComponentFTMachine is a Machine for Fourier Transforms of 00059 // SkyComponents 00060 // </etymology> 00061 // 00062 // <synopsis> 00063 // Does a simple transform of a sky component. The phase term 00064 // is fully accurate but no smearing is included. 00065 // </synopsis> 00066 // 00067 // <example> 00068 // </example> 00069 // 00070 // <motivation> 00071 // Allow transformation of sky components. 00072 // 00073 // </motivation> 00074 // 00075 // <todo asof="97/10/01"> 00076 // </todo> 00077 00078 // Forward declarations 00079 class ComponentList; 00080 00081 class SimpleComponentGridMachine : public ComponentFTMachine { 00082 public: 00083 00084 // Get actual coherence 00085 virtual void get(VisBuffer& vb, SkyComponent& component, Int row=-1); 00086 // Get actual coherence 00087 virtual void get(VisBuffer& vb, const ComponentList& skycomponentlist, Int row=-1); 00088 00089 00090 00091 protected: 00092 00093 }; 00094 00095 } //# NAMESPACE CASA - END 00096 00097 #endif