casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions | Private Attributes
casa::TJonesPolyMBuf Class Reference

TJonesPolyMBuf: TJonesPoly calibration main table buffer. More...

#include <TJonesMBuf.h>

Inheritance diagram for casa::TJonesPolyMBuf:
casa::TJonesMBuf casa::SolvableVisJonesMBuf casa::TimeVarVisJonesMBuf casa::VisJonesMBuf casa::CalMainBuffer casa::TJonesSplineMBuf

List of all members.

Public Member Functions

 TJonesPolyMBuf ()
 Default constructor.
 TJonesPolyMBuf (const Vector< Int > &calIndices, const Block< Vector< Int > > &indexValues)
 Construct from a set of calibration buffer indices and their specified values.
 TJonesPolyMBuf (CalIterBase &calIter)
 Construct from a calibration table iterator.
virtual void invalidate ()
 Invalidate the current calibration buffer.
virtual Int append (CalTable &calTable)
 Write the current buffer at the end of a specified cal table.
virtual Int nRow ()
 Maximum number of rows in the calibration buffer.
virtual Bool fillMatchingRows (const Vector< Int > &matchingRows, const String &sFreqGrpName, const String &sPolyType, const String &sPolyMode, const Complex &sScaleFactor, const Int &sNPolyAmp, const Int &sNPolyPhase, const Vector< Double > &sPolyCoeffAmp, const Vector< Double > &sPolyCoeffPhase, const String &sPhaseUnits, const MFrequency &sRefFreq, const Int &sRefAnt)
 Update the parametrized solution in each of a set of buffer rows.
virtual Vector< String > & polyType ()
 Data field accessors.
virtual Vector< String > & polyMode ()
virtual Vector< Complex > & scaleFactor ()
virtual Vector< Int > & nPolyAmp ()
virtual Vector< Int > & nPolyPhase ()
virtual Array< Double > & polyCoeffAmp ()
virtual Array< Double > & polyCoeffPhase ()
virtual Vector< String > & phaseUnits ()

Protected Member Functions

virtual TJonesPolyMColnewCalMainCol (CalTable &calTable)
 Factory method to create a columns accessor object of the appropriate type.
virtual TJonesPolyMColcalMainCol ()
 Access to the columns accessor object.
virtual void fillAttributes (const Vector< Int > &, const VisBuffer &)
 Fill the TJonesPoly cal buffer attribute columns in an empty cal buffer, to extend the inherited method fillAttributes.
virtual void fillAttributes (const Vector< Int > &calIndices)
 Set default attribute values.

Private Attributes

Vector< StringpolyType_p
 
   

Vector< StringpolyMode_p
Vector< Complex > scaleFactor_p
Vector< IntnPolyAmp_p
Vector< IntnPolyPhase_p
Array< DoublepolyCoeffAmp_p
Array< DoublepolyCoeffPhase_p
Vector< StringphaseUnits_p
Bool polyTypeOK_p
 Buffer field status flags.
Bool polyModeOK_p
Bool scaleFactorOK_p
Bool nPolyAmpOK_p
Bool nPolyPhaseOK_p
Bool polyCoeffAmpOK_p
Bool polyCoeffPhaseOK_p
Bool phaseUnitsOK_p

Detailed Description

TJonesPolyMBuf: TJonesPoly calibration main table buffer.

Intended use:

Public interface

Prerequisite

Etymology

From "TJonesPoly matrix", "cal main table" and "buffer"

Synopsis

The TJonesPolyMBuf class holds a buffer, optionally connected to a TJonesPoly calibration main table iterator (of base type CalIterBase). The TJonesPoly matrix contains atmospheric gains expressed as polynomials over time.

Example

Motivation

Encapsulate TJonesPoly calibration main table data buffers.

Definition at line 77 of file TJonesMBuf.h.


Constructor & Destructor Documentation

Default constructor.

No connection to an underlying calibration table iterator in this case.

casa::TJonesPolyMBuf::TJonesPolyMBuf ( const Vector< Int > &  calIndices,
const Block< Vector< Int > > &  indexValues 
)

Construct from a set of calibration buffer indices and their specified values.

Non-index columns will be set to default values, and there is no connection to an underlying calibration table iterator in this case.

Construct from a calibration table iterator.

The calibration buffer will remain synchronized with the iterator.


Member Function Documentation

virtual Int casa::TJonesPolyMBuf::append ( CalTable calTable) [virtual]

