26#ifndef MS_MSSELECTIONTOOLS_H
27#define MS_MSSELECTIONTOOLS_H
30#include <casacore/casa/aips.h>
31#include <casacore/casa/Arrays/Vector.h>
32#include <casacore/ms/MSSel/MSSelection.h>
42 const String& timeExpr =
"",
const String& antennaExpr =
"",
43 const String& fieldExpr =
"",
const String& spwExpr =
"",
44 const String& uvDistExpr =
"",
const String& taQLExpr =
"",
45 const String& polnExpr =
"",
const String& scanExpr =
"",
46 const String& arrayExpr =
"",
const String& stateExpr =
"",
51 const String& timeExpr =
"",
const String& antennaExpr =
"",
52 const String& fieldExpr =
"",
const String& spwExpr =
"",
53 const String& uvDistExpr =
"",
const String& taQLExpr =
"",
54 const String& polnExpr =
"",
const String& scanExpr =
"",
55 const String& arrayExpr =
"",
const String& stateExpr =
"",
61 const String& outMSName =
"",
const String& timeExpr =
"",
62 const String& antennaExpr =
"",
const String& fieldExpr =
"",
63 const String& spwExpr =
"",
const String& uvDistExpr =
"",
64 const String& taQLExpr =
"",
const String& polnExpr =
"",
65 const String& scanExpr =
"",
const String& arrayExpr =
"",
66 const String& stateExpr =
"",
const String& obsExpr =
"",
72 const String& outMSName =
"",
const String& timeExpr =
"",
73 const String& antennaExpr =
"",
const String& fieldExpr =
"",
74 const String& spwExpr =
"",
const String& uvDistExpr =
"",
75 const String& taQLExpr =
"",
const String& polnExpr =
"",
76 const String& scanExpr =
"",
const String& arrayExpr =
"",
77 const String& stateExpr =
"",
const String& obsExpr =
"",
78 const String& feedExpr =
"",
const Int defaultChanStep = 1,
String: the storage and methods of handling collections of characters.
int split(const std::string &str, std::string res[], int maxn, const std::string &sep)
Splitting Global function which splits the String into string array res at separator and returns the ...
For temporary backward namespace compatibility, use casa as alias for casacore.
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.
int tokenize(const String &str, const String &sep, Vector< String > &tokens, Bool upCase=False)
Bool getSelectedTable(Table &selectedTab, const Table &baseTab, TableExprNode &fullTEN, const String &outName)
Vector< Int > set_intersection(const Vector< Int > &v1, const Vector< Int > &v2)
Get the intersection or union of IDs (such as FieldId).
String stripWhite(const String &str, Bool onlyends=True)
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 Bool
Define the standard types used by Casacore.
Vector< Int > set_union(const Vector< Int > &v1, const Vector< Int > &v2)
Record mssSelectedIndices(MSSelection &mss, const MeasurementSet *ms)