28 #ifndef MSVIS_VISBUFFGROUPACC_H
29 #define MSVIS_VISBUFFGROUPACC_H
casacore::Bool prenorm_p
Pre-normalization flag.
void setTVIDebug(bool debug)
VisBuffGroupAcc & operator=(const VisBuffGroupAcc &)
void accumulate(const VisBuffer &vb)
Accumulate a VisBuffer.
casacore::Bool fillModel_p
void enforceAPonData(const casacore::String &apmode)
Make data amp- or phase-only.
casacore::uInt applyChanMask(std::map< casacore::Int, casacore::Vector< casacore::Bool > * > &chanmask)
Select channels in the accumulated buffers by flagging with the chanmask.
casacore::Int nAnt_p
Number of antennas, spw, fld, buffers.
casacore::Int nSpw() const
CalVisBuffer & operator()(const casacore::Int &buf)
Return reference to the indexed VisBuffer.
const casacore::Vector< casacore::Int > & outToInRow(const casacore::Int buf, const casacore::Bool hurl=true) const
Return a map from row numbers in the VisBuffer returned by the above operator()s to row numbers in th...
casacore::Int nFld() const
CalVisBuffer extends VisBuffer to support storage and recall of associated residual and differentiate...
void enforceSolveCorrWeights(const casacore::Bool phandonly=false)
Optionally set cross-hands weights to zero, so they are not used (e.g., for solving) subsequently...
~VisBuffGroupAcc()
Null destructor.
casacore::Double subinterval_p
Averaging interval.
casacore::Double & globalTimeStamp()
The global timestamp.
VisBuffGroupAcc()
Prohibit in-public null constructor, copy constructor and assignment.
static casacore::Bool fillChanMask(std::map< casacore::Int, casacore::Vector< casacore::Bool > * > &chanmask, const casacore::String &spwstr, const casacore::MeasurementSet &ms)
Setup chanmask from a spw:chan selection string and an MS.
casacore::Int nAnt() const
void finalizeAverage()
Finalize averaging, and return the result.
static void clearChanMask(std::map< casacore::Int, casacore::Vector< casacore::Bool > * > &chanmask)
Empties chanmask (which may have some newed elements).
bool Bool
Define the standard types used by Casacore.
A class to group separately averaged VisBuffers.
A drop-in replacement for Block<T*>.
A Table intended to hold astronomical data (a set of Measurements).
casacore::Int nBuf() const
How many separate VisBuffers are contained herein?
casacore::Matrix< casacore::Int > spwfldids_p
casacore::Map spw,fld to the buffer id
String: the storage and methods of handling collections of characters.
VisBuffers encapsulate one chunk of visibility data for processing.
casacore::PtrBlock< VisBuffAccumulator * > VBA_p
Averaging buffer (length = nSpw_p x nFld_p)
casacore::Double globalTimeStamp_p
Per-interval timestamp averaging.