|
casacore
|
Class to handle lookup or indexing into a MS SPECTRAL_WINDOW subtable. More...
#include <MSSpWindowIndex.h>
Public Member Functions | |
| MSSpWindowIndex (const MSSpectralWindow &spectralWindow) | |
| Construct from an MS SPECTRAL_WINDOW subtable. More... | |
| virtual | ~MSSpWindowIndex () |
| Null destructor. More... | |
| Vector< Int > | matchFreqGrp (const Int &freqGrp) |
| Look up SPECTRAL_WINDOW_ID's for a given frequency group or groups. More... | |
| Vector< Int > | matchFreqGrp (const Vector< Int > &freqGrps) |
| Vector< Int > | matchFreqGrpName (const String &freqGrpName) |
| Look up SPECTRAL_WINDOW_ID's for a given frequency group name. More... | |
| 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. More... | |
Private Member Functions | |
| MSSpWindowIndex () | |
| Disallow null constructor. More... | |
Private Attributes | |
| MSSpWindowColumns | msSpWindowCols_p |
| SPECTRAL_WINDOW subtable column accessor. More... | |
| Vector< Int > | spWindowIds_p |
| Vector cache of SpWindow id's. More... | |
| Int | nrows_p |
Class to handle lookup or indexing into a MS SPECTRAL_WINDOW subtable.
Public interface
From "MeasurementSet", "SPECTRAL_WINDOW subtable" and "index".
This class provides lookup and indexing into an MS SPECTRAL_WINDOW subtable. These services include returning rows numbers (which for the SPECTRAL_WINDOW subtable are SPECTRAL_WINDOW_ID's) associated with specific data in the subtable.
Collect together all subtable indexing and lookup for the SPECTRAL_WINDOW subtable, for encapsulation and efficiency.
Definition at line 83 of file MSSpWindowIndex.h.
| casacore::MSSpWindowIndex::MSSpWindowIndex | ( | const MSSpectralWindow & | spectralWindow | ) |
Construct from an MS SPECTRAL_WINDOW subtable.
|
inlinevirtual |
Null destructor.
Definition at line 90 of file MSSpWindowIndex.h.
|
private |
Disallow null constructor.
| Vector<Int> casacore::MSSpWindowIndex::matchFreq | ( | const Vector< MFrequency > & | chanFreq, |
| const Vector< MVFrequency > & | chanWidth, | ||
| const Double & | freqTol | ||
| ) |
Look up SPECTRAL_WINDOW_ID's for a given frequency axis sampling.
Look up SPECTRAL_WINDOW_ID's for a given frequency group or groups.
Look up SPECTRAL_WINDOW_ID's for a given frequency group name.
|
private |
SPECTRAL_WINDOW subtable column accessor.
Definition at line 109 of file MSSpWindowIndex.h.
|
private |
Definition at line 113 of file MSSpWindowIndex.h.
Vector cache of SpWindow id's.
Definition at line 112 of file MSSpWindowIndex.h.
1.8.5