casa
$Rev:20696$
|
SolvableVisJonesMBuf: SolvableVisJones calibration main table buffer. More...
#include <SolvableVJMBuf.h>
Public Member Functions | |
SolvableVisJonesMBuf () | |
Default constructor. | |
SolvableVisJonesMBuf (const Vector< Int > &calIndices, const Block< Vector< Int > > &indexValues) | |
Construct from a set of calibration buffer indices and their specified values. | |
SolvableVisJonesMBuf (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; returns the number of rows appended. | |
virtual Int | nRow () |
Maximum number of rows in the calibration buffer. | |
virtual Vector< Bool > & | totalSolnOk () |
Data field accessors. | |
virtual Vector< Float > & | totalFit () |
virtual Vector< Float > & | totalFitWgt () |
virtual Array< Bool > & | solnOk () |
virtual Array< Float > & | fit () |
virtual Array< Float > & | fitWgt () |
virtual Array< Bool > & | flag () |
virtual Array< Float > & | snr () |
Protected Member Functions | |
virtual SolvableVisJonesMCol * | newCalMainCol (CalTable &calTable) |
Factory method to create a columns accessor object of the appropriate type. | |
virtual SolvableVisJonesMCol * | calMainCol () |
Calibration table columns accessor. | |
virtual void | invalidate () |
Invalidate the current cache. | |
virtual void | fillAttributes (const Vector< Int > &, const VisBuffer &) |
Fill the cal buffer attribute columns in an empty cal buffer, after the cal indices have been set using fillIndices(). | |
virtual void | fillAttributes (const Vector< Int > &calIndices) |
Set default attribute values. | |
Private Attributes | |
Vector< Bool > | totalSolnOk_p |
Vector< Float > | totalFit_p |
Vector< Float > | totalFitWgt_p |
Array< Bool > | solnOk_p |
Array< Float > | fit_p |
Array< Float > | fitWgt_p |
Array< Bool > | flag_p |
Array< Float > | snr_p |
Bool | totalSolnOkOK_p |
Buffer field status flags. | |
Bool | totalFitOK_p |
Bool | totalFitWgtOK_p |
Bool | solnOkOK_p |
Bool | fitOK_p |
Bool | fitWgtOK_p |
Bool | flagOK_p |
Bool | snrOK_p |
SolvableVisJonesMBuf: SolvableVisJones calibration main table buffer.
Public interface
From "solvable visibility Jones matrix", "cal main table" and "buffer"
The SolvableVisJonesMBuf class holds a buffer, optionally connected to a SolvableVisJones calibration main table iterator (of base type CalIterBase). Specializations for different solvable Jones matrix types are provided through inheritance.
Encapsulate SolvableVisJones calibration main table data buffers.
Definition at line 75 of file SolvableVJMBuf.h.
Default constructor.
No connection to an underlying calibration table iterator in this case.
casa::SolvableVisJonesMBuf::SolvableVisJonesMBuf | ( | 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.
Construct from a calibration table iterator.
The calibration buffer will remain synchronized with the iterator.
virtual Int casa::SolvableVisJonesMBuf::append | ( | CalTable & | calTable | ) | [virtual] |
Write the current buffer at the end of a specified cal table; returns the number of rows appended.
Reimplemented from casa::CalMainBuffer.
Reimplemented in casa::GJonesSplineMBuf, casa::TJonesSplineMBuf, casa::BJonesPolyMBuf, casa::GJonesPolyMBuf, and casa::TJonesPolyMBuf.
virtual SolvableVisJonesMCol* casa::SolvableVisJonesMBuf::calMainCol | ( | ) | [inline, protected, virtual] |
Calibration table columns accessor.
Reimplemented from casa::CalMainBuffer.
Reimplemented in casa::GJonesSplineMBuf, casa::TJonesSplineMBuf, casa::BJonesPolyMBuf, casa::GJonesPolyMBuf, and casa::TJonesPolyMBuf.
Definition at line 117 of file SolvableVJMBuf.h.
virtual void casa::SolvableVisJonesMBuf::fillAttributes | ( | const Vector< Int > & | , |
const VisBuffer & | |||
) | [inline, protected, virtual] |
Fill the cal buffer attribute columns in an empty cal buffer, after the cal indices have been set using fillIndices().
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::CalMainBuffer.
Reimplemented in casa::GJonesSplineMBuf, casa::TJonesSplineMBuf, casa::BJonesPolyMBuf, casa::GJonesPolyMBuf, and casa::TJonesPolyMBuf.
Definition at line 130 of file SolvableVJMBuf.h.
virtual void casa::SolvableVisJonesMBuf::fillAttributes | ( | const Vector< Int > & | calIndices | ) | [protected, virtual] |
Set default attribute values.
Reimplemented from casa::CalMainBuffer.
Reimplemented in casa::GJonesSplineMBuf, casa::TJonesSplineMBuf, casa::BJonesPolyMBuf, casa::GJonesPolyMBuf, and casa::TJonesPolyMBuf.
virtual Array<Float>& casa::SolvableVisJonesMBuf::fit | ( | ) | [virtual] |
virtual Array<Float>& casa::SolvableVisJonesMBuf::fitWgt | ( | ) | [virtual] |
virtual Array<Bool>& casa::SolvableVisJonesMBuf::flag | ( | ) | [virtual] |
virtual void casa::SolvableVisJonesMBuf::invalidate | ( | ) | [protected, virtual] |
Invalidate the current cache.
Reimplemented from casa::CalMainBuffer.
Reimplemented in casa::GJonesSplineMBuf, casa::TJonesSplineMBuf, casa::BJonesPolyMBuf, casa::GJonesPolyMBuf, and casa::TJonesPolyMBuf.
virtual SolvableVisJonesMCol* casa::SolvableVisJonesMBuf::newCalMainCol | ( | CalTable & | calTable | ) | [inline, protected, virtual] |
Factory method to create a columns accessor object of the appropriate type.
Reimplemented from casa::CalMainBuffer.
Reimplemented in casa::GJonesSplineMBuf, casa::TJonesSplineMBuf, casa::BJonesPolyMBuf, casa::GJonesPolyMBuf, and casa::TJonesPolyMBuf.
Definition at line 112 of file SolvableVJMBuf.h.
virtual Int casa::SolvableVisJonesMBuf::nRow | ( | ) | [virtual] |
Maximum number of rows in the calibration buffer.
Reimplemented from casa::CalMainBuffer.
Reimplemented in casa::GJonesSplineMBuf, casa::TJonesSplineMBuf, casa::BJonesPolyMBuf, casa::GJonesPolyMBuf, and casa::TJonesPolyMBuf.
virtual Array<Float>& casa::SolvableVisJonesMBuf::snr | ( | ) | [virtual] |
virtual Array<Bool>& casa::SolvableVisJonesMBuf::solnOk | ( | ) | [virtual] |
virtual Vector<Float>& casa::SolvableVisJonesMBuf::totalFit | ( | ) | [virtual] |
virtual Vector<Float>& casa::SolvableVisJonesMBuf::totalFitWgt | ( | ) | [virtual] |
virtual Vector<Bool>& casa::SolvableVisJonesMBuf::totalSolnOk | ( | ) | [virtual] |
Data field accessors.
Array<Float> casa::SolvableVisJonesMBuf::fit_p [private] |
Definition at line 143 of file SolvableVJMBuf.h.
Bool casa::SolvableVisJonesMBuf::fitOK_p [private] |
Definition at line 153 of file SolvableVJMBuf.h.
Array<Float> casa::SolvableVisJonesMBuf::fitWgt_p [private] |
Definition at line 144 of file SolvableVJMBuf.h.
Bool casa::SolvableVisJonesMBuf::fitWgtOK_p [private] |
Definition at line 154 of file SolvableVJMBuf.h.
Array<Bool> casa::SolvableVisJonesMBuf::flag_p [private] |
Definition at line 145 of file SolvableVJMBuf.h.
Bool casa::SolvableVisJonesMBuf::flagOK_p [private] |
Definition at line 155 of file SolvableVJMBuf.h.
Array<Float> casa::SolvableVisJonesMBuf::snr_p [private] |
Definition at line 146 of file SolvableVJMBuf.h.
Bool casa::SolvableVisJonesMBuf::snrOK_p [private] |
Definition at line 156 of file SolvableVJMBuf.h.
Array<Bool> casa::SolvableVisJonesMBuf::solnOk_p [private] |
Definition at line 142 of file SolvableVJMBuf.h.
Bool casa::SolvableVisJonesMBuf::solnOkOK_p [private] |
Definition at line 152 of file SolvableVJMBuf.h.
Vector<Float> casa::SolvableVisJonesMBuf::totalFit_p [private] |
Definition at line 140 of file SolvableVJMBuf.h.
Bool casa::SolvableVisJonesMBuf::totalFitOK_p [private] |
Definition at line 150 of file SolvableVJMBuf.h.
Vector<Float> casa::SolvableVisJonesMBuf::totalFitWgt_p [private] |
Definition at line 141 of file SolvableVJMBuf.h.
Definition at line 151 of file SolvableVJMBuf.h.
Vector<Bool> casa::SolvableVisJonesMBuf::totalSolnOk_p [private] |
Buffer field status flags.
Definition at line 149 of file SolvableVJMBuf.h.