casa
$Rev:20696$
|
GJonesSplineMBuf: GJonesSpline calibration main table buffer. More...
#include <GJonesMBuf.h>
Public Member Functions | |
GJonesSplineMBuf () | |
Default constructor. | |
GJonesSplineMBuf (const Vector< Int > &calIndices, const Block< Vector< Int > > &indexValues) | |
Construct from a set of calibration buffer indices and their specified values. | |
GJonesSplineMBuf (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 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 > &, const VisBuffer &) |
Fill the GJonesSpline 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< Int > | nKnotsAmp_p |
Vector< Int > | nKnotsPhase_p |
Array< Double > | splineKnotsAmp_p |
Array< Double > | splineKnotsPhase_p |
Bool | nKnotsAmpOK_p |
Buffer field status flags. | |
Bool | nKnotsPhaseOK_p |
Bool | splineKnotsAmpOK_p |
Bool | splineKnotsPhaseOK_p |
GJonesSplineMBuf: GJonesSpline calibration main table buffer.
Public interface
From "GJonesSpline matrix", "cal main table" and "buffer"
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.
Encapsulate GJonesSpline calibration main table data buffers.
Definition at line 213 of file GJonesMBuf.h.
Default constructor.
No connection to an underlying calibration table iterator in this case.
casa::GJonesSplineMBuf::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.
casa::GJonesSplineMBuf::GJonesSplineMBuf | ( | CalIterBase & | calIter | ) |
Construct from a calibration table iterator.
The calibration buffer will remain synchronized with the iterator.
virtual Int casa::GJonesSplineMBuf::append | ( | CalTable & | calTable | ) | [virtual] |
Write the current buffer at the end of a specified cal table.
Reimplemented from casa::GJonesPolyMBuf.
virtual GJonesSplineMCol* casa::GJonesSplineMBuf::calMainCol | ( | ) | [inline, protected, virtual] |
Access to the columns accessor object.
Reimplemented from casa::GJonesPolyMBuf.
Definition at line 271 of file GJonesMBuf.h.
virtual void casa::GJonesSplineMBuf::fillAttributes | ( | const Vector< Int > & | , |
const VisBuffer & | |||
) | [inline, protected, virtual] |
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)
Reimplemented from casa::GJonesPolyMBuf.
Definition at line 281 of file GJonesMBuf.h.
virtual void casa::GJonesSplineMBuf::fillAttributes | ( | const Vector< Int > & | calIndices | ) | [protected, virtual] |
Set default attribute values.
Reimplemented from casa::GJonesPolyMBuf.
virtual Bool casa::GJonesSplineMBuf::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::GJonesSplineMBuf::invalidate | ( | ) | [virtual] |
Invalidate the current calibration buffer.
This signals that a re-read is required as the iterator has advanced
Reimplemented from casa::GJonesPolyMBuf.
virtual GJonesSplineMCol* casa::GJonesSplineMBuf::newCalMainCol | ( | CalTable & | calTable | ) | [inline, protected, virtual] |
Factory method to create a columns accessor object of the appropriate type.
Reimplemented from casa::GJonesPolyMBuf.
Definition at line 267 of file GJonesMBuf.h.
virtual Vector<Int>& casa::GJonesSplineMBuf::nKnotsAmp | ( | ) | [virtual] |
Data field accessors.
virtual Vector<Int>& casa::GJonesSplineMBuf::nKnotsPhase | ( | ) | [virtual] |
virtual Int casa::GJonesSplineMBuf::nRow | ( | ) | [virtual] |
Maximum number of rows in the calibration buffer.
Reimplemented from casa::GJonesPolyMBuf.
virtual Array<Double>& casa::GJonesSplineMBuf::splineKnotsAmp | ( | ) | [virtual] |
virtual Array<Double>& casa::GJonesSplineMBuf::splineKnotsPhase | ( | ) | [virtual] |
Vector<Int> casa::GJonesSplineMBuf::nKnotsAmp_p [private] |
Bool casa::GJonesSplineMBuf::nKnotsAmpOK_p [private] |
Buffer field status flags.
Definition at line 296 of file GJonesMBuf.h.
Vector<Int> casa::GJonesSplineMBuf::nKnotsPhase_p [private] |
Definition at line 291 of file GJonesMBuf.h.
Bool casa::GJonesSplineMBuf::nKnotsPhaseOK_p [private] |
Definition at line 297 of file GJonesMBuf.h.
Array<Double> casa::GJonesSplineMBuf::splineKnotsAmp_p [private] |
Definition at line 292 of file GJonesMBuf.h.
Definition at line 298 of file GJonesMBuf.h.
Definition at line 293 of file GJonesMBuf.h.
Definition at line 299 of file GJonesMBuf.h.