28 #ifndef MS_MSSELECTIONTOOLS_H
29 #define MS_MSSELECTIONTOOLS_H
39 Vector<Int>
set_union(
const Vector<Int>& v1,
const Vector<Int>& v2);
43 MeasurementSet& selectedMS,
44 const String& outMSName=
"",
45 const String& timeExpr=
"",
46 const String& antennaExpr=
"",
47 const String& fieldExpr=
"",
48 const String& spwExpr=
"",
49 const String& uvDistExpr=
"",
50 const String& taQLExpr=
"",
51 const String& polnExpr=
"",
52 const String& scanExpr=
"",
53 const String& arrayExpr=
"",
54 const String& stateExpr=
"",
55 const String& obsExpr=
"",
61 MeasurementSet& selectedMS,
62 const String& outMSName=
"",
63 const String& timeExpr=
"",
64 const String& antennaExpr=
"",
65 const String& fieldExpr=
"",
66 const String& spwExpr=
"",
67 const String& uvDistExpr=
"",
68 const String& taQLExpr=
"",
69 const String& polnExpr=
"",
70 const String& scanExpr=
"",
71 const String& arrayExpr=
"",
72 const String& stateExpr=
"",
73 const String& obsExpr=
"",
74 const String& feedExpr=
"",
81 MeasurementSet& selectedMS,
82 Vector<Vector<Slice> >& chanSlices,
83 Vector<Vector<Slice> >& corrSlices,
84 const String& outMSName=
"",
85 const String& timeExpr=
"",
86 const String& antennaExpr=
"",
87 const String& fieldExpr=
"",
88 const String& spwExpr=
"",
89 const String& uvDistExpr=
"",
90 const String& taQLExpr=
"",
91 const String& polnExpr=
"",
92 const String& scanExpr=
"",
93 const String& arrayExpr=
"",
94 const String& stateExpr=
"",
95 const String& obsExpr=
"",
96 const Int defaultChanStep=1,
102 MeasurementSet& selectedMS,
103 Vector<Vector<Slice> >& chanSlices,
104 Vector<Vector<Slice> >& corrSlices,
105 const String& outMSName=
"",
106 const String& timeExpr=
"",
107 const String& antennaExpr=
"",
108 const String& fieldExpr=
"",
109 const String& spwExpr=
"",
110 const String& uvDistExpr=
"",
111 const String& taQLExpr=
"",
112 const String& polnExpr=
"",
113 const String& scanExpr=
"",
114 const String& arrayExpr=
"",
115 const String& stateExpr=
"",
116 const String& obsExpr=
"",
117 const String& feedExpr=
"",
118 const Int defaultChanStep=1,
119 MSSelection *mss=NULL
123 TableExprNode& fullTEN,
const String& outName);
128 int tokenize(
const String& str,
const String& sep, Vector<String>& tokens,
Bool upCase=
False);
129 Vector<String> &
split(
const String &s,
char delim, Vector<String> &elems);
Bool mssSetData2(const MeasurementSet &ms, MeasurementSet &selectedMS, const String &outMSName="", const String &timeExpr="", const String &antennaExpr="", const String &fieldExpr="", const String &spwExpr="", const String &uvDistExpr="", const String &taQLExpr="", const String &polnExpr="", const String &scanExpr="", const String &arrayExpr="", const String &stateExpr="", const String &obsExpr="", const String &feedExpr="", MSSelection *mss=NULL)
Added feedExpr.
Bool getSelectedTable(Table &selectedTab, const Table &baseTab, TableExprNode &fullTEN, const String &outName)
std::vector< double > Vector
Vector< Int > set_union(const Vector< Int > &v1, const Vector< Int > &v2)
Bool mssSetData(const MeasurementSet &ms, MeasurementSet &selectedMS, const String &outMSName="", const String &timeExpr="", const String &antennaExpr="", const String &fieldExpr="", const String &spwExpr="", const String &uvDistExpr="", const String &taQLExpr="", const String &polnExpr="", const String &scanExpr="", const String &arrayExpr="", const String &stateExpr="", const String &obsExpr="", MSSelection *mss=NULL)
Collective selection returning a selected MS.
Vector< Int > set_intersection(const Vector< Int > &v1, const Vector< Int > &v2)
String stripWhite(const String &str, Bool onlyends=True)
int tokenize(const String &str, const String &sep, Vector< String > &tokens, Bool upCase=False)
Vector< String > & split(const String &s, char delim, Vector< String > &elems)
Record mssSelectedIndices(MSSelection &mss, const MeasurementSet *ms)
bool Bool
Define the standard types used by Casacore.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.