29 #ifndef CALIBRATION_CALINTPMATCH_H
30 #define CALIBRATION_CALINTPMATCH_H
virtual ~CalIntpMatch()
Destructor.
MatchType type_p
Index map type.
VisBuffer * vb_p
Pointer to the current VisBuffer.
casacore::Vector< casacore::Int > calRows(const casacore::Int &matchIndex, casacore::LogicalArray &calRowMask)
Return the calibration buffer rows (and equivalent row mask) associated with a given match index...
void setCalBuffer(CalMainBuffer &cb)
Set the current calibration buffer to be used in interpolation matches.
void reset()
Reset functions for the local index mappings.
casacore::Block< casacore::Vector< casacore::Int > > cbIndex_p
casacore::Map index assignment per calibration buffer row
void copy(const CalIntpMatch &other)
Common code for the assignment operator and the copy constructor.
casacore::Int matchOrAddKey(const casacore::Record &key)
Match index keys.
Custom mapping between arbitrary visibility and calibration selections.
casacore::Int matchIndex(const casacore::Int &row, const casacore::uInt &pos)
Return the match index for a given visibility buffer row and offset position (0,1) ...
void setVisBuffer(VisBuffer &vb)
Add a selection mapping (NYI) void add (const casacore::MSSelection& msIndex, const casacore::MSSelec...
CalIntpMatch: a class to hold calibration interpolation index maps.
ANTENNA_ID and SPECTRAL_WINDOW_ID to match identically.
casacore::Int indexDim_p
Index dimension (one for baseline-based calibration and two for antenna-based calibration).
virtual CalIntpMatch & operator=(const CalIntpMatch &other)
A hierarchical collection of named fields of various types.
casacore::Matrix< casacore::Int > vbIndex_p
casacore::Map index assignment per visibility buffer row
CalMainBuffer: Calibration main table buffer.
A drop-in replacement for Block<T*>.
CalIntpMatch(const MatchType &matchType=MATCHING_ANT_SPW, const casacore::uInt &indexDim=2)
Construct from an index match type and an index dimension.
CalMainBuffer * cb_p
Pointer to the current CalMainBuffer.
VisBuffers encapsulate one chunk of visibility data for processing.
MatchType
Basic interpolation index match type.
void setType(const MatchType &matchType, const casacore::uInt &indexDim)
Reset the mapping type.
casacore::PtrBlock< casacore::Record * > matchKeys_p
casacore::List of visibility and calibration match keys
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.