MSPolIndex.h

Classes

MSPolarizationIndex -- Class to handle lookup or indexing into an MS POLARIZATION subtable (full description)

class MSPolarizationIndex

Interface

Public Members
MSPolarizationIndex(const MSPolarization& polarizationTable)
virtual ~MSPolarizationIndex()
Vector<Int> matchCorrTypeAndProduct(const Vector<Int>& corrType, const Matrix<Int>& corrProduct)
Vector<Int> matchCorrType(const Vector<Int>& corrType)
Private Members
MSPolarizationIndex()

Description

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

Member Description

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)

/////////////////// Add for MS selection ////////////////////////////// Only Look up POLARIZATION_ID's for a given set of polarization correlation types

MSPolarizationIndex()

Disallow null constructor