casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
casa::MSMetaInfoForCal Class Reference

#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::MSMetaDatamsmd () const
 Return access to MSMetaData object (if avail) Would like this to be const, but many methods in MSMetaData aren't.... More...
 
const vi::SimpleSimVi2Parametersssp () 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::MeasurementSetms_
 MS pointer. More...
 
casacore::MSMetaDatamsmd_
 MSMetaData pointer. More...
 
vi::SimpleSimVi2Parametersssp_
 SimpleSimVi2Parameters pointer. More...
 

Detailed Description

Definition at line 45 of file MSMetaInfoForCal.h.

Constructor & Destructor Documentation

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.

Member Function Documentation

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....

casacore::String casa::MSMetaInfoForCal::msname ( ) const
inline

The MS name.

Definition at line 67 of file MSMetaInfoForCal.h.

References msname_.

casacore::Bool casa::MSMetaInfoForCal::msOk ( ) const
inline

Signal if a real MS was specified in ctor.

Definition at line 70 of file MSMetaInfoForCal.h.

References msOk_.

casacore::uInt casa::MSMetaInfoForCal::nAnt ( ) const
inline

The number of antennas.

Definition at line 80 of file MSMetaInfoForCal.h.

References nAnt_.

casacore::uInt casa::MSMetaInfoForCal::nFld ( ) const
inline

The number of fields.

Definition at line 95 of file MSMetaInfoForCal.h.

References nFld_.

casacore::uInt casa::MSMetaInfoForCal::nSpw ( ) const
inline

The number of spws.

Definition at line 89 of file MSMetaInfoForCal.h.

References nSpw_.

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)

Member Data Documentation

casacore::Vector<casacore::Double> casa::MSMetaInfoForCal::centerFreqs_
mutableprivate

Spw absolute center frequencies (this gets filled OTF, if necessary)

Definition at line 126 of file MSMetaInfoForCal.h.

casacore::MeasurementSet* casa::MSMetaInfoForCal::ms_
private

MS pointer.

Definition at line 129 of file MSMetaInfoForCal.h.

casacore::MSMetaData* casa::MSMetaInfoForCal::msmd_
private

MSMetaData pointer.

Definition at line 132 of file MSMetaInfoForCal.h.

casacore::String casa::MSMetaInfoForCal::msname_
private

The supplied MS name.

Definition at line 116 of file MSMetaInfoForCal.h.

Referenced by msname().

bool casa::MSMetaInfoForCal::msOk_
private

Is the MS available (else spoof)

Definition at line 119 of file MSMetaInfoForCal.h.

Referenced by msOk().

casacore::uInt casa::MSMetaInfoForCal::nAnt_
private

Remember basic shapes.

Definition at line 122 of file MSMetaInfoForCal.h.

Referenced by nAnt().

casacore::uInt casa::MSMetaInfoForCal::nFld_
private

Definition at line 122 of file MSMetaInfoForCal.h.

Referenced by nFld().

casacore::uInt casa::MSMetaInfoForCal::nSpw_
private

Definition at line 122 of file MSMetaInfoForCal.h.

Referenced by nSpw().

vi::SimpleSimVi2Parameters* casa::MSMetaInfoForCal::ssp_
private

SimpleSimVi2Parameters pointer.

Definition at line 135 of file MSMetaInfoForCal.h.


The documentation for this class was generated from the following file: