casacore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
casacore::MSPolarizationIndex Class Reference

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< IntmatchCorrTypeAndProduct (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< IntmatchCorrType (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

MSPolarizationColumns msPolarizationCols_p
 POLARIZATION subtable column accessor. More...
 
Vector< IntpolarizationIds_p
 Vector cache of polarization id's. More...
 
Int nrows_p
 

Detailed Description

Class to handle lookup or indexing into an MS POLARIZATION subtable.

Intended use:

Public interface

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

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

Synopsis

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.

Example

Motivation

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

Thrown Exceptions

Definition at line 83 of file MSPolIndex.h.

Constructor & Destructor Documentation

casacore::MSPolarizationIndex::MSPolarizationIndex ( const MSPolarization polarizationTable)

Construct from an MS POLARIZATION subtable.

virtual casacore::MSPolarizationIndex::~MSPolarizationIndex ( )
inlinevirtual

Null destructor.

Definition at line 90 of file MSPolIndex.h.

casacore::MSPolarizationIndex::MSPolarizationIndex ( )
private

Disallow null constructor.

Member Function Documentation

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.

Member Data Documentation

MSPolarizationColumns casacore::MSPolarizationIndex::msPolarizationCols_p
private

POLARIZATION subtable column accessor.

Definition at line 106 of file MSPolIndex.h.

Int casacore::MSPolarizationIndex::nrows_p
private

Definition at line 110 of file MSPolIndex.h.

Vector<Int> casacore::MSPolarizationIndex::polarizationIds_p
private

Vector cache of polarization id's.

Definition at line 109 of file MSPolIndex.h.


The documentation for this class was generated from the following file: