casacore
Public Member Functions | Private Member Functions | Private Attributes | List of all members
casacore::MSPolarizationIndex Class Reference

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

◆ MSPolarizationIndex() [1/2]

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

Construct from an MS POLARIZATION subtable.

◆ ~MSPolarizationIndex()

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

Null destructor.

Definition at line 90 of file MSPolIndex.h.

◆ MSPolarizationIndex() [2/2]

casacore::MSPolarizationIndex::MSPolarizationIndex ( )
private

Disallow null constructor.

Member Function Documentation

◆ matchCorrType()

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

◆ matchCorrTypeAndProduct()

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

◆ msPolarizationCols_p

MSPolarizationColumns casacore::MSPolarizationIndex::msPolarizationCols_p
private

POLARIZATION subtable column accessor.

Definition at line 106 of file MSPolIndex.h.

◆ nrows_p

Int casacore::MSPolarizationIndex::nrows_p
private

Definition at line 110 of file MSPolIndex.h.

◆ polarizationIds_p

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: