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