casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions | Private Attributes
casa::SolvableVisJonesMBuf Class Reference

SolvableVisJonesMBuf: SolvableVisJones calibration main table buffer. More...

#include <SolvableVJMBuf.h>

Inheritance diagram for casa::SolvableVisJonesMBuf:
casa::TimeVarVisJonesMBuf casa::VisJonesMBuf casa::CalMainBuffer casa::BJonesMBuf casa::DJonesMBuf casa::GJonesMBuf casa::TJonesMBuf casa::BJonesPolyMBuf casa::GJonesPolyMBuf casa::TJonesPolyMBuf casa::GJonesSplineMBuf casa::TJonesSplineMBuf

List of all members.

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 SolvableVisJonesMColnewCalMainCol (CalTable &calTable)
 Factory method to create a columns accessor object of the appropriate type.
virtual SolvableVisJonesMColcalMainCol ()
 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< BooltotalSolnOk_p
 
   

Vector< FloattotalFit_p
Vector< FloattotalFitWgt_p
Array< BoolsolnOk_p
Array< Floatfit_p
Array< FloatfitWgt_p
Array< Boolflag_p
Array< Floatsnr_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

Detailed Description

SolvableVisJonesMBuf: SolvableVisJones calibration main table buffer.

Intended use:

Public interface

Prerequisite

Etymology

From "solvable visibility Jones matrix", "cal main table" and "buffer"

Synopsis

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.

Example

Motivation

Encapsulate SolvableVisJones calibration main table data buffers.

Definition at line 75 of file SolvableVJMBuf.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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<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]

Data field accessors.


Member Data Documentation

Definition at line 143 of file SolvableVJMBuf.h.

Definition at line 153 of file SolvableVJMBuf.h.

Definition at line 144 of file SolvableVJMBuf.h.

Definition at line 154 of file SolvableVJMBuf.h.

Definition at line 145 of file SolvableVJMBuf.h.

Definition at line 155 of file SolvableVJMBuf.h.

Definition at line 146 of file SolvableVJMBuf.h.

Definition at line 156 of file SolvableVJMBuf.h.

Definition at line 142 of file SolvableVJMBuf.h.

Definition at line 152 of file SolvableVJMBuf.h.

Definition at line 140 of file SolvableVJMBuf.h.

Definition at line 150 of file SolvableVJMBuf.h.

Definition at line 141 of file SolvableVJMBuf.h.

Definition at line 151 of file SolvableVJMBuf.h.

   

Buffer fields

Definition at line 139 of file SolvableVJMBuf.h.

Buffer field status flags.

Definition at line 149 of file SolvableVJMBuf.h.


The documentation for this class was generated from the following file: