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