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> 130 const Bool& greaterThan,
131 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)
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.
A class to provide easy read-only access to MSASpectralWindow columns.
Vector< Int > matchGTAndLT(const Int n0, const int n1)
TableExprNode pattern(const TableExprNode &node)
ROMSSpWindowColumns msSpwSubTable_p
FIELD subtable column accessor.
MODES
ROMSDataDescColumns msDataDescSubTable_p;.
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.
this file contains all the compiler specific defines
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.