Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.atnf.csiro.au/computing/software/casacore/casacore-1.2.0/doc/html/classcasa_1_1MSSpWindowIndex.html
Дата изменения: Unknown
Дата индексирования: Mon Feb 14 22:40:07 2011
Кодировка:

Поисковые слова: п п п п п р п
casacore: casa::MSSpWindowIndex Class Reference
Public Member Functions | Private Member Functions | Private Attributes

casa::MSSpWindowIndex Class Reference
[MeasurementSets_module]

Class to handle lookup or indexing into a MS SPECTRAL_WINDOW subtable. More...

#include <MSSpWindowIndex.h>

List of all members.

Public Member Functions

 MSSpWindowIndex (const MSSpectralWindow &spectralWindow)
 Construct from an MS SPECTRAL_WINDOW subtable.
virtual ~MSSpWindowIndex ()
 Null destructor.
Vector< IntmatchFreqGrp (const Int &freqGrp)
 Look up SPECTRAL_WINDOW_ID's for a given frequency group or groups.
Vector< IntmatchFreqGrp (const Vector< Int > &freqGrps)
Vector< IntmatchFreqGrpName (const String &freqGrpName)
 Look up SPECTRAL_WINDOW_ID's for a given frequency group name.
Vector< IntmatchFreq (const Vector< MFrequency > &chanFreq, const Vector< MVFrequency > &chanWidth, const Double &freqTol)
 Look up SPECTRAL_WINDOW_ID's for a given frequency axis sampling.

Private Member Functions

 MSSpWindowIndex ()
 Disallow null constructor.

Private Attributes

ROMSSpWindowColumns msSpWindowCols_p
 SPECTRAL_WINDOW subtable column accessor.
Vector< IntspWindowIds_p
 Vector cache of SpWindow id's.
Int nrows_p

Detailed Description

Class to handle lookup or indexing into a MS SPECTRAL_WINDOW subtable.

Intended use:

Public interface

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

From "MeasurementSet", "SPECTRAL_WINDOW subtable" and "index".

Synopsis

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.

Example

Motivation

Collect together all subtable indexing and lookup for the SPECTRAL_WINDOW subtable, for encapsulation and efficiency.

Thrown Exceptions

Definition at line 83 of file MSSpWindowIndex.h.


Constructor & Destructor Documentation

casa::MSSpWindowIndex::MSSpWindowIndex ( const MSSpectralWindow spectralWindow  ) 

Construct from an MS SPECTRAL_WINDOW subtable.

virtual casa::MSSpWindowIndex::~MSSpWindowIndex (  )  [inline, virtual]

Null destructor.

Definition at line 90 of file MSSpWindowIndex.h.

casa::MSSpWindowIndex::MSSpWindowIndex (  )  [private]

Disallow null constructor.


Member Function Documentation

Vector<Int> casa::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.

Vector<Int> casa::MSSpWindowIndex::matchFreqGrp ( const Vector< Int > &  freqGrps  ) 
Vector<Int> casa::MSSpWindowIndex::matchFreqGrp ( const Int freqGrp  ) 

Look up SPECTRAL_WINDOW_ID's for a given frequency group or groups.

Vector<Int> casa::MSSpWindowIndex::matchFreqGrpName ( const String freqGrpName  ) 

Look up SPECTRAL_WINDOW_ID's for a given frequency group name.


Member Data Documentation

SPECTRAL_WINDOW subtable column accessor.

Definition at line 109 of file MSSpWindowIndex.h.

Definition at line 113 of file MSSpWindowIndex.h.

Vector cache of SpWindow id's.

Definition at line 112 of file MSSpWindowIndex.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines