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