casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SimpleSubMS.h
Go to the documentation of this file.
1 //# SimpleSubMS.h: this defines SubMS which creates a subset of an casacore::MS with some
2 //# transformation
3 //# Copyright (C) 1997,1998,1999,2000,2001,2003
4 //# Associated Universities, Inc. Washington DC, USA.
5 //#
6 //# This library is free software; you can redistribute it and/or modify it
7 //# under the terms of the GNU Library General Public License as published by
8 //# the Free Software Foundation; either version 2 of the License, or (at your
9 //# option) any later version.
10 //#
11 //# This library is distributed in the hope that it will be useful, but WITHOUT
12 //# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 //# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
14 //# License for more details.
15 //#
16 //# You should have received a copy of the GNU Library General Public License
17 //# along with this library; if not, write to the Free Software Foundation,
18 //# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
19 //#
20 //# Correspondence concerning AIPS++ should be addressed as follows:
21 //# Internet email: aips2-request@nrao.edu.
22 //# Postal address: AIPS++ Project Office
23 //# National Radio Astronomy Observatory
24 //# 520 Edgemont Road
25 //# Charlottesville, VA 22903-2475 USA
26 //#
27 //#
28 //# $Id$
29 
30 #include <msvis/MSVis/SubMS.h>
31 
32 
33 #ifndef MSVIS_SIMPLESUBMS_H
34 
35 namespace casa { //# NAMESPACE CASA - BEGIN
36 
37 #define MSVIS_SUBMS_H
38 //
39 // <summary>
40 // SimpleSubMS provide a simpler subset of SubMS.
41 // The purpose of this class to avoid unnecessary IO for some simplistic selection and subMSsing
42 // No averaging no fanciness...simple time and channel subsets.
43 // </summary>
44 
45 // <visibility=export>
46 
47 // <reviewed reviewer="" date="yyyy/mm/dd" tests="" demos="">
48 // </reviewed>
49 
50 // <prerequisite>
51 // <li> MeasurementSet
52 // </prerequisite>
53 //
54 // <etymology>
55 // SimpleSubMS ...from the SUBset of an casacore::MS and Simple
56 // </etymology>
57 //
58 // <synopsis>
59 // The order of operations (as in ms::split()) is:
60 // ctor
61 // setmsselect
62 // selectTime
63 // makeScratchSubMS
64 // </synopsis>
65 
66  class SimpleSubMS : public SubMS
67 {
68 
69  public:
70 
71  // Constructor with an ms
73  //Die...die
74  ~SimpleSubMS();
75  // In this form whichDataCol gets passed to parseColumnNames().
77 
78 
79 
80 
81 };
82 
83 
84 } //# NAMESPACE CASA - END
85 
86 #endif
~SimpleSubMS()
Die...die.
PredefinedColumns
The Main table colums with predefined meaning.
Definition: MSMainEnums.h:65
virtual casacore::MeasurementSet * makeMemSubMS(const casacore::MS::PredefinedColumns &datacol, const casacore::String &diskname=casacore::String(""))
In this form whichDataCol gets passed to parseColumnNames().
A Table intended to hold astronomical data (a set of Measurements).
String: the storage and methods of handling collections of characters.
Definition: String.h:223
SimpleSubMS(casacore::MeasurementSet &ms)
Constructor with an ms.
SimpleSubMS provide a simpler subset of SubMS. The purpose of this class to avoid unnecessary IO for ...
Definition: SimpleSubMS.h:66