TJonesMBuf.h
Classes
- TJonesPolyMBuf -- TJonesPolyMBuf: TJonesPoly calibration main table buffer (full description)
- TJonesSplineMBuf -- TJonesSplineMBuf: TJonesSpline calibration main table buffer (full description)
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)
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
(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 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)
Set default attribute values
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)
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
(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 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)
Set default attribute values