casa
5.7.0-16
|
DDSumFunc: maps two correlations A and B into func(A)+func(B) More...
#include <DDMapper.h>
Public Member Functions | |
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... | |
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::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... | |
Protected Attributes | |
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 |
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... | |
DDSumFunc: maps two correlations A and B into func(A)+func(B)
Internal
Definition at line 154 of file DDMapper.h.
casa::DDSumFunc::DDSumFunc | ( | FuncSignature | fsig, |
const casacore::String & | corr1, | ||
const casacore::String & | corr2 | ||
) |
|
inlinevirtual |
Definition at line 158 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::DDFunc.
Reimplemented in casa::DDDiffFunc, casa::DDFuncDiff, and casa::DDFuncSum.
|
virtual |
Given a vector of correlation types, recomputes internal indices.
returns true if all indices were found successfully.
Reimplemented from casa::DDFunc.
|
protected |
Definition at line 165 of file DDMapper.h.
|
protected |
Definition at line 164 of file DDMapper.h.