casa
$Rev:20696$
|
GJonesPolyMBuf: GJonesPoly calibration main table buffer. More...
#include <GJonesMBuf.h>
Public Member Functions | |
GJonesPolyMBuf () | |
Default constructor. | |
GJonesPolyMBuf (const Vector< Int > &calIndices, const Block< Vector< Int > > &indexValues) | |
Construct from a set of calibration buffer indices and their specified values. | |
GJonesPolyMBuf (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 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 () |
Protected Member Functions | |
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 > &, const VisBuffer &) |
Fill the GJonesPoly 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< String > | polyType_p |
Vector< String > | polyMode_p |
Vector< Complex > | scaleFactor_p |
Vector< Int > | nPolyAmp_p |
Vector< Int > | nPolyPhase_p |
Array< Double > | polyCoeffAmp_p |
Array< Double > | polyCoeffPhase_p |
Vector< String > | phaseUnits_p |
Bool | polyTypeOK_p |
Buffer field status flags. | |
Bool | polyModeOK_p |
Bool | scaleFactorOK_p |
Bool | nPolyAmpOK_p |
Bool | nPolyPhaseOK_p |
Bool | polyCoeffAmpOK_p |
Bool | polyCoeffPhaseOK_p |
Bool | phaseUnitsOK_p |
GJonesPolyMBuf: GJonesPoly calibration main table buffer.
Public interface
From "GJonesPoly matrix", "cal main table" and "buffer"
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.
Encapsulate GJonesPoly calibration main table data buffers.
Definition at line 77 of file GJonesMBuf.h.
Default constructor.
No connection to an underlying calibration table iterator in this case.
casa::GJonesPolyMBuf::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.
casa::GJonesPolyMBuf::GJonesPolyMBuf | ( | CalIterBase & | calIter | ) |
Construct from a calibration table iterator.
The calibration buffer will remain synchronized with the iterator.
virtual Int casa::GJonesPolyMBuf::append | ( | CalTable & | calTable | ) | [virtual] |
Write the current buffer at the end of a specified cal table.
Reimplemented from casa::SolvableVisJonesMBuf.
Reimplemented in casa::GJonesSplineMBuf.
virtual GJonesPolyMCol* casa::GJonesPolyMBuf::calMainCol | ( | ) | [inline, protected, virtual] |
Access to the columns accessor object.
Reimplemented from casa::SolvableVisJonesMBuf.
Reimplemented in casa::GJonesSplineMBuf.
Definition at line 135 of file GJonesMBuf.h.
virtual void casa::GJonesPolyMBuf::fillAttributes | ( | const Vector< Int > & | , |
const VisBuffer & | |||
) | [inline, protected, virtual] |
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)
Reimplemented from casa::SolvableVisJonesMBuf.
Reimplemented in casa::GJonesSplineMBuf.
Definition at line 145 of file GJonesMBuf.h.
virtual void casa::GJonesPolyMBuf::fillAttributes | ( | const Vector< Int > & | calIndices | ) | [protected, virtual] |
Set default attribute values.
Reimplemented from casa::SolvableVisJonesMBuf.
Reimplemented in casa::GJonesSplineMBuf.
virtual Bool casa::GJonesPolyMBuf::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] |
Update the parametrized solution in each of a set of buffer rows.
virtual void casa::GJonesPolyMBuf::invalidate | ( | ) | [virtual] |
Invalidate the current calibration buffer.
This signals that a re-read is required as the iterator has advanced
Reimplemented from casa::SolvableVisJonesMBuf.
Reimplemented in casa::GJonesSplineMBuf.
virtual GJonesPolyMCol* casa::GJonesPolyMBuf::newCalMainCol | ( | CalTable & | calTable | ) | [inline, protected, virtual] |
Factory method to create a columns accessor object of the appropriate type.
Reimplemented from casa::SolvableVisJonesMBuf.
Reimplemented in casa::GJonesSplineMBuf.
Definition at line 131 of file GJonesMBuf.h.
virtual Vector<Int>& casa::GJonesPolyMBuf::nPolyAmp | ( | ) | [virtual] |
virtual Vector<Int>& casa::GJonesPolyMBuf::nPolyPhase | ( | ) | [virtual] |
virtual Int casa::GJonesPolyMBuf::nRow | ( | ) | [virtual] |
Maximum number of rows in the calibration buffer.
Reimplemented from casa::SolvableVisJonesMBuf.
Reimplemented in casa::GJonesSplineMBuf.
virtual Vector<String>& casa::GJonesPolyMBuf::phaseUnits | ( | ) | [virtual] |
virtual Array<Double>& casa::GJonesPolyMBuf::polyCoeffAmp | ( | ) | [virtual] |
virtual Array<Double>& casa::GJonesPolyMBuf::polyCoeffPhase | ( | ) | [virtual] |
virtual Vector<String>& casa::GJonesPolyMBuf::polyMode | ( | ) | [virtual] |
virtual Vector<String>& casa::GJonesPolyMBuf::polyType | ( | ) | [virtual] |
Data field accessors.
virtual Vector<Complex>& casa::GJonesPolyMBuf::scaleFactor | ( | ) | [virtual] |
Vector<Int> casa::GJonesPolyMBuf::nPolyAmp_p [private] |
Definition at line 157 of file GJonesMBuf.h.
Bool casa::GJonesPolyMBuf::nPolyAmpOK_p [private] |
Definition at line 167 of file GJonesMBuf.h.
Vector<Int> casa::GJonesPolyMBuf::nPolyPhase_p [private] |
Definition at line 158 of file GJonesMBuf.h.
Bool casa::GJonesPolyMBuf::nPolyPhaseOK_p [private] |
Definition at line 168 of file GJonesMBuf.h.
Vector<String> casa::GJonesPolyMBuf::phaseUnits_p [private] |
Definition at line 161 of file GJonesMBuf.h.
Bool casa::GJonesPolyMBuf::phaseUnitsOK_p [private] |
Definition at line 171 of file GJonesMBuf.h.
Array<Double> casa::GJonesPolyMBuf::polyCoeffAmp_p [private] |
Definition at line 159 of file GJonesMBuf.h.
Bool casa::GJonesPolyMBuf::polyCoeffAmpOK_p [private] |
Definition at line 169 of file GJonesMBuf.h.
Array<Double> casa::GJonesPolyMBuf::polyCoeffPhase_p [private] |
Definition at line 160 of file GJonesMBuf.h.
Bool casa::GJonesPolyMBuf::polyCoeffPhaseOK_p [private] |
Definition at line 170 of file GJonesMBuf.h.
Vector<String> casa::GJonesPolyMBuf::polyMode_p [private] |
Definition at line 155 of file GJonesMBuf.h.
Bool casa::GJonesPolyMBuf::polyModeOK_p [private] |
Definition at line 165 of file GJonesMBuf.h.
Vector<String> casa::GJonesPolyMBuf::polyType_p [private] |
Bool casa::GJonesPolyMBuf::polyTypeOK_p [private] |
Buffer field status flags.
Definition at line 164 of file GJonesMBuf.h.
Vector<Complex> casa::GJonesPolyMBuf::scaleFactor_p [private] |
Definition at line 156 of file GJonesMBuf.h.
Bool casa::GJonesPolyMBuf::scaleFactorOK_p [private] |
Definition at line 166 of file GJonesMBuf.h.