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

BJonesPolyMBuf: BJonesPoly calibration main table buffer. More...

#include <BJonesMBuf.h>

Inheritance diagram for casa::BJonesPolyMBuf:
casa::BJonesMBuf casa::SolvableVisJonesMBuf casa::TimeVarVisJonesMBuf casa::VisJonesMBuf casa::CalMainBuffer

List of all members.

Public Member Functions

 BJonesPolyMBuf ()
 Default constructor.
 BJonesPolyMBuf (const Vector< Int > &calIndices, const Block< Vector< Int > > &indexValues)
 Construct from a set of calibration buffer indices and their specified values.
 BJonesPolyMBuf (CalIterBase &calIter)
 Construct from a calibration table iterator.
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 putAntGain (const Int &antennaId, const String &sFreqGrpName, const String &sPolyType, const Complex &sScaleFactor, const Vector< Double > &sValidDomain, const Int &sNPolyAmp, const Int &sNPolyPhase, const Vector< Double > &sPolyCoeffAmp, const Vector< Double > &sPolyCoeffPhase, const String &sPhaseUnits, const Complex &sSideBandRef, const MFrequency &sRefFreq, const Int &sRefAnt)
 Update the parametrized solution for a given antenna id.
Vector< String > & polyType ()
 Data field accessors.
Vector< String > & polyMode ()
Vector< Complex > & scaleFactor ()
Array< Double > & validDomain ()
Vector< Int > & nPolyAmp ()
Vector< Int > & nPolyPhase ()
Array< Double > & polyCoeffAmp ()
Array< Double > & polyCoeffPhase ()
Vector< String > & phaseUnits ()
Vector< Complex > & sideBandRef ()

Protected Member Functions

virtual BJonesPolyMColnewCalMainCol (CalTable &calTable)
 Factory method to create a columns accessor object of the appropriate type.
virtual BJonesPolyMColcalMainCol ()
 Access to the columns accessor object.
virtual void invalidate ()
 Invalidate the current cache.
virtual void fillAttributes (const Vector< Int > &, const VisBuffer &)
 Fill the BJonesPoly 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
Array< DoublevalidDomain_p
Vector< IntnPolyAmp_p
Vector< IntnPolyPhase_p
Array< DoublepolyCoeffAmp_p
Array< DoublepolyCoeffPhase_p
Vector< StringphaseUnits_p
Vector< Complex > sideBandRef_p
Bool polyTypeOK_p
 Buffer field status flags.
Bool polyModeOK_p
Bool scaleFactorOK_p
Bool validDomainOK_p
Bool nPolyAmpOK_p
Bool nPolyPhaseOK_p
Bool polyCoeffAmpOK_p
Bool polyCoeffPhaseOK_p
Bool phaseUnitsOK_p
Bool sideBandRefOK_p

Detailed Description

BJonesPolyMBuf: BJonesPoly calibration main table buffer.

Intended use:

Public interface

Prerequisite

Etymology

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

Synopsis

The BJonesPolyMBuf class holds a buffer, optionally connected to a BJonesPoly calibration main table iterator (of base type CalIterBase). The BJonesPoly matrix contains bandpass correction terms.

Example

Motivation

Encapsulate BJonesPoly calibration main table data buffers.

Definition at line 134 of file BJonesMBuf.h.


Constructor & Destructor Documentation

Default constructor.

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

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

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

Reimplemented from casa::SolvableVisJonesMBuf.

virtual BJonesPolyMCol* casa::BJonesPolyMBuf::calMainCol ( ) [inline, protected, virtual]

Access to the columns accessor object.

Reimplemented from casa::SolvableVisJonesMBuf.

Definition at line 189 of file BJonesMBuf.h.

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

Fill the BJonesPoly 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.

Definition at line 202 of file BJonesMBuf.h.

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

Set default attribute values.

Reimplemented from casa::SolvableVisJonesMBuf.

virtual void casa::BJonesPolyMBuf::invalidate ( ) [protected, virtual]

Invalidate the current cache.

Reimplemented from casa::SolvableVisJonesMBuf.

virtual BJonesPolyMCol* casa::BJonesPolyMBuf::newCalMainCol ( CalTable calTable) [inline, protected, virtual]

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

Reimplemented from casa::SolvableVisJonesMBuf.

Definition at line 185 of file BJonesMBuf.h.

virtual Int casa::BJonesPolyMBuf::nRow ( ) [virtual]

Maximum number of rows in the calibration buffer.

Reimplemented from casa::SolvableVisJonesMBuf.

Data field accessors.

virtual Bool casa::BJonesPolyMBuf::putAntGain ( const Int antennaId,
const String sFreqGrpName,
const String sPolyType,
const Complex &  sScaleFactor,
const Vector< Double > &  sValidDomain,
const Int sNPolyAmp,
const Int sNPolyPhase,
const Vector< Double > &  sPolyCoeffAmp,
const Vector< Double > &  sPolyCoeffPhase,
const String sPhaseUnits,
const Complex &  sSideBandRef,
const MFrequency sRefFreq,
const Int sRefAnt 
) [virtual]

Update the parametrized solution for a given antenna id.


Member Data Documentation

Definition at line 215 of file BJonesMBuf.h.

Definition at line 227 of file BJonesMBuf.h.

Definition at line 216 of file BJonesMBuf.h.

Definition at line 228 of file BJonesMBuf.h.

Definition at line 219 of file BJonesMBuf.h.

Definition at line 231 of file BJonesMBuf.h.

Definition at line 217 of file BJonesMBuf.h.

Definition at line 229 of file BJonesMBuf.h.

Definition at line 218 of file BJonesMBuf.h.

Definition at line 230 of file BJonesMBuf.h.

Definition at line 212 of file BJonesMBuf.h.

Definition at line 224 of file BJonesMBuf.h.

   

Buffer fields

Definition at line 211 of file BJonesMBuf.h.

Buffer field status flags.

Definition at line 223 of file BJonesMBuf.h.

Definition at line 213 of file BJonesMBuf.h.

Definition at line 225 of file BJonesMBuf.h.

Definition at line 220 of file BJonesMBuf.h.

Definition at line 232 of file BJonesMBuf.h.

Definition at line 214 of file BJonesMBuf.h.

Definition at line 226 of file BJonesMBuf.h.


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