casa
5.7.0-16
|
Abstract Derived casacore::Data Mapper class. More...
#include <DDMapper.h>
Public Member Functions | |
DDMapper () | |
virtual | ~DDMapper () |
virtual casacore::Bool | reset (const casacore::Vector< casacore::Int > &corr)=0 |
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 =0 |
Maps a slice of visibilities at (*,ich,irow) from the given viscube into a the derived value. More... | |
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::Bool | valid |
casacore::uShort | corrmask |
Abstract Derived casacore::Data Mapper class.
Internal
The DDMapper class defines an interface for mapping complex visibilities into casacore::Float derived values. DDMappers are used by several flagging agents.
A lot of algorithms are expressed in terms of some real value derived from a set of visibilities (i.e., |XX|, |XX|-|YY|, etc.). The DDMapper hierarchy provides a uniform interface for deriving such values.
Definition at line 62 of file DDMapper.h.
|
inline |
Definition at line 69 of file DDMapper.h.
References valid.
|
inlinevirtual |
Definition at line 70 of file DDMapper.h.
|
inline |
Returns the "mask" of correlations which are used by this mapper.
by this mapper. Bit "i" is set if corr. "i" is used.
Definition at line 82 of file DDMapper.h.
References corrmask.
|
inline |
|
pure virtual |
Maps a slice of visibilities at (*,ich,irow) from the given viscube into a the derived value.
Implemented in casa::DDDiffFunc, casa::DDFuncDiff, casa::DDFuncSum, casa::DDSumFunc, casa::DDFunc, and casa::DDDummy.
Referenced by casa::RFDataMapper::mapValue().
|
inline |
Returns true if given correlations is masked.
Definition at line 85 of file DDMapper.h.
References corrmask.
|
pure virtual |
Given a vector of correlation types, recomputes internal indices.
returns true if all indices were found successfully.
Implemented in casa::DDSumFunc, casa::DDFunc, and casa::DDDummy.
|
protected |
Definition at line 66 of file DDMapper.h.
Referenced by corrMask(), and masked().
|
protected |
Definition at line 65 of file DDMapper.h.
Referenced by DDMapper(), and isValid().