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

#include <CTMainColumns.h>

Inheritance diagram for casa::ROCTMainColumns:
casa::ROCTColumns

Public Member Functions

 ROCTMainColumns (const NewCalTable &calTable)
 Construct from a calibration table. More...
 
virtual ~ROCTMainColumns ()
 Default destructor. More...
 
const casacore::ScalarColumn
< casacore::Double > & 
time () const
 Read-only column accessors. More...
 
const
casacore::ROScalarQuantColumn
< casacore::Double > & 
timeQuant () const
 
const
casacore::ROScalarMeasColumn
< casacore::MEpoch > & 
timeMeas () const
 
const casacore::ScalarColumn
< casacore::Double > & 
timeEP () const
 
const
casacore::ROScalarQuantColumn
< casacore::Double > & 
timeEPQuant () const
 
const casacore::ScalarColumn
< casacore::Double > & 
interval () const
 
const
casacore::ROScalarQuantColumn
< casacore::Double > & 
intervalQuant () const
 
const casacore::ScalarColumn
< casacore::Int > & 
antenna1 () const
 
const casacore::ScalarColumn
< casacore::Int > & 
antenna2 () const
 
const casacore::ScalarColumn
< casacore::Int > & 
fieldId () const
 
const casacore::ScalarColumn
< casacore::Int > & 
spwId () const
 
const casacore::ScalarColumn
< casacore::Int > & 
scanNo () const
 
const casacore::ScalarColumn
< casacore::Int > & 
obsId () const
 
const casacore::ArrayColumn
< casacore::Complex > & 
cparam () const
 
const casacore::ArrayColumn
< casacore::Float > & 
fparam () const
 
const casacore::ArrayColumn
< casacore::Float > & 
paramerr () const
 
const casacore::ArrayColumn
< casacore::Bool > & 
flag () const
 
const casacore::ArrayColumn
< casacore::Float > & 
snr () const
 
const casacore::ArrayColumn
< casacore::Float > & 
weight () const
 
casacore::Array< casacore::FloatfparamArray (casacore::String what="", const casacore::Vector< casacore::uInt > &rows=casacore::Vector< casacore::uInt >())
 Some additional methods to extract cparam into casacore::Array<casacore::Float> what can be: "","AP". More...
 
void fparamArray (casacore::Array< casacore::Float > &arr, casacore::String what="", const casacore::Vector< casacore::uInt > &rows=casacore::Vector< casacore::uInt >())
 
casacore::Array< casacore::Floatphase ()
 Some additional methods to extract phase-like info. More...
 
void phase (casacore::Array< casacore::Float > &ph)
 
casacore::Array< casacore::Floatcycles ()
 
void cycles (casacore::Array< casacore::Float > &cy)
 

Protected Member Functions

 ROCTMainColumns ()
 Prohibit public use of the null constructor, which does not produce a usable object. More...
 
void attach (const NewCalTable &calTable, casacore::TableColumn &tabCol, CTEnums::colDef colEnum, const casacore::Bool &optional=false)
 Return a CalTable as a casacore::Table reference. More...
 
void attach (const NewCalTable &calTable, casacore::ROArrayMeasColumn< casacore::MEpoch > &tabCol, CTEnums::colDef colEnum, const casacore::Bool &optional=false)
 
void attach (const NewCalTable &calTable, casacore::ROArrayMeasColumn< casacore::MFrequency > &tabCol, CTEnums::colDef colEnum, const casacore::Bool &optional=false)
 
void attach (const NewCalTable &calTable, casacore::ROArrayMeasColumn< casacore::MDirection > &tabCol, CTEnums::colDef colEnum, const casacore::Bool &optional=false)
 
void attach (const NewCalTable &calTable, casacore::ROScalarMeasColumn< casacore::MEpoch > &tabCol, CTEnums::colDef colEnum, const casacore::Bool &optional=false)
 
void attach (const NewCalTable &calTable, casacore::ROScalarQuantColumn< casacore::Double > &tabCol, CTEnums::colDef colEnum, const casacore::Bool &optional=false)
 

Private Member Functions

 ROCTMainColumns (const ROCTMainColumns &)
 Prohibit copy constructor and assignment operator. More...
 
ROCTMainColumnsoperator= (const ROCTMainColumns &)
 

Private Attributes

casacore::ScalarColumn
< casacore::Double
time_p
 Private column accessors. More...
 
casacore::ROScalarQuantColumn
< casacore::Double
timeQuant_p
 
casacore::ROScalarMeasColumn
< casacore::MEpoch
timeMeas_p
 
casacore::ScalarColumn
< casacore::Double
timeEP_p
 
casacore::ROScalarQuantColumn
< casacore::Double
timeEPQuant_p
 
casacore::ScalarColumn
< casacore::Double
interval_p
 
casacore::ROScalarQuantColumn
< casacore::Double
intervalQuant_p
 
casacore::ScalarColumn
< casacore::Int
antenna1_p
 
casacore::ScalarColumn
< casacore::Int
antenna2_p
 
casacore::ScalarColumn
< casacore::Int
fieldId_p
 
casacore::ScalarColumn
< casacore::Int
spwId_p
 
casacore::ScalarColumn
< casacore::Int
scanNo_p
 
casacore::ScalarColumn
< casacore::Int
obsId_p
 
casacore::ArrayColumn
< casacore::Complex > 
cparam_p
 
casacore::ArrayColumn
< casacore::Float
fparam_p
 
casacore::ArrayColumn
< casacore::Float
paramerr_p
 
casacore::ArrayColumn
< casacore::Bool
flag_p
 
casacore::ArrayColumn
< casacore::Float
snr_p
 
casacore::ArrayColumn
< casacore::Float
weight_p
 

Detailed Description

Definition at line 50 of file CTMainColumns.h.

Constructor & Destructor Documentation

casa::ROCTMainColumns::ROCTMainColumns ( const NewCalTable calTable)

Construct from a calibration table.

virtual casa::ROCTMainColumns::~ROCTMainColumns ( )
inlinevirtual

Default destructor.

Definition at line 57 of file CTMainColumns.h.

casa::ROCTMainColumns::ROCTMainColumns ( )
inlineprotected

Prohibit public use of the null constructor, which does not produce a usable object.

Definition at line 96 of file CTMainColumns.h.

casa::ROCTMainColumns::ROCTMainColumns ( const ROCTMainColumns )
private

Prohibit copy constructor and assignment operator.

Member Function Documentation

const casacore::ScalarColumn<casacore::Int>& casa::ROCTMainColumns::antenna1 ( void  ) const
inline

Definition at line 69 of file CTMainColumns.h.

References antenna1_p.

const casacore::ScalarColumn<casacore::Int>& casa::ROCTMainColumns::antenna2 ( void  ) const
inline

Definition at line 70 of file CTMainColumns.h.

References antenna2_p.

void casa::ROCTMainColumns::attach ( const NewCalTable calTable,
casacore::TableColumn tabCol,
CTEnums::colDef  colEnum,
const casacore::Bool optional = false 
)
protected

Return a CalTable as a casacore::Table reference.

Utilizes friendship relationship with class CalTable. const casacore::Table& asTable(const CalTable2& calTable) {return calTable.calMainAsTable();}

Attach a table column accessor

void casa::ROCTMainColumns::attach ( const NewCalTable calTable,
casacore::ROArrayMeasColumn< casacore::MEpoch > &  tabCol,
CTEnums::colDef  colEnum,
const casacore::Bool optional = false 
)
protected
void casa::ROCTMainColumns::attach ( const NewCalTable calTable,
casacore::ROArrayMeasColumn< casacore::MFrequency > &  tabCol,
CTEnums::colDef  colEnum,
const casacore::Bool optional = false 
)
protected
void casa::ROCTMainColumns::attach ( const NewCalTable calTable,
casacore::ROArrayMeasColumn< casacore::MDirection > &  tabCol,
CTEnums::colDef  colEnum,
const casacore::Bool optional = false 
)
protected
void casa::ROCTMainColumns::attach ( const NewCalTable calTable,
casacore::ROScalarMeasColumn< casacore::MEpoch > &  tabCol,
CTEnums::colDef  colEnum,
const casacore::Bool optional = false 
)
protected
void casa::ROCTMainColumns::attach ( const NewCalTable calTable,
casacore::ROScalarQuantColumn< casacore::Double > &  tabCol,
CTEnums::colDef  colEnum,
const casacore::Bool optional = false 
)
protected
const casacore::ArrayColumn<casacore::Complex>& casa::ROCTMainColumns::cparam ( ) const
inline

Definition at line 75 of file CTMainColumns.h.

References cparam_p.

casacore::Array<casacore::Float> casa::ROCTMainColumns::cycles ( )
void casa::ROCTMainColumns::cycles ( casacore::Array< casacore::Float > &  cy)
const casacore::ScalarColumn<casacore::Int>& casa::ROCTMainColumns::fieldId ( ) const
inline

Definition at line 71 of file CTMainColumns.h.

References fieldId_p.

const casacore::ArrayColumn<casacore::Bool>& casa::ROCTMainColumns::flag ( ) const
inline

Definition at line 78 of file CTMainColumns.h.

References flag_p.

Referenced by casa::CTMainColInterface::flag(), and casa::CTMainColInterface::flagRow().

const casacore::ArrayColumn<casacore::Float>& casa::ROCTMainColumns::fparam ( ) const
inline

Definition at line 76 of file CTMainColumns.h.

References fparam_p.

casacore::Array<casacore::Float> casa::ROCTMainColumns::fparamArray ( casacore::String  what = "",
const casacore::Vector< casacore::uInt > &  rows = casacore::Vectorcasacore::uInt >() 
)

Some additional methods to extract cparam into casacore::Array<casacore::Float> what can be: "","AP".

void casa::ROCTMainColumns::fparamArray ( casacore::Array< casacore::Float > &  arr,
casacore::String  what = "",
const casacore::Vector< casacore::uInt > &  rows = casacore::Vectorcasacore::uInt >() 
)
const casacore::ScalarColumn<casacore::Double>& casa::ROCTMainColumns::interval ( ) const
inline

Definition at line 66 of file CTMainColumns.h.

References interval_p.

const casacore::ROScalarQuantColumn<casacore::Double>& casa::ROCTMainColumns::intervalQuant ( ) const
inline

Definition at line 67 of file CTMainColumns.h.

References intervalQuant_p.

const casacore::ScalarColumn<casacore::Int>& casa::ROCTMainColumns::obsId ( ) const
inline

Definition at line 74 of file CTMainColumns.h.

References obsId_p.

ROCTMainColumns& casa::ROCTMainColumns::operator= ( const ROCTMainColumns )
private
const casacore::ArrayColumn<casacore::Float>& casa::ROCTMainColumns::paramerr ( ) const
inline

Definition at line 77 of file CTMainColumns.h.

References paramerr_p.

casacore::Array<casacore::Float> casa::ROCTMainColumns::phase ( )

Some additional methods to extract phase-like info.

void casa::ROCTMainColumns::phase ( casacore::Array< casacore::Float > &  ph)
const casacore::ScalarColumn<casacore::Int>& casa::ROCTMainColumns::scanNo ( ) const
inline

Definition at line 73 of file CTMainColumns.h.

References scanNo_p.

const casacore::ArrayColumn<casacore::Float>& casa::ROCTMainColumns::snr ( ) const
inline

Definition at line 79 of file CTMainColumns.h.

References snr_p.

const casacore::ScalarColumn<casacore::Int>& casa::ROCTMainColumns::spwId ( ) const
inline

Definition at line 72 of file CTMainColumns.h.

References spwId_p.

const casacore::ScalarColumn<casacore::Double>& casa::ROCTMainColumns::time ( void  ) const
inline

Read-only column accessors.

Definition at line 60 of file CTMainColumns.h.

References time_p.

const casacore::ScalarColumn<casacore::Double>& casa::ROCTMainColumns::timeEP ( ) const
inline

Definition at line 63 of file CTMainColumns.h.

References timeEP_p.

const casacore::ROScalarQuantColumn<casacore::Double>& casa::ROCTMainColumns::timeEPQuant ( ) const
inline

Definition at line 64 of file CTMainColumns.h.

References timeEPQuant_p.

Referenced by casa::CTMainColInterface::exposureQuant().

