casa::MSMetaInfoForCal Class Reference

#include <MSMetaInfoForCal.h>

List of all members.

Public Member Functions

 MSMetaInfoForCal (String msname)
 Construct from the filename of an MS (If the MS doesn't exist, services will be trivialized).
 MSMetaInfoForCal (const MeasurementSet &ms)
 Construct from a supplied MS object.
 MSMetaInfoForCal (uInt nAnt, uInt nSpw, uInt nFld)
 Construct from nAnt,nSpw.
 MSMetaInfoForCal (const vi::SimpleSimVi2Parameters &sspar)
 Construct from SimpleSimVi2Paremeters (useful for testing w/ actual (spoofed) data iteration.
 ~MSMetaInfoForCal ()
 Dtor.
String msname () const
 The MS name.
Bool msOk () const
 Signal if a real MS was specified in ctor.
const MSMetaData & msmd () const
 Return access to MSMetaData object (if avail).
uInt nAnt () const
 The number of antennas.
String antennaName (uInt iant) const
 Antenna name, by index.
void antennaNames (Vector< String > &antnames) const
 All antenna names, as vector.
uInt nSpw () const
 The number of spws.
String spwName (uInt ispw) const
 Spw name, by index.
uInt nFld () const
 The number of fields.
String fieldName (uInt ifld) const
 Field name, by index.
void fieldNames (Vector< String > &fldnames) const
 All field names, as vector.
Int fieldIdAtTime (Double time) const
 Field id at time.
Int scanNumberAtTime (Double time) const
 Scan number at time.

Private Attributes

String msname_
 The supplied MS name.
Bool msOk_
 Is the MS available (else spoof).
uInt nAnt_
 Remember basic shapes.
uInt nSpw_
uInt nFld_
MeasurementSet * ms_
 MS pointer.
MSMetaData * msmd_
 MSMetaData pointer.

Detailed Description

Definition at line 41 of file MSMetaInfoForCal.h.


Constructor & Destructor Documentation

casa::MSMetaInfoForCal::MSMetaInfoForCal ( String  msname  ) 

Construct from the filename of an MS (If the MS doesn't exist, services will be trivialized).

casa::MSMetaInfoForCal::MSMetaInfoForCal ( const MeasurementSet &  ms  ) 

Construct from a supplied MS object.

casa::MSMetaInfoForCal::MSMetaInfoForCal ( uInt  nAnt,
uInt  nSpw,
uInt  nFld 
)

Construct from nAnt,nSpw.

casa::MSMetaInfoForCal::MSMetaInfoForCal ( const vi::SimpleSimVi2Parameters sspar  ) 

Construct from SimpleSimVi2Paremeters (useful for testing w/ actual (spoofed) data iteration.

casa::MSMetaInfoForCal::~MSMetaInfoForCal (  ) 

Dtor.


Member Function Documentation

String casa::MSMetaInfoForCal::antennaName ( uInt  iant  )  const

Antenna name, by index.

void casa::MSMetaInfoForCal::antennaNames ( Vector< String > &  antnames  )  const

All antenna names, as vector.

Int casa::MSMetaInfoForCal::fieldIdAtTime ( Double  time  )  const

Field id at time.

String casa::MSMetaInfoForCal::fieldName ( uInt  ifld  )  const

Field name, by index.

void casa::MSMetaInfoForCal::fieldNames ( Vector< String > &  fldnames  )  const

All field names, as vector.

const MSMetaData& casa::MSMetaInfoForCal::msmd (  )  const

Return access to MSMetaData object (if avail).

String casa::MSMetaInfoForCal::msname (  )  const [inline]

The MS name.

Definition at line 63 of file MSMetaInfoForCal.h.

References msname_.

Bool casa::MSMetaInfoForCal::msOk (  )  const [inline]

Signal if a real MS was specified in ctor.

Definition at line 66 of file MSMetaInfoForCal.h.

References msOk_.

uInt casa::MSMetaInfoForCal::nAnt (  )  const [inline]

The number of antennas.

Definition at line 72 of file MSMetaInfoForCal.h.

References nAnt_.

uInt casa::MSMetaInfoForCal::nFld (  )  const [inline]

The number of fields.

Definition at line 87 of file MSMetaInfoForCal.h.

References nFld_.

uInt casa::MSMetaInfoForCal::nSpw (  )  const [inline]

The number of spws.

Definition at line 81 of file MSMetaInfoForCal.h.

References nSpw_.

Int casa::MSMetaInfoForCal::scanNumberAtTime ( Double  time  )  const

Scan number at time.

String casa::MSMetaInfoForCal::spwName ( uInt  ispw  )  const

Spw name, by index.


Member Data Documentation

MeasurementSet* casa::MSMetaInfoForCal::ms_ [private]

MS pointer.

Definition at line 114 of file MSMetaInfoForCal.h.

MSMetaData* casa::MSMetaInfoForCal::msmd_ [private]

MSMetaData pointer.

Definition at line 117 of file MSMetaInfoForCal.h.

The supplied MS name.

Definition at line 105 of file MSMetaInfoForCal.h.

Referenced by msname().

Is the MS available (else spoof).

Definition at line 108 of file MSMetaInfoForCal.h.

Referenced by msOk().

Remember basic shapes.

Definition at line 111 of file MSMetaInfoForCal.h.

Referenced by nAnt().

Definition at line 111 of file MSMetaInfoForCal.h.

Referenced by nFld().

Definition at line 111 of file MSMetaInfoForCal.h.

Referenced by nSpw().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1