29 #ifndef MS_MSSPWINDEX_H
30 #define MS_MSSPWINDEX_H
33 #include <casacore/casa/aips.h>
34 #include <casacore/casa/Arrays/Vector.h>
35 #include <casacore/casa/BasicSL/String.h>
36 #include <casacore/ms/MeasurementSets/MSColumns.h>
37 #include <casacore/casa/Arrays/Matrix.h>
131 const Bool& greaterThan,
132 const Bool& ascendingOrder);
Vector< Int > matchLT(const Int n)
Vector< Float > convertToMKS(const Float f0, const Float f1, const String &unit)
Bool matchFrequencyRange(const Double f0, const Double f1, Vector< Int > &spw, Vector< Int > &start, Vector< Int > &nchan)
A version of match freq range that does not throw an exception but returns false if no match....
Vector< Int > matchGTAndLT(const Float *phyValMin, const Float *phyValMax)
Vector< Int > matchId(const Vector< Int > &spwIds)
Look up FIELD_ID's for a given source id.
MSSpwIndex(const MSSpectralWindow &msSpw)
Construct from an MS FIELD subtable.
Vector< Int > matchName(const Vector< String > &names)
Vector< Int > convertToChannelIndex(const Vector< Int > &spw, const Vector< Float > &freqList, Int &nFSpec)
void matchNameAsIntID(Vector< int > &list)
Int findChanIndex_p(const Float &freq, const Vector< Double > &chanFreqList, const Bool &greaterThan, const Bool &ascendingOrder)
Vector< Int > matchGT(const Int n)
Vector< Int > matchGT(const Float *)
MSSpwIndex()
Construct from an MS FIELD subtable.
MODES
MSDataDescColumns msDataDescSubTable_p;.
Vector< Int > matchGTAndLT(const Int n0, const int n1)
Vector< Int > convertToSpwIndex(const Vector< Float > &freqList, Int &nFSpec)
Vector< Int > matchLT(const Float *)
MSSpWindowColumns msSpwSubTable_p
FIELD subtable column accessor.
Vector< Int > matchRegexOrPattern(const String &pattern, const Bool regex=False)
Look up FIELD_ID's for a given pattern/regex for source name/code.
Vector< Int > matchName(const String &name)
Look up FIELD_ID's for a given field name, or set of field names.
Vector< Int > matchFrequencyRange(const Float f0, const Float f1, Bool approx, const Float f3=0)
virtual ~MSSpwIndex()
Null destructor.
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines
TableExprNode pattern(const TableExprNode &node)
TableExprNode regex(const TableExprNode &node)
Functions for regular expression matching and pattern matching.
bool Bool
Define the standard types used by Casacore.