const casacore::ROScalarMeasColumn<casacore::MEpoch>& casa::ROCTMainColumns::timeMeas ( ) const
inline

Definition at line 62 of file CTMainColumns.h.

References timeMeas_p.

const casacore::ROScalarQuantColumn<casacore::Double>& casa::ROCTMainColumns::timeQuant ( ) const
inline

Definition at line 61 of file CTMainColumns.h.

References timeQuant_p.

Referenced by casa::CTMainColInterface::timeQuant().

const casacore::ArrayColumn<casacore::Float>& casa::ROCTMainColumns::weight ( ) const
inline

Definition at line 80 of file CTMainColumns.h.

References weight_p.

Member Data Documentation

casacore::ScalarColumn<casacore::Int> casa::ROCTMainColumns::antenna1_p
private

Definition at line 133 of file CTMainColumns.h.

Referenced by antenna1().

casacore::ScalarColumn<casacore::Int> casa::ROCTMainColumns::antenna2_p
private

Definition at line 134 of file CTMainColumns.h.

Referenced by antenna2().

casacore::ArrayColumn<casacore::Complex> casa::ROCTMainColumns::cparam_p
private

Definition at line 139 of file CTMainColumns.h.

Referenced by cparam().

casacore::ScalarColumn<casacore::Int> casa::ROCTMainColumns::fieldId_p
private

Definition at line 135 of file CTMainColumns.h.

Referenced by fieldId().

casacore::ArrayColumn<casacore::Bool> casa::ROCTMainColumns::flag_p
private

Definition at line 142 of file CTMainColumns.h.

Referenced by flag().

casacore::ArrayColumn<casacore::Float> casa::ROCTMainColumns::fparam_p
private

Definition at line 140 of file CTMainColumns.h.

Referenced by fparam().

casacore::ScalarColumn<casacore::Double> casa::ROCTMainColumns::interval_p
private

Definition at line 131 of file CTMainColumns.h.

Referenced by interval().

casacore::ROScalarQuantColumn<casacore::Double> casa::ROCTMainColumns::intervalQuant_p
private

Definition at line 132 of file CTMainColumns.h.

Referenced by intervalQuant().

casacore::ScalarColumn<casacore::Int> casa::ROCTMainColumns::obsId_p
private

Definition at line 138 of file CTMainColumns.h.

Referenced by obsId().

casacore::ArrayColumn<casacore::Float> casa::ROCTMainColumns::paramerr_p
private

Definition at line 141 of file CTMainColumns.h.

Referenced by paramerr().

casacore::ScalarColumn<casacore::Int> casa::ROCTMainColumns::scanNo_p
private

Definition at line 137 of file CTMainColumns.h.

Referenced by scanNo().

casacore::ArrayColumn<casacore::Float> casa::ROCTMainColumns::snr_p
private

Definition at line 143 of file CTMainColumns.h.

Referenced by snr().

casacore::ScalarColumn<casacore::Int> casa::ROCTMainColumns::spwId_p
private

Definition at line 136 of file CTMainColumns.h.

Referenced by spwId().

casacore::ScalarColumn<casacore::Double> casa::ROCTMainColumns::time_p
private

Private column accessors.

Definition at line 126 of file CTMainColumns.h.

Referenced by time().

casacore::ScalarColumn<casacore::Double> casa::ROCTMainColumns::timeEP_p
private

Definition at line 129 of file CTMainColumns.h.

Referenced by timeEP().

casacore::ROScalarQuantColumn<casacore::Double> casa::ROCTMainColumns::timeEPQuant_p
private

Definition at line 130 of file CTMainColumns.h.

Referenced by timeEPQuant().

casacore::ROScalarMeasColumn<casacore::MEpoch> casa::ROCTMainColumns::timeMeas_p
private

Definition at line 128 of file CTMainColumns.h.

Referenced by timeMeas().

casacore::ROScalarQuantColumn<casacore::Double> casa::ROCTMainColumns::timeQuant_p
private

Definition at line 127 of file CTMainColumns.h.

Referenced by timeQuant().

casacore::ArrayColumn<casacore::Float> casa::ROCTMainColumns::weight_p
private

Definition at line 144 of file CTMainColumns.h.

Referenced by weight().


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