casa
5.7.0-16
|
#include <MSMetaInfoForCal.h>
Public Member Functions | |
MSMetaInfoForCal (casacore::String msname) | |
Construct from the filename of an MS (If the MS doesn't exist, services will be trivialized) More... | |
MSMetaInfoForCal (const casacore::MeasurementSet &ms) | |
Construct from a supplied MS object. More... | |
MSMetaInfoForCal (casacore::uInt nAnt, casacore::uInt nSpw, casacore::uInt nFld) | |
Construct from nAnt,nSpw. More... | |
MSMetaInfoForCal (const vi::SimpleSimVi2Parameters &sspar) | |
Construct from SimpleSimVi2Paremeters (useful for testing w/ actual (spoofed) data iteration. More... | |
~MSMetaInfoForCal () | |
Dtor. More... | |
casacore::String | msname () const |
The MS name. More... | |
casacore::Bool | msOk () const |
Signal if a real MS was specified in ctor. More... | |
casacore::MSMetaData & | msmd () const |
Return access to MSMetaData object (if avail) Would like this to be const, but many methods in MSMetaData aren't.... More... | |
const vi::SimpleSimVi2Parameters & | ssp () const |
Return accss to SimpleSimVi2Parameters object (if avail) More... | |
casacore::uInt | nAnt () const |
The number of antennas. More... | |
casacore::String | antennaName (casacore::uInt iant) const |
Antenna name, by index. More... | |
void | antennaNames (casacore::Vector< casacore::String > &antnames) const |
All antenna names, as vector. More... | |
casacore::uInt | nSpw () const |
The number of spws. More... | |
casacore::String | spwName (casacore::uInt ispw) const |
Spw name, by index. More... | |
casacore::uInt | nFld () const |
The number of fields. More... | |
casacore::String | fieldName (casacore::uInt ifld) const |
Field name, by index. More... | |
void | fieldNames (casacore::Vector< casacore::String > &fldnames) const |
All field names, as vector. More... | |
casacore::Int | fieldIdAtTime (casacore::Double time) const |
Field id at time. More... | |
casacore::Int | scanNumberAtTime (casacore::Double time) const |
Scan number at time. More... | |
casacore::Double | centerFreq (casacore::uInt ispw) const |
Center freq for specified spw. More... | |
Private Attributes | |
casacore::String | msname_ |
The supplied MS name. More... | |
bool | msOk_ |
Is the MS available (else spoof) More... | |
casacore::uInt | nAnt_ |
Remember basic shapes. More... | |
casacore::uInt | nSpw_ |
casacore::uInt | nFld_ |
casacore::Vector < casacore::Double > | centerFreqs_ |
Spw absolute center frequencies (this gets filled OTF, if necessary) More... | |
casacore::MeasurementSet * | ms_ |
MS pointer. More... | |
casacore::MSMetaData * | msmd_ |
MSMetaData pointer. More... | |
vi::SimpleSimVi2Parameters * | ssp_ |
SimpleSimVi2Parameters pointer. More... | |
Definition at line 45 of file MSMetaInfoForCal.h.
casa::MSMetaInfoForCal::MSMetaInfoForCal | ( | casacore::String | msname | ) |
Construct from the filename of an MS (If the MS doesn't exist, services will be trivialized)
casa::MSMetaInfoForCal::MSMetaInfoForCal | ( | const casacore::MeasurementSet & | ms | ) |
Construct from a supplied MS object.
casa::MSMetaInfoForCal::MSMetaInfoForCal | ( | casacore::uInt | nAnt, |
casacore::uInt | nSpw, | ||
casacore::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.
casacore::String casa::MSMetaInfoForCal::antennaName | ( | casacore::uInt | iant | ) | const |
Antenna name, by index.
void casa::MSMetaInfoForCal::antennaNames | ( | casacore::Vector< casacore::String > & | antnames | ) | const |
All antenna names, as vector.
casacore::Double casa::MSMetaInfoForCal::centerFreq | ( | casacore::uInt | ispw | ) | const |
Center freq for specified spw.
casacore::Int casa::MSMetaInfoForCal::fieldIdAtTime | ( | casacore::Double | time | ) | const |
Field id at time.
casacore::String casa::MSMetaInfoForCal::fieldName | ( | casacore::uInt | ifld | ) | const |
Field name, by index.
void casa::MSMetaInfoForCal::fieldNames | ( | casacore::Vector< casacore::String > & | fldnames | ) | const |
All field names, as vector.
casacore::MSMetaData& casa::MSMetaInfoForCal::msmd | ( | ) | const |
Return access to MSMetaData object (if avail) Would like this to be const, but many methods in MSMetaData aren't....
|
inline |
|
inline |
Signal if a real MS was specified in ctor.
Definition at line 70 of file MSMetaInfoForCal.h.
References msOk_.
|
inline |
|
inline |
|
inline |
casacore::Int casa::MSMetaInfoForCal::scanNumberAtTime | ( | casacore::Double | time | ) | const |
Scan number at time.
casacore::String casa::MSMetaInfoForCal::spwName | ( | casacore::uInt | ispw | ) | const |
Spw name, by index.
const vi::SimpleSimVi2Parameters& casa::MSMetaInfoForCal::ssp | ( | ) | const |
Return accss to SimpleSimVi2Parameters object (if avail)
|
mutableprivate |
Spw absolute center frequencies (this gets filled OTF, if necessary)
Definition at line 126 of file MSMetaInfoForCal.h.
|
private |
MS pointer.
Definition at line 129 of file MSMetaInfoForCal.h.
|
private |
MSMetaData pointer.
Definition at line 132 of file MSMetaInfoForCal.h.
|
private |
|
private |
Is the MS available (else spoof)
Definition at line 119 of file MSMetaInfoForCal.h.
Referenced by msOk().
|
private |
|
private |
Definition at line 122 of file MSMetaInfoForCal.h.
Referenced by nFld().
|
private |
Definition at line 122 of file MSMetaInfoForCal.h.
Referenced by nSpw().
|
private |
SimpleSimVi2Parameters pointer.
Definition at line 135 of file MSMetaInfoForCal.h.