casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SynDataSampling.h
Go to the documentation of this file.
1 //# SynDataSampling.h: Definition for SynDataSampling
2 //# Copyright (C) 1996,1997,1998,1999,2000,2001
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_SYNDATASAMPLING_H
30 #define SYNTHESIS_SYNDATASAMPLING_H
31 
35 #include <casa/Arrays/Vector.h>
36 #include <casa/Arrays/Matrix.h>
38 
39 namespace casa { //# NAMESPACE CASA - BEGIN
40 
41 // <summary> Provides sampling of synthesis data for estimation algorithms
42 // </summary>
43 
44 // <use visibility=export>
45 
46 // <reviewed reviewer="" date="" tests="" demos="">
47 
48 // <prerequisite>
49 // </prerequisite>
50 //
51 // <etymology>
52 // Samples single dish casacore::Data as needed for various estimation algorithms
53 // </etymology>
54 //
55 // <synopsis>
56 // Esimation algorithms such as the Pixon method need sampled
57 // and unitless versions of the data. This class is derived from
58 // DataSampling. It adds methods specific to single dish data.
59 // </synopsis>
60 //
61 // <example>
62 // </example>
63 //
64 // <motivation>
65 // Define an interface to allow efficient processing of chunks of
66 // data
67 // </motivation>
68 //
69 // <todo asof="01/03/03">
70 // <ul> Derive more examples
71 // </todo>
72 
73 class SynDataSampling : public DataSampling {
74 public:
75 
77  const casacore::CoordinateSystem& coords,
79  const casacore::Quantity& sigma);
80 
81  // Copy constructor
82  SynDataSampling(const SynDataSampling &other);
83 
84  // Assignment operator
86 
88 
89 private:
90 
91  void ok();
92 
93 };
94 
95 } //# NAMESPACE CASA - END
96 
97 #endif
A Vector of integers, for indexing into Array&lt;T&gt; objects.
Definition: IPosition.h:119
SynDataSampling(casacore::MeasurementSet &ms, const casacore::CoordinateSystem &coords, const casacore::IPosition &shape, const casacore::Quantity &sigma)
SynDataSampling & operator=(const SynDataSampling &other)
Assignment operator.
Provides sampling of data for esimation algorithms.
Definition: DataSampling.h:104
TableExprNode shape(const TableExprNode &array)
Function operating on any scalar or array resulting in a Double array containing the shape...
Definition: ExprNode.h:1944
A Table intended to hold astronomical data (a set of Measurements).
Provides sampling of synthesis data for estimation algorithms.
Interconvert pixel and world coordinates.