casa
$Rev:20696$
|
00001 //# SynDataSampling.h: Definition for SynDataSampling 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_SYNDATASAMPLING_H 00030 #define SYNTHESIS_SYNDATASAMPLING_H 00031 00032 #include <ms/MeasurementSets/MeasurementSet.h> 00033 #include <synthesis/DataSampling/DataSampling.h> 00034 #include <coordinates/Coordinates/CoordinateSystem.h> 00035 #include <casa/Arrays/Vector.h> 00036 #include <casa/Arrays/Matrix.h> 00037 #include <coordinates/Coordinates/DirectionCoordinate.h> 00038 00039 namespace casa { //# NAMESPACE CASA - BEGIN 00040 00041 // <summary> Provides sampling of synthesis data for estimation algorithms 00042 // </summary> 00043 00044 // <use visibility=export> 00045 00046 // <reviewed reviewer="" date="" tests="" demos=""> 00047 00048 // <prerequisite> 00049 // </prerequisite> 00050 // 00051 // <etymology> 00052 // Samples single dish Data as needed for various estimation algorithms 00053 // </etymology> 00054 // 00055 // <synopsis> 00056 // Esimation algorithms such as the Pixon method need sampled 00057 // and unitless versions of the data. This class is derived from 00058 // DataSampling. It adds methods specific to single dish data. 00059 // </synopsis> 00060 // 00061 // <example> 00062 // </example> 00063 // 00064 // <motivation> 00065 // Define an interface to allow efficient processing of chunks of 00066 // data 00067 // </motivation> 00068 // 00069 // <todo asof="01/03/03"> 00070 // <ul> Derive more examples 00071 // </todo> 00072 00073 class SynDataSampling : public DataSampling { 00074 public: 00075 00076 SynDataSampling(MeasurementSet& ms, 00077 const CoordinateSystem& coords, 00078 const IPosition& shape, 00079 const Quantity& sigma); 00080 00081 // Copy constructor 00082 SynDataSampling(const SynDataSampling &other); 00083 00084 // Assignment operator 00085 SynDataSampling &operator=(const SynDataSampling &other); 00086 00087 ~SynDataSampling(); 00088 00089 private: 00090 00091 void ok(); 00092 00093 }; 00094 00095 } //# NAMESPACE CASA - END 00096 00097 #endif