casa
$Rev:20696$
|
Class to handle lookup or indexing into an MS POLARIZATION subtable. More...
#include <MSPolIndex.h>
Public Member Functions | |
MSPolarizationIndex (const MSPolarization &polarizationTable) | |
Construct from an MS POLARIZATION subtable. | |
virtual | ~MSPolarizationIndex () |
Null destructor. | |
Vector< Int > | matchCorrTypeAndProduct (const Vector< Int > &corrType, const Matrix< Int > &corrProduct) |
Look up POLARIZATION_ID's for a given set of polarization correlation types and receptor cross-products. | |
Vector< Int > | matchCorrType (const Vector< Int > &corrType, Bool exactMatch=True) |
/////////////////// Add for MS selection ////////////////////////////// Only Look up POLARIZATION_ID's for a given set of polarization correlation types | |
Private Member Functions | |
MSPolarizationIndex () | |
Disallow null constructor. | |
Private Attributes | |
ROMSPolarizationColumns | msPolarizationCols_p |
POLARIZATION subtable column accessor. | |
Vector< Int > | polarizationIds_p |
Vector cache of polarization id's. | |
Int | nrows_p |
Class to handle lookup or indexing into an MS POLARIZATION subtable.
Public interface
From "MeasurementSet", "POLARIZATION subtable" and "index".
This class provides lookup and indexing into an MS POLARIZATION subtable. These services include returning rows numbers (which for the POLARIZATION subtable are POLARIZATION_ID's) associated with specific data in the subtable.
Collect together all subtable indexing and lookup for the POLARIZATION subtable, for encapsulation and efficiency.
Definition at line 83 of file MSPolIndex.h.
casa::MSPolarizationIndex::MSPolarizationIndex | ( | const MSPolarization & | polarizationTable | ) |
Construct from an MS POLARIZATION subtable.
virtual casa::MSPolarizationIndex::~MSPolarizationIndex | ( | ) | [inline, virtual] |
Null destructor.
Definition at line 90 of file MSPolIndex.h.
casa::MSPolarizationIndex::MSPolarizationIndex | ( | ) | [private] |
Disallow null constructor.
Vector<Int> casa::MSPolarizationIndex::matchCorrType | ( | const Vector< Int > & | corrType, |
Bool | exactMatch = True |
||
) |
/////////////////// Add for MS selection ////////////////////////////// Only Look up POLARIZATION_ID's for a given set of polarization correlation types
Vector<Int> casa::MSPolarizationIndex::matchCorrTypeAndProduct | ( | const Vector< Int > & | corrType, |
const Matrix< Int > & | corrProduct | ||
) |
Look up POLARIZATION_ID's for a given set of polarization correlation types and receptor cross-products.
POLARIZATION subtable column accessor.
Definition at line 106 of file MSPolIndex.h.
Int casa::MSPolarizationIndex::nrows_p [private] |
Definition at line 110 of file MSPolIndex.h.
Vector cache of polarization id's.
Definition at line 109 of file MSPolIndex.h.