casa
5.7.0-16
|
DDFuncDiff: maps two correlations A and B into func(A-B) More...
#include <DDMapper.h>
Public Member Functions | |
DDFuncDiff (FuncSignature fsig, const casacore::String &corr1, const casacore::String &corr2) | |
virtual | ~DDFuncDiff () |
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 DDMapper * | getMapper (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 |
DDFuncDiff: maps two correlations A and B into func(A-B)
Internal
Definition at line 185 of file DDMapper.h.
casa::DDFuncDiff::DDFuncDiff | ( | FuncSignature | fsig, |
const casacore::String & | corr1, | ||
const casacore::String & | corr2 | ||
) |
|
inlinevirtual |
Definition at line 189 of file DDMapper.h.
|
virtual |
Maps a slice of visibilities at (*,ich,irow) from the given viscube into a the derived value.
Reimplemented from casa::DDSumFunc.