#include <MSMetaInfoForCal.h>
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. |
Definition at line 41 of file MSMetaInfoForCal.h.
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.
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] |
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] |
uInt casa::MSMetaInfoForCal::nFld | ( | ) | const [inline] |
uInt casa::MSMetaInfoForCal::nSpw | ( | ) | const [inline] |
Int casa::MSMetaInfoForCal::scanNumberAtTime | ( | Double | time | ) | const |
Scan number at time.
String casa::MSMetaInfoForCal::spwName | ( | uInt | ispw | ) | const |
Spw name, by index.
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.
String casa::MSMetaInfoForCal::msname_ [private] |
Bool casa::MSMetaInfoForCal::msOk_ [private] |
Is the MS available (else spoof).
Definition at line 108 of file MSMetaInfoForCal.h.
Referenced by msOk().
uInt casa::MSMetaInfoForCal::nAnt_ [private] |
uInt casa::MSMetaInfoForCal::nFld_ [private] |
Definition at line 111 of file MSMetaInfoForCal.h.
Referenced by nFld().
uInt casa::MSMetaInfoForCal::nSpw_ [private] |
Definition at line 111 of file MSMetaInfoForCal.h.
Referenced by nSpw().