TJonesMBuf.h

Classes

TJonesPolyMBuf -- TJonesPolyMBuf: TJonesPoly calibration main table buffer (full description)
TJonesSplineMBuf -- TJonesSplineMBuf: TJonesSpline calibration main table buffer (full description)

class TJonesPolyMBuf : public TJonesMBuf

Interface

Public Members
TJonesPolyMBuf()
TJonesPolyMBuf (const Vector<Int>& calIndices, const Block<Vector<Int> >& indexValues)
TJonesPolyMBuf (CalIterBase& calIter)
virtual void invalidate()
virtual Int append (CalTable& calTable)
virtual Int nRow()
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)
virtual Vector<String>& polyType()
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 Members
virtual TJonesPolyMCol* newCalMainCol (CalTable& calTable)
virtual TJonesPolyMCol* calMainCol()
virtual void fillAttributes(const Vector<Int>& calIndices, const VisBuffer& vb)
virtual void fillAttributes(const Vector<Int>& calIndices)

Description

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.

To Do

Member Description

TJonesPolyMBuf()

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

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.

TJonesPolyMBuf (CalIterBase& calIter)

Construct from a calibration table iterator. The calibration buffer will remain synchronized with the iterator.

virtual void invalidate()

Invalidate the current calibration buffer. This signals that a re-read is required as the iterator has advanced

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()

virtual TJonesPolyMCol* newCalMainCol (CalTable& calTable)

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

virtual TJonesPolyMCol* calMainCol()

Access to the columns accessor object

virtual void fillAttributes(const Vector<Int>& calIndices, const VisBuffer& vb)

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)

virtual void fillAttributes(const Vector<Int>& calIndices)

Set default attribute values


class TJonesSplineMBuf : public TJonesPolyMBuf

Interface

Public Members
TJonesSplineMBuf()
TJonesSplineMBuf (const Vector<Int>& calIndices, const Block<Vector<Int> >& indexValues)
TJonesSplineMBuf (CalIterBase& calIter)
virtual void invalidate()
virtual Int append (CalTable& calTable)
virtual Int nRow()
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)
virtual Vector<Int>& nKnotsAmp()
virtual Vector<Int>& nKnotsPhase()
virtual Array<Double>& splineKnotsAmp()
virtual Array<Double>& splineKnotsPhase()
Protected Members
virtual TJonesSplineMCol* newCalMainCol (CalTable& calTable)
virtual TJonesSplineMCol* calMainCol()
virtual void fillAttributes(const Vector<Int>& calIndices, const VisBuffer& vb)
virtual void fillAttributes(const Vector<Int>& calIndices)

Description

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.

To Do

Member Description

TJonesSplineMBuf()

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

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.

TJonesSplineMBuf (CalIterBase& calIter)

Construct from a calibration table iterator. The calibration buffer will remain synchronized with the iterator.

virtual void invalidate()

Invalidate the current calibration buffer. This signals that a re-read is required as the iterator has advanced

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()

virtual TJonesSplineMCol* newCalMainCol (CalTable& calTable)

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

virtual TJonesSplineMCol* calMainCol()

Access to the columns accessor object

virtual void fillAttributes(const Vector<Int>& calIndices, const VisBuffer& vb)

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)

virtual void fillAttributes(const Vector<Int>& calIndices)

Set default attribute values