Go to the documentation of this file.
28 #ifndef MS_MSANTENNAPARSE_H
29 #define MS_MSANTENNAPARSE_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/ms/MSSel/MSParse.h>
34 #include <casacore/ms/MSSel/MSSelectionErrorHandler.h>
35 #include <casacore/casa/Arrays/Matrix.h>
170 const Int ant1,
const Int ant2,
MeasurementSet * ms()
Get ms object.
const Matrix< Int > & selectedBaselines() const
const TableExprNode * setTEN(TableExprNode &condition, BaselineListType baselineType=CrossOnly, Bool negate=False)
Referenced counted pointer for constant data.
void makeAntennaList(Vector< Int > &antList, const Vector< Int > &thisList, Bool negate=False)
std::bitset< HIGHESTLEVEL > complexity
static MSAntennaParse * thisMSAParser
const TableExprNode * selectBLRegex(const std::vector< String > &lengths, Bool negate=False)
Selection on baseline regex.
Matrix< Int > baselineList
Class to hold values from an ms grammar parser.
A Table intended to hold a MeasurementSet ANTENNA table.
std::bitset< HIGHESTLEVEL > getComplexity()
Bool addBaseline(const Matrix< Int > &baselist, const Int ant1, const Int ant2, BaselineListType baselineType=CrossOnly)
static void cleanupErrorHandler()
void setComplexity(const ComplexityLevels &level=RESET)
TableExprNode node() const
Get a pointer to the table expression node object.
static CountedPtr< MSSelectionErrorHandler > thisMSAErrorHandler
const TableExprNode * selectLength(const std::vector< double > &lengths, Bool negate=False)
Selection on baseline length.
const Vector< Int > & selectedAnt1() const
const TableExprNode * makeBLNode(const Matrix< Bool > &match, Bool negate)
this file contains all the compiler specific defines
void makeBaselineList(const Vector< Int > &a1, const Vector< Int > &a2, Matrix< Int > &b, BaselineListType baselineType=CrossOnly, Bool negate=False)
Class to hold values from antenna grammar parser.
Handle class for a table column expression tree.
const TableExprNode * selectNameOrStation(const Vector< String > &antenna, BaselineListType baselineType=CrossOnly, Bool negate=False)
Select by name or station number.
BaselineListType
Define the operator types (&&&, &&, and &).
const TableExprNode * selectAntennaIds(const Vector< Int > &antennaIds, BaselineListType baselineType=CrossOnly, Bool negate=False)
Add the given antennae selection.
A Table intended to hold astronomical data (a set of Measurements).
Matrix< double > getBaselineLengths()
MSAntennaParse()
Default constructor.
String: the storage and methods of handling collections of characters.
bool Bool
Define the standard types used by Casacore.
static TableExprNode column1AsTEN_p
static TableExprNode column2AsTEN_p
const Vector< Int > & selectedAnt2() const
static double getUnitFactor(const char *unit)
Get the factor to convert the given unit to m.