29 #ifndef MS_MSSPWINDEX_H
30 #define MS_MSSPWINDEX_H
131 const Bool& greaterThan,
132 const Bool& ascendingOrder);
Vector< Int > matchFrequencyRange(const Float f0, const Float f1, Bool approx, const Float f3=0)
MSSpwIndex()
Construct from an MS FIELD subtable.
Int findChanIndex_p(const Float &freq, const Vector< Double > &chanFreqList, const Bool &greaterThan, const Bool &ascendingOrder)
void matchNameAsIntID(Vector< int > &list)
Vector< Int > convertToChannelIndex(const Vector< Int > &spw, const Vector< Float > &freqList, Int &nFSpec)
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 > matchGTAndLT(const Int n0, const int n1)
TableExprNode pattern(const TableExprNode &node)
MODES
MSDataDescColumns msDataDescSubTable_p;.
A class to provide easy access to MSSpectralWindow columns.
bool Bool
Define the standard types used by Casacore.
Vector< Float > convertToMKS(const Float f0, const Float f1, const String &unit)
TableExprNode regex(const TableExprNode &node)
Functions for regular expression matching and pattern matching.
virtual ~MSSpwIndex()
Null destructor.
Class to handle lookup or indexing into a MS Data_Desc_ID and SpectralWindow subtables.
String: the storage and methods of handling collections of characters.
Vector< Int > convertToSpwIndex(const Vector< Float > &freqList, Int &nFSpec)
Vector< Int > matchGT(const Int n)
Vector< Int > matchId(const Vector< Int > &spwIds)
Look up FIELD_ID's for a given source id.
MSSpWindowColumns msSpwSubTable_p
FIELD subtable column accessor.
Vector< Int > matchName(const String &name)
Look up FIELD_ID's for a given field name, or set of field names.
Vector< Int > matchLT(const Int n)
A Table intended to hold a MeasurementSet SPECTRAL_WINDOW table.