GJonesMBuf.h

Classes

GJonesPolyMBuf -- GJonesPolyMBuf: GJonesPoly calibration main table buffer (full description)
GJonesSplineMBuf -- GJonesSplineMBuf: GJonesSpline calibration main table buffer (full description)

class GJonesPolyMBuf : public GJonesMBuf

Interface

Public Members
GJonesPolyMBuf()
GJonesPolyMBuf (const Vector<Int>& calIndices, const Block<Vector<Int> >& indexValues)
GJonesPolyMBuf (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 GJonesPolyMCol* newCalMainCol (CalTable& calTable)
virtual GJonesPolyMCol* calMainCol()
virtual void fillAttributes(const Vector<Int>& calIndices, const VisBuffer& vb)
virtual void fillAttributes(const Vector<Int>& calIndices)

Description

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.

To Do

Member Description

GJonesPolyMBuf()

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

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.

GJonesPolyMBuf (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 GJonesPolyMCol* newCalMainCol (CalTable& calTable)

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

virtual GJonesPolyMCol* calMainCol()

Access to the columns accessor object

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

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)

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

Set default attribute values


class GJonesSplineMBuf : public GJonesPolyMBuf

Interface

Public Members
GJonesSplineMBuf()
GJonesSplineMBuf (const Vector<Int>& calIndices, const Block<Vector<Int> >& indexValues)
GJonesSplineMBuf (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 GJonesSplineMCol* newCalMainCol (CalTable& calTable)
virtual GJonesSplineMCol* calMainCol()
virtual void fillAttributes(const Vector<Int>& calIndices, const VisBuffer& vb)
virtual void fillAttributes(const Vector<Int>& calIndices)

Description

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.

To Do

Member Description

GJonesSplineMBuf()

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

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.

GJonesSplineMBuf (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 GJonesSplineMCol* newCalMainCol (CalTable& calTable)

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

virtual GJonesSplineMCol* calMainCol()

Access to the columns accessor object

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

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)

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

Set default attribute values