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

TJonesSplineMBuf: TJonesSpline calibration main table buffer. More...

#include <TJonesMBuf.h>

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

List of all members.

Public Member Functions

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

TJonesSplineMBuf: TJonesSpline calibration main table buffer.

Intended use:

Public interface

Prerequisite

Etymology

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

Synopsis

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

Example

Motivation

Encapsulate TJonesSpline calibration main table data buffers.

Definition at line 213 of file TJonesMBuf.h.


Constructor & Destructor Documentation

Default constructor.

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

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

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

Reimplemented from casa::TJonesPolyMBuf.

virtual TJonesSplineMCol* casa::TJonesSplineMBuf::calMainCol ( ) [inline, protected, virtual]

Access to the columns accessor object.

Reimplemented from casa::TJonesPolyMBuf.

Definition at line 271 of file TJonesMBuf.h.

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

Fill the TJonesSpline 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::TJonesPolyMBuf.

Definition at line 281 of file TJonesMBuf.h.

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

Set default attribute values.

Reimplemented from casa::TJonesPolyMBuf.

virtual Bool casa::TJonesSplineMBuf::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::TJonesSplineMBuf::invalidate ( ) [virtual]

Invalidate the current calibration buffer.

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

Reimplemented from casa::TJonesPolyMBuf.

virtual TJonesSplineMCol* casa::TJonesSplineMBuf::newCalMainCol ( CalTable calTable) [inline, protected, virtual]

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

Reimplemented from casa::TJonesPolyMBuf.

Definition at line 267 of file TJonesMBuf.h.

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

Data field accessors.

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

Maximum number of rows in the calibration buffer.

Reimplemented from casa::TJonesPolyMBuf.


Member Data Documentation

   

Buffer fields

Definition at line 290 of file TJonesMBuf.h.

Buffer field status flags.

Definition at line 296 of file TJonesMBuf.h.

Definition at line 291 of file TJonesMBuf.h.

Definition at line 297 of file TJonesMBuf.h.

Definition at line 292 of file TJonesMBuf.h.

Definition at line 298 of file TJonesMBuf.h.

Definition at line 293 of file TJonesMBuf.h.

Definition at line 299 of file TJonesMBuf.h.


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