casa
5.7.0-16
|
DDFunc: maps correlation A into func(A) More...
#include <DDMapper.h>
Public Types | |
typedef casacore::Float(* | FuncSignature )(const casacore::Complex &) |
Public Member Functions | |
DDFunc (FuncSignature fsig, const casacore::String &corr) | |
~DDFunc () | |
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::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... | |
Static Public Member Functions | |
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 | |
casacore::Int | icorr |
casacore::Stokes::StokesTypes | corrtype |
FuncSignature | func |
Protected Attributes inherited from casa::DDMapper | |
casacore::Bool | valid |
casacore::uShort | corrmask |
DDFunc: maps correlation A into func(A)
Internal
Definition at line 115 of file DDMapper.h.
typedef casacore::Float(* casa::DDFunc::FuncSignature)(const casacore::Complex &) |
Definition at line 118 of file DDMapper.h.
casa::DDFunc::DDFunc | ( | FuncSignature | fsig, |
const casacore::String & | corr | ||
) |
|
inline |
Definition at line 121 of file DDMapper.h.
|
static |
Static function to map a function name into a function pointer Functions currently recognized: ABS ARG NORM RE IM.
|
static |
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>
|
static |
|
virtual |
Maps a slice of visibilities at (*,ich,irow) from the given viscube into a the derived value.
Implements casa::DDMapper.
Reimplemented in casa::DDDiffFunc, casa::DDFuncDiff, casa::DDFuncSum, and casa::DDSumFunc.
|
static |
Define these functions, because using std::real/imag in getFunction matches multiple functions.
|
virtual |
Given a vector of correlation types, recomputes internal indices.
returns true if all indices were found successfully.
Implements casa::DDMapper.
Reimplemented in casa::DDSumFunc.
|
protected |
Definition at line 146 of file DDMapper.h.
|
protected |
Definition at line 147 of file DDMapper.h.
|
protected |
Definition at line 145 of file DDMapper.h.