casa::VisEquation Class Reference
[MeasurementEquations]

#include <VisEquation.h>

Collaboration diagram for casa::VisEquation:

Collaboration graph
[legend]
List of all members.

Detailed Description

Visibility Measurement Equation.

Intended use:

Part of API

Prerequisite

Etymology

Visibility Equation describes a model for measurements from a generic synthesis telescope

Synopsis

This is responsible for the Measurement Equation of the Generic Interferometer due to Hamaker, Bregman and Sault and later extended by Noordam, and Cornwell.

See MeasurementEquations for more details of the form of the VisEquation.

VisEquation provides the following:

Example

Motivation

VisEquation is part of a framework of classes that are designed for synthesis calibration and imaging. The others are the MeasurementComponents .

To Do

Definition at line 89 of file VisEquation.h.

Public Member Functions

 VisEquation ()
 Contructor.
 VisEquation (const VisEquation &other)
 Copy ctor.
virtual ~VisEquation ()
 Destructor.
VisEquationoperator= (const VisEquation &other)
 Assignment.
void setapply (PtrBlock< VisCal * > &vcin)
 Arrange for apply of a VisCal list (i.e., sort them into the correct order).
void setsolve (SolvableVisCal &svc)
 Arrange for solve of a single SolvableVisCal.
Bool spwOK (const Int &spw)
 Report if spw has solutions available from all applied tables.
void correct (VisBuffer &vb)
 Correct in place the OBSERVED visibilities in a VisBuffer with the apply-able VisCals.
void corrupt (VisBuffer &vb)
 Corrupt in place the MODEL visibilities in a VisBuffer with the apply-able VisCals.
void collapse (VisBuffer &vb)
 Correct/Corrupt in place the OBSERVED/MODEL visibilities in a VisBuffer with the apply-able VisCals on either side of the SolvableVisCal.
void residuals (VisBuffer &vb, Cube< Complex > &R, const Int &chan=-1)
 Calculate residuals (optionally for specific chan).
void diffResiduals (VisBuffer &vb, Cube< Complex > &R, Array< Complex > &dR, Matrix< Bool > &Rflg)
 Calculate residuals and differentiated residuals (optionally for specific chan).
void diffResiduals (VisBuffer &R, VisBuffer &dR0, VisBuffer &dR1, Matrix< Bool > &Rflg)
void state ()
 Report the VisEq's state.

Protected Member Functions

Bool ok ()
PtrBlock< VisCal * > & vc ()
 Access to the PB of apply terms.
SolvableVisCalsvc ()
 Access to SVC.
void setFreqDep ()
 Detect freq dependence along the Vis Equation.

Private Member Functions

Intprtlev ()
 Diagnostic print level access.

Private Attributes

PtrBlock< VisCal * > * vcpb_
 A local copy of the list of VisCal (pointers) for applying (No ownership responsibilities).
Int napp_
 Number of apply VisCals in vc_.
Int lfd_
 Frequency dependence indices.
Int rfd_
SolvableVisCalsvc_
 VisCal with solving interface (No ownership responsibilities).
Vector< BoolspwOK_
 SpwOK?
Int prtlev_
 Diagnostic print level.


Constructor & Destructor Documentation

casa::VisEquation::VisEquation (  ) 

Contructor.

casa::VisEquation::VisEquation ( const VisEquation other  ) 

Copy ctor.

virtual casa::VisEquation::~VisEquation (  )  [virtual]

Destructor.


Member Function Documentation

VisEquation& casa::VisEquation::operator= ( const VisEquation other  ) 

Assignment.

void casa::VisEquation::setapply ( PtrBlock< VisCal * > &  vcin  ) 

Arrange for apply of a VisCal list (i.e., sort them into the correct order).

void casa::VisEquation::setsolve ( SolvableVisCal svc  ) 

Arrange for solve of a single SolvableVisCal.

Bool casa::VisEquation::spwOK ( const Int spw  )  [inline]

Report if spw has solutions available from all applied tables.

Definition at line 111 of file VisEquation.h.

References napp_, spwOK_, and casa::True.

void casa::VisEquation::correct ( VisBuffer vb  ) 

Correct in place the OBSERVED visibilities in a VisBuffer with the apply-able VisCals.

void casa::VisEquation::corrupt ( VisBuffer vb  ) 

Corrupt in place the MODEL visibilities in a VisBuffer with the apply-able VisCals.

void casa::VisEquation::collapse ( VisBuffer vb  ) 

Correct/Corrupt in place the OBSERVED/MODEL visibilities in a VisBuffer with the apply-able VisCals on either side of the SolvableVisCal.

void casa::VisEquation::residuals ( VisBuffer vb,
Cube< Complex > &  R,
const Int chan = -1 
)

Calculate residuals (optionally for specific chan).

void casa::VisEquation::diffResiduals ( VisBuffer vb,
Cube< Complex > &  R,
Array< Complex > &  dR,
Matrix< Bool > &  Rflg 
)

Calculate residuals and differentiated residuals (optionally for specific chan).

void casa::VisEquation::diffResiduals ( VisBuffer R,
VisBuffer dR0,
VisBuffer dR1,
Matrix< Bool > &  Rflg 
)

void casa::VisEquation::state (  ) 

Report the VisEq's state.

Bool casa::VisEquation::ok (  )  [protected]

PtrBlock<VisCal*>& casa::VisEquation::vc (  )  [inline, protected]

Access to the PB of apply terms.

Definition at line 151 of file VisEquation.h.

References vcpb_.

SolvableVisCal& casa::VisEquation::svc (  )  [inline, protected]

Access to SVC.

Definition at line 154 of file VisEquation.h.

References svc_.

void casa::VisEquation::setFreqDep (  )  [protected]

Detect freq dependence along the Vis Equation.

Int& casa::VisEquation::prtlev (  )  [inline, private]

Diagnostic print level access.

Definition at line 162 of file VisEquation.h.


Member Data Documentation

PtrBlock<VisCal*>* casa::VisEquation::vcpb_ [private]

A local copy of the list of VisCal (pointers) for applying (No ownership responsibilities).

Definition at line 162 of file VisEquation.h.

Referenced by vc().

Int casa::VisEquation::napp_ [private]

Number of apply VisCals in vc_.

Definition at line 169 of file VisEquation.h.

Referenced by spwOK().

Int casa::VisEquation::lfd_ [private]

Frequency dependence indices.

Definition at line 172 of file VisEquation.h.

Int casa::VisEquation::rfd_ [private]

Definition at line 173 of file VisEquation.h.

SolvableVisCal* casa::VisEquation::svc_ [private]

VisCal with solving interface (No ownership responsibilities).

Definition at line 177 of file VisEquation.h.

Referenced by svc().

Vector<Bool> casa::VisEquation::spwOK_ [private]

SpwOK?

Definition at line 180 of file VisEquation.h.

Referenced by spwOK().

Int casa::VisEquation::prtlev_ [private]

Diagnostic print level.

Definition at line 183 of file VisEquation.h.


The documentation for this class was generated from the following file:
Generated on Mon Sep 1 22:48:07 2008 for NRAOCASA by  doxygen 1.5.1