casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
casa::DDDiffFunc Class Reference

DDDiffFunc: maps two correlations A and B into func(A)-func(B) More...

#include <DDMapper.h>

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

Public Member Functions

 DDDiffFunc (FuncSignature fsig, const casacore::String &corr1, const casacore::String &corr2)
 
virtual ~DDDiffFunc ()
 
virtual casacore::Float map (const casacore::Cube< casacore::Complex > &vis, casacore::uInt ich, casacore::uInt irow) const
 Maps a slice of visibilities at (*,ich,irow) from the given viscube into a the derived value. More...
 
- Public Member Functions inherited from casa::DDSumFunc
 DDSumFunc (FuncSignature fsig, const casacore::String &corr1, const casacore::String &corr2)
 
virtual ~DDSumFunc ()
 
virtual casacore::Bool reset (const casacore::Vector< casacore::Int > &corr)
 Given a vector of correlation types, recomputes internal indices. More...
 
- Public Member Functions inherited from casa::DDFunc
 DDFunc (FuncSignature fsig, const casacore::String &corr)
 
 ~DDFunc ()
 
- Public Member Functions inherited from casa::DDMapper
 DDMapper ()
 
virtual ~DDMapper ()
 
casacore::uShort corrMask () const
 Returns the "mask" of correlations which are used by this mapper. More...
 
casacore::Bool masked (casacore::uInt icorr) const
 Returns true if given correlations is masked. More...
 
casacore::Bool isValid ()
 Tells if mapper is valid. More...
 

Additional Inherited Members

- Public Types inherited from casa::DDFunc
typedef casacore::Float(* FuncSignature )(const casacore::Complex &)
 
- Static Public Member Functions inherited from casa::DDFunc
static casacore::Float real (const casacore::Complex &)
 Define these functions, because using std::real/imag in getFunction matches multiple functions. More...
 
static casacore::Float imag (const casacore::Complex &)
 
static FuncSignature getFunction (const casacore::String &name)
 Static function to map a function name into a function pointer Functions currently recognized: ABS ARG NORM RE IM. More...
 
static DDMappergetMapper (casacore::String &desc, const casacore::Vector< casacore::String > &expr, casacore::Bool throw_excp=false)
 Static function to map string expression into a DDMapper Possible syntax is: <FUNC> <CC> SUM <FUNC> <CC> <CC> DIFF <FUNC> <CC> <CC> <FUNC> SUM <CC> <CC> <FUNC> DIFF <CC> <CC> More...
 
- Protected Attributes inherited from casa::DDSumFunc
casacore::Int icorr2
 
casacore::Stokes::StokesTypes corrtype2
 
- Protected Attributes inherited from casa::DDFunc
casacore::Int icorr
 
casacore::Stokes::StokesTypes corrtype
 
FuncSignature func
 
- Protected Attributes inherited from casa::DDMapper
casacore::Bool valid
 
casacore::uShort corrmask
 

Detailed Description

DDDiffFunc: maps two correlations A and B into func(A)-func(B)

Intended use:

Internal

Definition at line 198 of file DDMapper.h.

Constructor & Destructor Documentation

casa::DDDiffFunc::DDDiffFunc ( FuncSignature  fsig,
const casacore::String corr1,
const casacore::String corr2 
)
virtual casa::DDDiffFunc::~DDDiffFunc ( )
inlinevirtual

Definition at line 202 of file DDMapper.h.

Member Function Documentation

virtual casacore::Float casa::DDDiffFunc::map ( const casacore::Cube< casacore::Complex > &  vis,
casacore::uInt  ich,
casacore::uInt  irow 
) const
virtual

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

Reimplemented from casa::DDSumFunc.


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