casa
$Rev:20696$
|
BJonesPolyMBuf: BJonesPoly calibration main table buffer. More...
#include <BJonesMBuf.h>
Public Member Functions | |
BJonesPolyMBuf () | |
Default constructor. | |
BJonesPolyMBuf (const Vector< Int > &calIndices, const Block< Vector< Int > > &indexValues) | |
Construct from a set of calibration buffer indices and their specified values. | |
BJonesPolyMBuf (CalIterBase &calIter) | |
Construct from a calibration table iterator. | |
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 | putAntGain (const Int &antennaId, const String &sFreqGrpName, const String &sPolyType, const Complex &sScaleFactor, const Vector< Double > &sValidDomain, const Int &sNPolyAmp, const Int &sNPolyPhase, const Vector< Double > &sPolyCoeffAmp, const Vector< Double > &sPolyCoeffPhase, const String &sPhaseUnits, const Complex &sSideBandRef, const MFrequency &sRefFreq, const Int &sRefAnt) |
Update the parametrized solution for a given antenna id. | |
Vector< String > & | polyType () |
Data field accessors. | |
Vector< String > & | polyMode () |
Vector< Complex > & | scaleFactor () |
Array< Double > & | validDomain () |
Vector< Int > & | nPolyAmp () |
Vector< Int > & | nPolyPhase () |
Array< Double > & | polyCoeffAmp () |
Array< Double > & | polyCoeffPhase () |
Vector< String > & | phaseUnits () |
Vector< Complex > & | sideBandRef () |
Protected Member Functions | |
virtual BJonesPolyMCol * | newCalMainCol (CalTable &calTable) |
Factory method to create a columns accessor object of the appropriate type. | |
virtual BJonesPolyMCol * | calMainCol () |
Access to the columns accessor object. | |
virtual void | invalidate () |
Invalidate the current cache. | |
virtual void | fillAttributes (const Vector< Int > &, const VisBuffer &) |
Fill the BJonesPoly 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 |
Array< Double > | validDomain_p |
Vector< Int > | nPolyAmp_p |
Vector< Int > | nPolyPhase_p |
Array< Double > | polyCoeffAmp_p |
Array< Double > | polyCoeffPhase_p |
Vector< String > | phaseUnits_p |
Vector< Complex > | sideBandRef_p |
Bool | polyTypeOK_p |
Buffer field status flags. | |
Bool | polyModeOK_p |
Bool | scaleFactorOK_p |
Bool | validDomainOK_p |
Bool | nPolyAmpOK_p |
Bool | nPolyPhaseOK_p |
Bool | polyCoeffAmpOK_p |
Bool | polyCoeffPhaseOK_p |
Bool | phaseUnitsOK_p |
Bool | sideBandRefOK_p |
BJonesPolyMBuf: BJonesPoly calibration main table buffer.
Public interface
From "BJonesPoly matrix", "cal main table" and "buffer"
The BJonesPolyMBuf class holds a buffer, optionally connected to a BJonesPoly calibration main table iterator (of base type CalIterBase). The BJonesPoly matrix contains bandpass correction terms.
Encapsulate BJonesPoly calibration main table data buffers.
Definition at line 134 of file BJonesMBuf.h.
Default constructor.
No connection to an underlying calibration table iterator in this case.
casa::BJonesPolyMBuf::BJonesPolyMBuf | ( | 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::BJonesPolyMBuf::BJonesPolyMBuf | ( | CalIterBase & | calIter | ) |
Construct from a calibration table iterator.
The calibration buffer will remain synchronized with the iterator.
virtual Int casa::BJonesPolyMBuf::append | ( | CalTable & | calTable | ) | [virtual] |
Write the current buffer at the end of a specified cal table.
Reimplemented from casa::SolvableVisJonesMBuf.
virtual BJonesPolyMCol* casa::BJonesPolyMBuf::calMainCol | ( | ) | [inline, protected, virtual] |
Access to the columns accessor object.
Reimplemented from casa::SolvableVisJonesMBuf.
Definition at line 189 of file BJonesMBuf.h.
virtual void casa::BJonesPolyMBuf::fillAttributes | ( | const Vector< Int > & | , |
const VisBuffer & | |||
) | [inline, protected, virtual] |
Fill the BJonesPoly 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.
Definition at line 202 of file BJonesMBuf.h.
virtual void casa::BJonesPolyMBuf::fillAttributes | ( | const Vector< Int > & | calIndices | ) | [protected, virtual] |
Set default attribute values.
Reimplemented from casa::SolvableVisJonesMBuf.
virtual void casa::BJonesPolyMBuf::invalidate | ( | ) | [protected, virtual] |
Invalidate the current cache.
Reimplemented from casa::SolvableVisJonesMBuf.
virtual BJonesPolyMCol* casa::BJonesPolyMBuf::newCalMainCol | ( | CalTable & | calTable | ) | [inline, protected, virtual] |
Factory method to create a columns accessor object of the appropriate type.
Reimplemented from casa::SolvableVisJonesMBuf.
Definition at line 185 of file BJonesMBuf.h.
virtual Int casa::BJonesPolyMBuf::nRow | ( | ) | [virtual] |
Maximum number of rows in the calibration buffer.
Reimplemented from casa::SolvableVisJonesMBuf.
Data field accessors.
virtual Bool casa::BJonesPolyMBuf::putAntGain | ( | const Int & | antennaId, |
const String & | sFreqGrpName, | ||
const String & | sPolyType, | ||
const Complex & | sScaleFactor, | ||
const Vector< Double > & | sValidDomain, | ||
const Int & | sNPolyAmp, | ||
const Int & | sNPolyPhase, | ||
const Vector< Double > & | sPolyCoeffAmp, | ||
const Vector< Double > & | sPolyCoeffPhase, | ||
const String & | sPhaseUnits, | ||
const Complex & | sSideBandRef, | ||
const MFrequency & | sRefFreq, | ||
const Int & | sRefAnt | ||
) | [virtual] |
Update the parametrized solution for a given antenna id.
Vector<Complex>& casa::BJonesPolyMBuf::scaleFactor | ( | ) |
Vector<Complex>& casa::BJonesPolyMBuf::sideBandRef | ( | ) |
Vector<Int> casa::BJonesPolyMBuf::nPolyAmp_p [private] |
Definition at line 215 of file BJonesMBuf.h.
Bool casa::BJonesPolyMBuf::nPolyAmpOK_p [private] |
Definition at line 227 of file BJonesMBuf.h.
Vector<Int> casa::BJonesPolyMBuf::nPolyPhase_p [private] |
Definition at line 216 of file BJonesMBuf.h.
Bool casa::BJonesPolyMBuf::nPolyPhaseOK_p [private] |
Definition at line 228 of file BJonesMBuf.h.
Vector<String> casa::BJonesPolyMBuf::phaseUnits_p [private] |
Definition at line 219 of file BJonesMBuf.h.
Bool casa::BJonesPolyMBuf::phaseUnitsOK_p [private] |
Definition at line 231 of file BJonesMBuf.h.
Array<Double> casa::BJonesPolyMBuf::polyCoeffAmp_p [private] |
Definition at line 217 of file BJonesMBuf.h.
Bool casa::BJonesPolyMBuf::polyCoeffAmpOK_p [private] |
Definition at line 229 of file BJonesMBuf.h.
Array<Double> casa::BJonesPolyMBuf::polyCoeffPhase_p [private] |
Definition at line 218 of file BJonesMBuf.h.
Bool casa::BJonesPolyMBuf::polyCoeffPhaseOK_p [private] |
Definition at line 230 of file BJonesMBuf.h.
Vector<String> casa::BJonesPolyMBuf::polyMode_p [private] |
Definition at line 212 of file BJonesMBuf.h.
Bool casa::BJonesPolyMBuf::polyModeOK_p [private] |
Definition at line 224 of file BJonesMBuf.h.
Vector<String> casa::BJonesPolyMBuf::polyType_p [private] |
Bool casa::BJonesPolyMBuf::polyTypeOK_p [private] |
Buffer field status flags.
Definition at line 223 of file BJonesMBuf.h.
Vector<Complex> casa::BJonesPolyMBuf::scaleFactor_p [private] |
Definition at line 213 of file BJonesMBuf.h.
Bool casa::BJonesPolyMBuf::scaleFactorOK_p [private] |
Definition at line 225 of file BJonesMBuf.h.
Vector<Complex> casa::BJonesPolyMBuf::sideBandRef_p [private] |
Definition at line 220 of file BJonesMBuf.h.
Bool casa::BJonesPolyMBuf::sideBandRefOK_p [private] |
Definition at line 232 of file BJonesMBuf.h.
Array<Double> casa::BJonesPolyMBuf::validDomain_p [private] |
Definition at line 214 of file BJonesMBuf.h.
Bool casa::BJonesPolyMBuf::validDomainOK_p [private] |
Definition at line 226 of file BJonesMBuf.h.