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

GJonesPolyMBuf: GJonesPoly calibration main table buffer. More...

#include <GJonesMBuf.h>

Inheritance diagram for casa::GJonesPolyMBuf:
casa::GJonesMBuf casa::SolvableVisJonesMBuf casa::TimeVarVisJonesMBuf casa::VisJonesMBuf casa::CalMainBuffer casa::GJonesSplineMBuf

List of all members.

Public Member Functions

 GJonesPolyMBuf ()
 Default constructor.
 GJonesPolyMBuf (const Vector< Int > &calIndices, const Block< Vector< Int > > &indexValues)
 Construct from a set of calibration buffer indices and their specified values.
 GJonesPolyMBuf (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 GJonesPolyMColnewCalMainCol (CalTable &calTable)
 Factory method to create a columns accessor object of the appropriate type.
virtual GJonesPolyMColcalMainCol ()
 Access to the columns accessor object.
virtual void fillAttributes (const Vector< Int > &, const VisBuffer &)
 Fill the GJonesPoly 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

GJonesPolyMBuf: GJonesPoly calibration main table buffer.

Intended use:

Public interface

Prerequisite

Etymology

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

Synopsis

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

Example

Motivation

Encapsulate GJonesPoly calibration main table data buffers.

Definition at line 77 of file GJonesMBuf.h.


Constructor & Destructor Documentation

Default constructor.

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

casa::GJonesPolyMBuf::GJonesPolyMBuf ( 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::GJonesPolyMBuf::append ( CalTable calTable) [virtual]

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

Reimplemented from casa::SolvableVisJonesMBuf.

Reimplemented in casa::GJonesSplineMBuf.

virtual GJonesPolyMCol* casa::GJonesPolyMBuf::calMainCol ( ) [inline, protected, virtual]

Access to the columns accessor object.

Reimplemented from casa::SolvableVisJonesMBuf.

Reimplemented in casa::GJonesSplineMBuf.

Definition at line 135 of file GJonesMBuf.h.

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

Fill the GJonesPoly 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::GJonesSplineMBuf.

Definition at line 145 of file GJonesMBuf.h.

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

Set default attribute values.

Reimplemented from casa::SolvableVisJonesMBuf.

Reimplemented in casa::GJonesSplineMBuf.

virtual Bool casa::GJonesPolyMBuf::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::GJonesPolyMBuf::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::GJonesSplineMBuf.

virtual GJonesPolyMCol* casa::GJonesPolyMBuf::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::GJonesSplineMBuf.

Definition at line 131 of file GJonesMBuf.h.

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

Maximum number of rows in the calibration buffer.

Reimplemented from casa::SolvableVisJonesMBuf.

Reimplemented in casa::GJonesSplineMBuf.

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

Data field accessors.

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

Member Data Documentation

Definition at line 157 of file GJonesMBuf.h.

Definition at line 167 of file GJonesMBuf.h.

Definition at line 158 of file GJonesMBuf.h.

Definition at line 168 of file GJonesMBuf.h.

Definition at line 161 of file GJonesMBuf.h.

Definition at line 171 of file GJonesMBuf.h.

Definition at line 159 of file GJonesMBuf.h.

Definition at line 169 of file GJonesMBuf.h.

Definition at line 160 of file GJonesMBuf.h.

Definition at line 170 of file GJonesMBuf.h.

Definition at line 155 of file GJonesMBuf.h.

Definition at line 165 of file GJonesMBuf.h.

   

Buffer fields

Definition at line 154 of file GJonesMBuf.h.

Buffer field status flags.

Definition at line 164 of file GJonesMBuf.h.

Definition at line 156 of file GJonesMBuf.h.

Definition at line 166 of file GJonesMBuf.h.


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