Write the current buffer at the end of a specified cal table.

Reimplemented from casa::SolvableVisJonesMBuf.

Reimplemented in casa::TJonesSplineMBuf.

virtual TJonesPolyMCol* casa::TJonesPolyMBuf::calMainCol ( ) [inline, protected, virtual]

Access to the columns accessor object.

Reimplemented from casa::SolvableVisJonesMBuf.

Reimplemented in casa::TJonesSplineMBuf.

Definition at line 135 of file TJonesMBuf.h.

virtual void casa::TJonesPolyMBuf::fillAttributes ( const Vector< Int > &  ,
const VisBuffer  
) [inline, protected, virtual]

Fill the TJonesPoly cal buffer attribute columns in an empty cal buffer, to extend the inherited method fillAttributes.

The cal indices, specified as enums from class MSCalEnums, are excluded as non-attribute columns.

Use a visibility buffer to define the attribute values (NYI)

Reimplemented from casa::SolvableVisJonesMBuf.

Reimplemented in casa::TJonesSplineMBuf.

Definition at line 145 of file TJonesMBuf.h.

virtual void casa::TJonesPolyMBuf::fillAttributes ( const Vector< Int > &  calIndices) [protected, virtual]

Set default attribute values.

Reimplemented from casa::SolvableVisJonesMBuf.

Reimplemented in casa::TJonesSplineMBuf.

virtual Bool casa::TJonesPolyMBuf::fillMatchingRows ( const Vector< Int > &  matchingRows,
const String sFreqGrpName,
const String sPolyType,
const String sPolyMode,
const Complex &  sScaleFactor,
const Int sNPolyAmp,
const Int sNPolyPhase,
const Vector< Double > &  sPolyCoeffAmp,
const Vector< Double > &  sPolyCoeffPhase,
const String sPhaseUnits,
const MFrequency sRefFreq,
const Int sRefAnt 
) [virtual]

Update the parametrized solution in each of a set of buffer rows.

virtual void casa::TJonesPolyMBuf::invalidate ( ) [virtual]

Invalidate the current calibration buffer.

This signals that a re-read is required as the iterator has advanced

Reimplemented from casa::SolvableVisJonesMBuf.

Reimplemented in casa::TJonesSplineMBuf.

virtual TJonesPolyMCol* casa::TJonesPolyMBuf::newCalMainCol ( CalTable calTable) [inline, protected, virtual]

Factory method to create a columns accessor object of the appropriate type.

Reimplemented from casa::SolvableVisJonesMBuf.

Reimplemented in casa::TJonesSplineMBuf.

Definition at line 131 of file TJonesMBuf.h.

virtual Vector<Int>& casa::TJonesPolyMBuf::nPolyAmp ( ) [virtual]
virtual Vector<Int>& casa::TJonesPolyMBuf::nPolyPhase ( ) [virtual]
virtual Int casa::TJonesPolyMBuf::nRow ( ) [virtual]

Maximum number of rows in the calibration buffer.

Reimplemented from casa::SolvableVisJonesMBuf.

Reimplemented in casa::TJonesSplineMBuf.

virtual Vector<String>& casa::TJonesPolyMBuf::polyMode ( ) [virtual]
virtual Vector<String>& casa::TJonesPolyMBuf::polyType ( ) [virtual]

Data field accessors.

virtual Vector<Complex>& casa::TJonesPolyMBuf::scaleFactor ( ) [virtual]

Member Data Documentation

Definition at line 157 of file TJonesMBuf.h.

Definition at line 167 of file TJonesMBuf.h.

Definition at line 158 of file TJonesMBuf.h.

Definition at line 168 of file TJonesMBuf.h.

Definition at line 161 of file TJonesMBuf.h.

Definition at line 171 of file TJonesMBuf.h.

Definition at line 159 of file TJonesMBuf.h.

Definition at line 169 of file TJonesMBuf.h.

Definition at line 160 of file TJonesMBuf.h.

Definition at line 170 of file TJonesMBuf.h.

Definition at line 155 of file TJonesMBuf.h.

Definition at line 165 of file TJonesMBuf.h.

   

Buffer fields

Definition at line 154 of file TJonesMBuf.h.

Buffer field status flags.

Definition at line 164 of file TJonesMBuf.h.

Definition at line 156 of file TJonesMBuf.h.

Definition at line 166 of file TJonesMBuf.h.


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