29 #ifndef MS_MSSPWINDOWINDEX_H
30 #define MS_MSSPWINDOWINDEX_H
33 #include <casacore/casa/aips.h>
34 #include <casacore/measures/Measures/MFrequency.h>
35 #include <casacore/ms/MeasurementSets/MSSpectralWindow.h>
36 #include <casacore/ms/MeasurementSets/MSSpWindowColumns.h>
37 #include <casacore/casa/Arrays/Vector.h>
38 #include <casacore/casa/BasicSL/String.h>
MSSpWindowIndex(const MSSpectralWindow &spectralWindow)
Construct from an MS SPECTRAL_WINDOW subtable.
virtual ~MSSpWindowIndex()
Null destructor.
Vector< Int > matchFreqGrp(const Int &freqGrp)
Look up SPECTRAL_WINDOW_ID's for a given frequency group or groups.
MSSpWindowColumns msSpWindowCols_p
SPECTRAL_WINDOW subtable column accessor.
MSSpWindowIndex()
Disallow null constructor.
Vector< Int > spWindowIds_p
Vector cache of SpWindow id's.
Vector< Int > matchFreqGrpName(const String &freqGrpName)
Look up SPECTRAL_WINDOW_ID's for a given frequency group name.
Vector< Int > matchFreqGrp(const Vector< Int > &freqGrps)
Vector< Int > matchFreq(const Vector< MFrequency > &chanFreq, const Vector< MVFrequency > &chanWidth, const Double &freqTol)
Look up SPECTRAL_WINDOW_ID's for a given frequency axis sampling.
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines