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

DDSumFunc: maps two correlations A and B into func(A)+func(B) More...

#include <DDMapper.h>

Inheritance diagram for casa::DDSumFunc:
casa::DDFunc casa::DDMapper casa::DDDiffFunc casa::DDFuncDiff casa::DDFuncSum

List of all members.

Public Member Functions

 DDSumFunc (FuncSignature fsig, const String &corr1, const String &corr2)
virtual ~DDSumFunc ()
virtual Bool reset (const Vector< Int > &corr)
 Given a vector of correlation types, recomputes internal indices.
virtual Float map (const Cube< Complex > &vis, uInt ich, uInt irow) const
 Maps a slice of visibilities at (*,ich,irow) from the given viscube into a the derived value.

Protected Attributes

Int icorr2
Stokes::StokesTypes corrtype2

Detailed Description

DDSumFunc: maps two correlations A and B into func(A)+func(B)

Intended use:

Internal

Definition at line 154 of file DDMapper.h.


Constructor & Destructor Documentation

casa::DDSumFunc::DDSumFunc ( FuncSignature  fsig,
const String corr1,
const String corr2 
)
virtual casa::DDSumFunc::~DDSumFunc ( ) [inline, virtual]

Definition at line 158 of file DDMapper.h.


Member Function Documentation

virtual Float casa::DDSumFunc::map ( const Cube< Complex > &  vis,
uInt  ich,
uInt  irow 
) const [virtual]

Maps a slice of visibilities at (*,ich,irow) from the given viscube into a the derived value.

Reimplemented from casa::DDFunc.

Reimplemented in casa::DDDiffFunc, casa::DDFuncDiff, and casa::DDFuncSum.

virtual Bool casa::DDSumFunc::reset ( const Vector< Int > &  corr) [virtual]

Given a vector of correlation types, recomputes internal indices.

returns True if all indices were found successfully.

Reimplemented from casa::DDFunc.


Member Data Documentation

Definition at line 165 of file DDMapper.h.

Definition at line 164 of file DDMapper.h.


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