MSAntennaIndex.h

Classes

MSAntennaIndex -- Class to handle lookup or indexing into a MS ANTENNA subtable (full description)

class MSAntennaIndex

Interface

Public Members
MSAntennaIndex(const MSAntenna &antenna)
virtual ~MSAntennaIndex()
Vector<Int> matchAntennaRegexOrPattern(const String& pattern, const Bool regex=False)
Vector<Int> matchAntennaName(const String& name)
Vector<Int> matchAntennaName(const Vector<String>& names)
Vector<Int> matchAntennaStation(const String& station)
Vector<Int> matchAntennaNameAndStation(const String& name, const String& station)
Private Members
MSAntennaIndex()

Description

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

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

Synopsis

This class provides lookup and indexing into an MS ANTENNA subtable. These services include returning rows numbers (which for the ANTENNA subtable are ANTENNA_ID's) associated with specific data in the subtable.

Example

Motivation

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

Thrown Exceptions

Member Description

MSAntennaIndex(const MSAntenna &antenna)

Construct from an MS ANTENNA subtable

virtual ~MSAntennaIndex()

Null destructor

Vector<Int> matchAntennaRegexOrPattern(const String& pattern, const Bool regex=False)

Look up ANTENNA_ID's for a given a regular expression or pattern

Vector<Int> matchAntennaName(const String& name)

Look up ANTENNA_ID's for a given antenna name, or set of antenna names

Vector<Int> matchAntennaName(const Vector<String>& names)

Vector<Int> matchAntennaStation(const String& station)

Look up ANTENNA_ID's for a given antenna station

Vector<Int> matchAntennaNameAndStation(const String& name, const String& station)

Look up ANTENNA_ID's for a given antenna and station name pair

MSAntennaIndex()

Default constructor