casa
5.7.0-16
|
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. More... | |
virtual | ~MSPolarizationIndex () |
Null destructor. More... | |
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. More... | |
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 More... | |
Private Member Functions | |
MSPolarizationIndex () | |
Disallow null constructor. More... | |
Private Attributes | |
ROMSPolarizationColumns | msPolarizationCols_p |
POLARIZATION subtable column accessor. More... | |
Vector< Int > | polarizationIds_p |
Vector cache of polarization id's. More... | |
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.
casacore::MSPolarizationIndex::MSPolarizationIndex | ( | const MSPolarization & | polarizationTable | ) |
Construct from an MS POLARIZATION subtable.
|
inlinevirtual |
Null destructor.
Definition at line 90 of file MSPolIndex.h.
|
private |
Disallow null constructor.
Vector<Int> casacore::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> casacore::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.
|
private |
POLARIZATION subtable column accessor.
Definition at line 106 of file MSPolIndex.h.
|
private |
Definition at line 110 of file MSPolIndex.h.
Vector cache of polarization id's.
Definition at line 109 of file MSPolIndex.h.