casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SDDataSampling.h
Go to the documentation of this file.
1 //# SDDataSampling.h: Definition for SDDataSampling
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_SDDATASAMPLING_H
30 #define SYNTHESIS_SDDATASAMPLING_H
31 
35 #include <casa/Arrays/Vector.h>
36 #include <casa/Arrays/Matrix.h>
38 
39 namespace casacore{
40 
41 class ROMSPointingColumns;
42 }
43 
44 namespace casa { //# NAMESPACE CASA - BEGIN
45 
46 
47 // <summary> Provides sampling of single dish data for esimation algorithms
48 // </summary>
49 
50 // <use visibility=export>
51 
52 // <reviewed reviewer="" date="" tests="" demos="">
53 
54 // <prerequisite>
55 // </prerequisite>
56 //
57 // <etymology>
58 // Samples single dish casacore::Data as needed for various estimation algorithms
59 // </etymology>
60 //
61 // <synopsis>
62 // Esimation algorithms such as the Pixon method need sampled
63 // and unitless versions of the data. This class is derived from
64 // DataSampling. It adds methods specific to single dish data.
65 // </synopsis>
66 //
67 // <example>
68 // </example>
69 //
70 // <motivation>
71 // Define an interface to allow efficient processing of chunks of
72 // data
73 // </motivation>
74 //
75 // <todo asof="01/03/03">
76 // <ul> Derive more examples
77 // </todo>
78 
79 class SDDataSampling : public DataSampling {
80 public:
81 
83  const casacore::CoordinateSystem& coords,
85  const casacore::Quantity& sigma);
86 
87  // Copy constructor
88  SDDataSampling(const SDDataSampling &other);
89 
90  // Assignment operator
92 
94 
95 private:
96 
98 
99  // casacore::Int nRows_p;
100 
102 
103  void ok();
104 
105 };
106 
107 } //# NAMESPACE CASA - END
108 
109 #endif
A Vector of integers, for indexing into Array&lt;T&gt; objects.
Definition: IPosition.h:119
int Int
Definition: aipstype.h:50
Provides sampling of single dish data for esimation algorithms.
SDDataSampling(casacore::MeasurementSet &ms, SkyJones &sj, const casacore::CoordinateSystem &coords, const casacore::IPosition &shape, const casacore::Quantity &sigma)
ABSTRACT TOOL CLASSES A PlotTool is a higher level event handler for a PlotCanvas The idea is to take common tasks which may require multiple events and put them in one place PlotTools also provide additional functionality in that they can be active and blocking non blocking The PlotCanvas will only send events to active and will not send events to later tools or event handlers if the latest tool was blocking In this way a single tool can be used to handle ALL user interaction via the GUI at one time
Definition: PlotTool.h:43
A class to provide easy read-only access to MSPointing columns.
double Double
Definition: aipstype.h:55
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).
casacore::Int lastIndex_p
Sky Jones: Model sky-plane instrumental effects for the SkyEquation.
Definition: SkyJones.h:172
casacore::Int getIndex(const casacore::ROMSPointingColumns &mspc, const casacore::Double &time)
casacore::Int nRows_p;
SDDataSampling & operator=(const SDDataSampling &other)
Assignment operator.
Interconvert pixel and world coordinates.
#define casacore
&lt;X11/Intrinsic.h&gt; #defines true, false, casacore::Bool, and String.
Definition: X11Intrinsic.h:42