28 #ifndef MS_MSPOLNPARSE_H
29 #define MS_MSPOLNPARSE_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/ms/MSSel/MSParse.h>
34 #include <casacore/ms/MeasurementSets/MSPolarization.h>
35 #include <casacore/ms/MeasurementSets/MSPolColumns.h>
36 #include <casacore/ms/MSSel/MSPolIndex.h>
37 #include <casacore/ms/MSSel/MSDataDescIndex.h>
MeasurementSet * ms()
Get ms object.
std::map< Int, Vector< Vector< Int > > > selectedSetupMap()
std::map< Int, Vector< Int > > selectedPolnMap()
Vector<Int>& selectedDDIDs, Matrix<Int>& selectedSpwPolnMap);.
Vector< Int > getMapToDDIDsV2(const String &polExpr, const Vector< Int > &spwIDs, Vector< Int > &polnIDs, Vector< Int > &polnIndices)
const TableExprNode selectFromIDList(const Vector< Int > &ddIDs)
std::map< Int, Vector< Int > > polMap_p
Vector< Int > getMapToDDIDs(MSDataDescIndex &msDDNdx, MSPolarizationIndex &msPolNdx, const Vector< Int > &spwIDs, Vector< Int > &polnIDs, Vector< Int > &polIndices)
Int theParser(const String &command)
const TableExprNode node()
Get table expression node object.
void reset()
static MSPolnParse* thisMSSParser;
MSPolnParse(const MeasurementSet *ms)
~MSPolnParse() {cleanup();}
Vector< Int > selectedDDIDs()
Vector< Int > getPolnIDs(const String &polSpec, Vector< Int > &polIndices)
std::map< Int, Vector< Vector< Int > > > setupMap_p
Vector< Int > getPolnIndices(const Int &polnID, const Vector< Int > &polnIDList)
Vector< Int > matchPolIDsToPolTableRow(const Vector< Int > &polIds, std::map< Int, Vector< Int > > &polIndexMap, Vector< Int > &polIndices, Bool addToMap=False)
void setIDLists(const Int key, const Int ndx, Vector< Int > &val)
MSPolnParse()
Default constructor.
Vector< Int > getPolnIDsV2(const String &polSpec, Vector< Int > &polTypes)
These are the versions used in the code.
String: the storage and methods of handling collections of characters.
void resize(size_t len, bool copyValues=false)
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.