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

GJonesSplineMBuf: GJonesSpline calibration main table buffer. More...

#include <GJonesMBuf.h>

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

List of all members.

Public Member Functions

 GJonesSplineMBuf ()
 Default constructor.
 GJonesSplineMBuf (const Vector< Int > &calIndices, const Block< Vector< Int > > &indexValues)
 Construct from a set of calibration buffer indices and their specified values.
 GJonesSplineMBuf (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 Int &sNKnotsAmp, const Int &sNKnotsPhase, const Vector< Double > &sSplineKnotsAmp, const Vector< Double > &sSplineKnotsPhase, const MFrequency &sRefFreq, const Int &sRefAnt)
 Update the parametrized solution in each of a set of buffer rows.
virtual Vector< Int > & nKnotsAmp ()
 Data field accessors.
virtual Vector< Int > & nKnotsPhase ()
virtual Array< Double > & splineKnotsAmp ()
virtual Array< Double > & splineKnotsPhase ()

Protected Member Functions

virtual GJonesSplineMColnewCalMainCol (CalTable &calTable)
 Factory method to create a columns accessor object of the appropriate type.
virtual GJonesSplineMColcalMainCol ()
 Access to the columns accessor object.
virtual void fillAttributes (const Vector< Int > &, const VisBuffer &)
 Fill the GJonesSpline 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< IntnKnotsAmp_p
 
   

Vector< IntnKnotsPhase_p
Array< DoublesplineKnotsAmp_p
Array< DoublesplineKnotsPhase_p
Bool nKnotsAmpOK_p
 Buffer field status flags.
Bool nKnotsPhaseOK_p
Bool splineKnotsAmpOK_p
Bool splineKnotsPhaseOK_p

Detailed Description

GJonesSplineMBuf: GJonesSpline calibration main table buffer.

Intended use:

Public interface

Prerequisite

Etymology

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

Synopsis

The GJonesSplineMBuf class holds a buffer, optionally connected to a GJonesSpline calibration main table iterator (of base type CalIterBase). The GJonesSpline matrix contains electronic gain terms expressed as as spline polynomials over time.

Example

Motivation

Encapsulate GJonesSpline calibration main table data buffers.

Definition at line 213 of file GJonesMBuf.h.


Constructor & Destructor Documentation

Default constructor.

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

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

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

Reimplemented from casa::GJonesPolyMBuf.

virtual GJonesSplineMCol* casa::GJonesSplineMBuf::calMainCol ( ) [inline, protected, virtual]

Access to the columns accessor object.

Reimplemented from casa::GJonesPolyMBuf.

Definition at line 271 of file GJonesMBuf.h.

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

Fill the GJonesSpline 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::GJonesPolyMBuf.

Definition at line 281 of file GJonesMBuf.h.

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

Set default attribute values.

Reimplemented from casa::GJonesPolyMBuf.

virtual Bool casa::GJonesSplineMBuf::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 Int sNKnotsAmp,
const Int sNKnotsPhase,
const Vector< Double > &  sSplineKnotsAmp,
const Vector< Double > &  sSplineKnotsPhase,
const MFrequency sRefFreq,
const Int sRefAnt 
) [virtual]

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

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

Invalidate the current calibration buffer.

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

Reimplemented from casa::GJonesPolyMBuf.

virtual GJonesSplineMCol* casa::GJonesSplineMBuf::newCalMainCol ( CalTable calTable) [inline, protected, virtual]

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

Reimplemented from casa::GJonesPolyMBuf.

Definition at line 267 of file GJonesMBuf.h.

virtual Vector<Int>& casa::GJonesSplineMBuf::nKnotsAmp ( ) [virtual]

Data field accessors.

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

Maximum number of rows in the calibration buffer.

Reimplemented from casa::GJonesPolyMBuf.


Member Data Documentation

   

Buffer fields

Definition at line 290 of file GJonesMBuf.h.

Buffer field status flags.

Definition at line 296 of file GJonesMBuf.h.

Definition at line 291 of file GJonesMBuf.h.

Definition at line 297 of file GJonesMBuf.h.

Definition at line 292 of file GJonesMBuf.h.

Definition at line 298 of file GJonesMBuf.h.

Definition at line 293 of file GJonesMBuf.h.

Definition at line 299 of file GJonesMBuf.h.


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