GJonesMBuf.h
Classes
- GJonesPolyMBuf -- GJonesPolyMBuf: GJonesPoly calibration main table buffer (full description)
- GJonesSplineMBuf -- GJonesSplineMBuf: GJonesSpline calibration main table buffer (full description)
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)
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
(i) Deal with non-standard columns.
Member Description
Default constructor. No connection to an underlying
calibration table iterator in this case.
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.
Invalidate the current calibration buffer. This signals
that a re-read is required as the iterator has advanced
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
Data field accessors
Factory method to create a columns accessor object of the
appropriate type
Access to the columns accessor object
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)
Set default attribute values
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)
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
(i) Deal with non-standard columns.
Member Description
Default constructor. No connection to an underlying
calibration table iterator in this case.
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.
Invalidate the current calibration buffer. This signals
that a re-read is required as the iterator has advanced
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
Data field accessors
Factory method to create a columns accessor object of the
appropriate type
Access to the columns accessor object
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)
Set default attribute values