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,
Referenced counted pointer for constant data.
std::bitset< HIGHESTLEVEL > complexity
Matrix< Int > baselineList
void makeAntennaList(Vector< Int > &antList, const Vector< Int > &thisList, Bool negate=False)
std::bitset< HIGHESTLEVEL > getComplexity()
static void cleanupErrorHandler()
MSAntennaParse(const MeasurementSet *ms)
Associate the ms.
const Vector< Int > & selectedAnt1() const
BaselineListType
Define the operator types (&&&, &&, and &).
static TableExprNode column2AsTEN_p
static MSAntennaParse * thisMSAParser
const TableExprNode * setTEN(TableExprNode &condition, BaselineListType baselineType=CrossOnly, Bool negate=False)
const TableExprNode * selectAntennaIds(const Vector< Int > &antennaIds1, const Vector< Int > &antennaIds2, BaselineListType baselineType=CrossOnly, Bool negate=False)
Add the given baseline selection.
const TableExprNode * selectNameOrStation(const Vector< String > &antenna1, const Vector< String > &antenna2, BaselineListType baselineType=CrossOnly, Bool negate=False)
const TableExprNode * makeBLNode(const Matrix< Bool > &match, Bool negate)
const Vector< Int > & selectedAnt2() const
void setComplexity(const ComplexityLevels &level=RESET)
const TableExprNode * selectNameOrStation(const Vector< String > &antenna, BaselineListType baselineType=CrossOnly, Bool negate=False)
Select by name or station number.
MSAntennaParse()
Default constructor.
const TableExprNode * selectLength(const std::vector< double > &lengths, Bool negate=False)
Selection on baseline length.
Bool addBaseline(const Matrix< Int > &baselist, const Int ant1, const Int ant2, BaselineListType baselineType=CrossOnly)
static TableExprNode column1AsTEN_p
void makeBaselineList(const Vector< Int > &a1, const Vector< Int > &a2, Matrix< Int > &b, BaselineListType baselineType=CrossOnly, Bool negate=False)
MSAntennaParse(const MSAntenna &antSubTable, const TableExprNode &ant1AsTEN, const TableExprNode &ant2AsTEN)
const TableExprNode * selectBLRegex(const std::vector< String > &lengths, Bool negate=False)
Selection on baseline regex.
static double getUnitFactor(const char *unit)
Get the factor to convert the given unit to m.
TableExprNode node() const
Get a pointer to the table expression node object.
const TableExprNode * selectNameOrStation(const String &antenna1, const String &antenna2, BaselineListType baselineType=CrossOnly, Bool negate=False)
Matrix< double > getBaselineLengths()
static CountedPtr< MSSelectionErrorHandler > thisMSAErrorHandler
const TableExprNode * selectAntennaIds(const Vector< Int > &antennaIds, BaselineListType baselineType=CrossOnly, Bool negate=False)
Add the given antennae selection.
const Matrix< Int > & selectedBaselines() const
MeasurementSet * ms()
Get ms object.
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.