Go to the documentation of this file.
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>
Vector< Int > matchPolIDsToPolTableRow(const Vector< Int > &polIds, std::map< Int, Vector< Int > > &polIndexMap, Vector< Int > &polIndices, Bool addToMap=False)
MeasurementSet * ms()
Get ms object.
std::map< Int, Vector< Vector< Int > > > selectedSetupMap()
Class to handle lookup or indexing into an MS POLARIZATION subtable.
Vector< Int > getPolnIDsV2(const String &polSpec, Vector< Int > &polTypes)
These are the versions used in the code.
const TableExprNode selectFromIDList(const Vector< Int > &ddIDs)
Vector< Int > selectedDDIDs()
MSPolnParse()
Default constructor.
void resize(size_t len, Bool copyValues=False)
const TableExprNode node()
Get table expression node object.
Class to hold values from an ms grammar parser.
std::map< Int, Vector< Int > > selectedPolnMap()
Vector<Int>& selectedDDIDs, Matrix<Int>& selectedSpwPolnMap);.
this file contains all the compiler specific defines
Class to handle lookup or indexing into a MS DATA_DESC subtable.
Vector< Int > getPolnIDs(const String &polSpec, Vector< Int > &polIndices)
Handle class for a table column expression tree.
Vector< Int > getMapToDDIDs(MSDataDescIndex &msDDNdx, MSPolarizationIndex &msPolNdx, const Vector< Int > &spwIDs, Vector< Int > &polnIDs, Vector< Int > &polIndices)
void setIDLists(const Int key, const Int ndx, Vector< Int > &val)
std::map< Int, Vector< Int > > polMap_p
A Table intended to hold astronomical data (a set of Measurements).
std::map< Int, Vector< Vector< Int > > > setupMap_p
String: the storage and methods of handling collections of characters.
bool Bool
Define the standard types used by Casacore.
Vector< Int > getMapToDDIDsV2(const String &polExpr, const Vector< Int > &spwIDs, Vector< Int > &polnIDs, Vector< Int > &polnIndices)
Int theParser(const String &command)
Class to hold values from field grammar parser.
MSPolnParse(const MeasurementSet *ms)
~MSPolnParse() {cleanup();}
Vector< Int > getPolnIndices(const Int &polnID, const Vector< Int > &polnIDList)
void reset()
static MSPolnParse* thisMSSParser;