casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Friends | List of all members
casa::VisBuffer Class Reference

VisBuffers encapsulate one chunk of visibility data for processing. More...

#include <VisBuffer.h>

Inheritance diagram for casa::VisBuffer:
casa::CalVisBuffer casa::vi::VisBuffer2Adapter casa::VisBufferAsync casa::VisBufferAsyncWrapper

Public Member Functions

 VisBuffer ()
 Create empty VisBuffer you can assign to or attach. More...
 
 VisBuffer (ROVisibilityIterator &iter)
 Construct VisBuffer for a particular VisibilityIterator The buffer will remain synchronized with the iterator. More...
 
 VisBuffer (const VisBuffer &vb)
 Copy construct, looses synchronization with iterator: only use buffer for current iteration (or reattach). More...
 
virtual ~VisBuffer ()
 Destructor (detaches from VisIter) More...
 
virtual VisBufferoperator= (const VisBuffer &vb)
 Assignment, loses synchronization with iterator: only use buffer for current iteration (or reattach) More...
 
virtual VisBufferassign (const VisBuffer &vb, casacore::Bool copy=true)
 Assignment, optionally without copying the data across; with copy=true this is identical to normal assignment operator. More...
 
virtual VisBufferclone () const
 
VisBufferoperator-= (const VisBuffer &vb)
 subtraction: return the difference of the visibilities, flags of this and other are or-ed. More...
 
virtual void attachToVisIter (ROVisibilityIterator &iter)
 Attach to a VisIter. More...
 
virtual void detachFromVisIter ()
 
virtual void invalidate ()
 Invalidate the cache. More...
 
virtual casacore::IntnCorr ()
 Access functions. More...
 
virtual casacore::Int nCorr () const
 
virtual casacore::IntnChannel ()
 
virtual casacore::Int nChannel () const
 
virtual casacore::Vector
< casacore::Int > & 
channel ()
 
virtual const casacore::Vector
< casacore::Int > & 
channel () const
 
virtual casacore::IntnRow ()
 virtual casacore::Int & nCat() { return nCatOK_p ? nCat_p : fillnCat(); } virtual casacore::Int nCat() const { return This->nCat(); } More...
 
virtual casacore::Int nRow () const
 
virtual casacore::Int nRowChunk () const
 
virtual casacore::Vector
< casacore::Int > & 
antenna1 ()
 
virtual const casacore::Vector
< casacore::Int > & 
antenna1 () const
 
virtual casacore::Vector
< casacore::Int > & 
antenna2 ()
 
virtual const casacore::Vector
< casacore::Int > & 
antenna2 () const
 
virtual casacore::Vector
< casacore::Int > & 
feed1 ()
 
virtual const casacore::Vector
< casacore::Int > & 
feed1 () const
 
virtual casacore::Vector
< casacore::Int > & 
feed2 ()
 
virtual const casacore::Vector
< casacore::Int > & 
feed2 () const
 
virtual void dirtyComponentsAdd (const VbDirtyComponents &additionalDirtyComponents)
 
virtual void dirtyComponentsAdd (VisBufferComponents::EnumType component)
 
virtual void dirtyComponentsClear ()
 
virtual VbDirtyComponents dirtyComponentsGet () const
 
virtual void dirtyComponentsSet (const VbDirtyComponents &dirtyComponents)
 
virtual void dirtyComponentsSet (VisBufferComponents::EnumType component)
 
virtual casacore::Bool fetch (const asyncio::PrefetchColumns *pfc)
 
virtual casacore::Vector
< casacore::Float > & 
feed1_pa ()
 feed1_pa() and feed2_pa() return an array of parallactic angles (each corresponds to the first receptor of the feed) one for each row in the current buffer. More...
 
virtual const casacore::Vector
< casacore::Float > & 
feed1_pa () const
 
virtual casacore::Vector
< casacore::Float > & 
feed2_pa ()
 
virtual const casacore::Vector
< casacore::Float > & 
feed2_pa () const
 
virtual casacore::Vector
< casacore::SquareMatrix
< casacore::Complex, 2 > > & 
CJones ()
 
virtual const casacore::Vector
< casacore::SquareMatrix
< casacore::Complex, 2 > > & 
CJones () const
 
virtual casacore::Vector
< casacore::Float
feed_pa (casacore::Double time) const
 Note that feed_pa is a function instead of a cached value. More...
 
virtual casacore::Vector
< casacore::MDirection > & 
direction1 ()
 direction1() and direction2() return arrays of directions where the first and the second antenna/feed are pointed to. More...
 
virtual const casacore::Vector
< casacore::MDirection > & 
direction1 () const
 
virtual casacore::Vector
< casacore::MDirection > & 
direction2 ()
 
virtual const casacore::Vector
< casacore::MDirection > & 
direction2 () const
 
virtual casacore::MDirectionfirstDirection1 ()
 
virtual const
casacore::MDirection
firstDirection1 () const
 
virtual casacore::Float parang0 (casacore::Double time) const
 NOMINAL parallactic angle (feed p.a. More...
 
virtual casacore::Vector
< casacore::Float
parang (casacore::Double time) const
 
virtual casacore::MDirection azel0 (casacore::Double time) const
 Note that azel is a function instead of a cached value. More...
 
virtual casacore::Vector
< casacore::Double > & 
azel0Vec (casacore::Double time, casacore::Vector< casacore::Double > &azelVec) const
 
virtual casacore::Vector
< casacore::MDirection
azel (casacore::Double time) const
 
virtual casacore::Matrix
< casacore::Double > & 
azelMat (casacore::Double time, casacore::Matrix< casacore::Double > &azelMat) const
 
virtual casacore::Double hourang (casacore::Double time) const
 Hour angle for specified time. More...
 
virtual casacore::Int fieldId () const
 
virtual casacore::IntfieldIdRef ()
 
virtual casacore::IntarrayIdRef ()
 
virtual casacore::Int arrayId () const
 
virtual casacore::Matrix
< casacore::Bool > & 
flag ()
 Return flag for each channel & row. More...
 
virtual const casacore::Matrix
< casacore::Bool > & 
flag () const
 
virtual casacore::Cube
< casacore::Bool > & 
flagCube ()
 Return flag for each polarization, channel and row. More...
 
virtual const casacore::Cube
< casacore::Bool > & 
flagCube () const
 
virtual casacore::Vector
< casacore::Bool > & 
flagRow ()
 
virtual const casacore::Vector
< casacore::Bool > & 
flagRow () const
 
virtual casacore::Array
< casacore::Bool > & 
flagCategory ()
 Return flags for each polarization, channel, category, and row. More...
 
virtual const casacore::Array
< casacore::Bool > & 
flagCategory () const
 
virtual casacore::Vector
< casacore::Int > & 
scan ()
 
virtual const casacore::Vector
< casacore::Int > & 
scan () const
 
virtual casacore::Int scan0 ()
 scalar version for convenience, when scan known constant for entire iteration/buffer. More...
 
virtual casacore::Vector
< casacore::Int > & 
processorId ()
 
virtual const casacore::Vector
< casacore::Int > & 
processorId () const
 
virtual casacore::Vector
< casacore::Int > & 
observationId ()
 
virtual const casacore::Vector
< casacore::Int > & 
observationId () const
 
virtual casacore::Vector
< casacore::Int > & 
stateId ()
 
virtual const casacore::Vector
< casacore::Int > & 
stateId () const
 
virtual casacore::Vector
< casacore::Double > & 
frequency ()
 Gets SPECTRAL_WINDOW/CHAN_FREQ (in Hz, acc. More...
 
virtual const casacore::Vector
< casacore::Double > & 
frequency () const
 
virtual void lsrFrequency (const casacore::Int &spw, casacore::Vector< casacore::Double > &freq, casacore::Bool &convert, const casacore::Bool ignoreconv=false) const
 virtual casacore::Vector<casacore::Double>& lsrFrequency() { return lsrFrequencyOK_p ? lsrFrequency_p : fillLSRFreq(); } virtual const casacore::Vector<casacore::Double>& lsrFrequency() const { return This->lsrFrequency(); } More...
 
virtual casacore::Int numberCoh () const
 
virtual casacore::MDirectionphaseCenter ()
 
virtual casacore::MDirection phaseCenter () const
 
virtual const casacore::MDirection phaseCenter (const casacore::Int fieldId, const casacore::Double time=-1.0) const
 
virtual const casacore::MDirection phaseCenter (const casacore::Double time) const
 
virtual casacore::Int polFrame () const
 
virtual casacore::Vector
< casacore::Int > & 
corrType ()
 
virtual const casacore::Vector
< casacore::Int > & 
corrType () const
 
virtual casacore::Vector
< casacore::Float > & 
sigma ()
 
virtual const casacore::Vector
< casacore::Float > & 
sigma () const
 
virtual casacore::Matrix
< casacore::Float > & 
sigmaMat ()
 
virtual const casacore::Matrix
< casacore::Float > & 
sigmaMat () const
 
virtual casacore::IntspectralWindow ()
 
virtual casacore::Int spectralWindow () const
 
virtual casacore::Int polarizationId () const
 
virtual casacore::IntdataDescriptionIdRef ()
 
virtual casacore::Int dataDescriptionId () const
 
virtual casacore::Vector
< casacore::Double > & 
time ()
 
virtual const casacore::Vector
< casacore::Double > & 
time () const
 
virtual casacore::Vector
< casacore::Double > & 
timeCentroid ()
 
virtual const casacore::Vector
< casacore::Double > & 
timeCentroid () const
 
virtual casacore::Vector
< casacore::Double > & 
timeInterval ()
 
virtual const casacore::Vector
< casacore::Double > & 
timeInterval () const
 
virtual casacore::Vector
< casacore::Double > & 
exposure ()
 
virtual const casacore::Vector
< casacore::Double > & 
exposure () const
 
virtual casacore::Vector
< casacore::RigidVector
< casacore::Double, 3 > > & 
uvw ()
 
virtual const casacore::Vector
< casacore::RigidVector
< casacore::Double, 3 > > & 
uvw () const
 
virtual casacore::Matrix
< casacore::Double > & 
uvwMat ()
 
virtual const casacore::Matrix
< casacore::Double > & 
uvwMat () const
 
virtual casacore::Matrix
< CStokesVector > & 
visibility ()
 
virtual const casacore::Matrix
< CStokesVector > & 
visibility () const
 
virtual casacore::Matrix
< CStokesVector > & 
modelVisibility ()
 
virtual const casacore::Matrix
< CStokesVector > & 
modelVisibility () const
 
virtual casacore::Matrix
< CStokesVector > & 
correctedVisibility ()
 
virtual const casacore::Matrix
< CStokesVector > & 
correctedVisibility () const
 
virtual casacore::Cube
< casacore::Complex > & 
visCube ()
 
virtual const casacore::Cube
< casacore::Complex > & 
visCube () const
 
virtual casacore::Cube
< casacore::Complex > & 
modelVisCube ()
 
virtual casacore::Cube
< casacore::Complex > & 
modelVisCube (const casacore::Bool &matchVisCubeShape)
 
virtual const casacore::Cube
< casacore::Complex > & 
modelVisCube () const
 
virtual casacore::Cube
< casacore::Complex > & 
correctedVisCube ()
 
virtual const casacore::Cube
< casacore::Complex > & 
correctedVisCube () const
 
casacore::Cube
< casacore::Complex > & 
dataCube (const casacore::MS::PredefinedColumns whichcol=casacore::MS::DATA)
 Return visCube(), modelVisCube(), or correctedVisCube(), according to whichcol. More...
 
const casacore::Cube
< casacore::Complex > & 
dataCube (const casacore::MS::PredefinedColumns whichcol=casacore::MS::DATA) const
 
virtual casacore::Cube
< casacore::Float > & 
floatDataCube ()
 
virtual const casacore::Cube
< casacore::Float > & 
floatDataCube () const
 
virtual casacore::Vector
< casacore::Float > & 
weight ()
 Returns the weights for each row averaged over the parallel hand correlations. More...
 
virtual const casacore::Vector
< casacore::Float > & 
weight () const
 
virtual casacore::Matrix
< casacore::Float > & 
weightMat ()
 Returns the nPol_p x curNumRow_p weight matrix. More...
 
virtual const casacore::Matrix
< casacore::Float > & 
weightMat () const
 
virtual casacore::Bool existsWeightSpectrum () const
 Is a valid WEIGHT_SPECTRUM available? More...
 
virtual casacore::Cube
< casacore::Float > & 
weightSpectrum ()
 
virtual const casacore::Cube
< casacore::Float > & 
weightSpectrum () const
 
virtual casacore::Matrix
< casacore::Float > & 
imagingWeight ()
 
virtual const casacore::Matrix
< casacore::Float > & 
imagingWeight () const
 
virtual casacore::Cube
< casacore::Float > & 
weightCube ()
 virtual casacore::Matrix<casacore::Float>& imagingWeight() { return imagingWeightOK_p ? imagingWeight_p : fillImagingWeight(); } virtual const casacore::Matrix<casacore::Float>& imagingWeight() const { return This->imagingWeight(); } More...
 
virtual casacore::Vector
< casacore::Int
vecIntRange (const MSCalEnums::colDef &calEnum) const
 Utility functions to provide coordinate or column ranges of the data in the VisBuffer. More...
 
virtual casacore::Vector
< casacore::Int
antIdRange () const
 Antenna id. More...
 
virtual casacore::Bool timeRange (casacore::MEpoch &rTime, casacore::MVEpoch &rTimeEP, casacore::MVEpoch &rInterval) const
 casacore::Time range More...
 
virtual casacore::Vector
< casacore::uInt > & 
rowIds ()
 Return the row Ids from the original ms. More...
 
virtual const casacore::Vector
< casacore::uInt > & 
rowIds () const
 
virtual void freqAverage ()
 Frequency average the buffer (visibility() column only) More...
 
void freqAveCubes ()
 Frequency average the buffer (visCube and [if present] modelVisCube) More...
 
void channelAve (const casacore::Matrix< casacore::Int > &chanavebounds, casacore::Bool calmode=true)
 Average channel axis according to chanavebounds, for whichever of DATA, MODEL_DATA, CORRECTED_DATA, FLOAT_DATA, FLAG, and WEIGHT_SPECTRUM are present. More...
 
template<class T >
void chanAveVisCube (casacore::Cube< T > &data, casacore::Int nChanOut)
 Average channel axis by factor. More...
 
template<class T >
void chanAccCube (casacore::Cube< T > &data, casacore::Int nChanOut)
 Accumulate channel axis by factor, without applying WEIGHT_SPECTRUM even if it is present. More...
 
virtual void chanAveFlagCube (casacore::Cube< casacore::Bool > &flagcube, const casacore::Int nChanOut, const casacore::Bool restoreWeightSpectrum=true)
 This defaults to no conceptual side effects, but usually it is more efficient to let it leave weightSpectrum() in a channel averaged state. More...
 
void chanAveFlagCategory (casacore::Array< casacore::Bool > &flagcat, const casacore::Int nChanOut)
 Doesn't do anything if flagcat is degenerate. More...
 
virtual void formStokes ()
 Form casacore::Stokes parameters from correlations (these are preliminary versions) More...
 
virtual void formStokesWeightandFlag ()
 
virtual void formStokes (casacore::Cube< casacore::Complex > &vis)
 
virtual void formStokes (casacore::Cube< casacore::Float > &fcube)
 
virtual void sortCorr ()
 casacore::Sort/unsort the correlations, if necessary (Rudimentary handling of non-canonically sorted correlations–use with care!) More...
 
virtual void unSortCorr ()
 
virtual void normalize (const casacore::Bool &phaseOnly=false)
 Normalize the visCube by the modelVisCube (and optionally also divide visCube_p by its normalized amp) More...
 
virtual void resetWeightMat ()
 Fill weightMat according to sigma column. More...
 
virtual void phaseCenterShift (const casacore::Vector< casacore::Double > &phase)
 Rotate visibility phase for given vector (dim = nrow of vb) of phases (metres) More...
 
virtual void phaseCenterShift (casacore::Double dx, casacore::Double dy)
 Rotate visibility phase for phase center offsets (arcsecs) More...
 
virtual void updateCoordInfo (const VisBuffer *vb=NULL, const casacore::Bool dirDependent=true)
 Update coordinate info - useful for copied VisBuffers that need to retain some state for later reference. More...
 
void copyCoordInfo (const VisBuffer &other, casacore::Bool force=false)
 
virtual void setVisCube (casacore::Complex c)
 Set the visibility to a constant, note that this only changes the buffer, no values are written back to tables from here. More...
 
virtual void setModelVisCube (casacore::Complex c)
 
virtual void setCorrectedVisCube (casacore::Complex c)
 
virtual void setVisCube (const casacore::Cube< casacore::Complex > &vis)
 Set the visibility, note that this only changes the buffer, no values are written back to tables from here. More...
 
virtual void setModelVisCube (const casacore::Cube< casacore::Complex > &vis)
 
virtual void setCorrectedVisCube (const casacore::Cube< casacore::Complex > &vis)
 
virtual void setFloatDataCube (const casacore::Cube< casacore::Float > &fcube)
 Like the above, but for FLOAT_DATA, keeping it as real floats. More...
 
virtual void setModelVisCube (const casacore::Vector< casacore::Float > &stokes)
 Set model according to a casacore::Stokes vector. More...
 
virtual void refModelVis (const casacore::Matrix< CStokesVector > &mvis)
 Reference external model visibilities. More...
 
virtual void removeScratchCols ()
 Remove scratch cols data from vb. More...
 
virtual const
casacore::ROMSColumns
msColumns () const
 Access the current casacore::ROMSColumns object via VisIter. More...
 
virtual casacore::Int numberAnt () const
 
virtual void allSelectedSpectralWindows (casacore::Vector< casacore::Int > &spws, casacore::Vector< casacore::Int > &nvischan)
 Get all selected spectral windows not just the one in the actual buffer. More...
 
virtual void getChannelSelection (casacore::Block< casacore::Vector< casacore::Int > > &blockNGroup, casacore::Block< casacore::Vector< casacore::Int > > &blockStart, casacore::Block< casacore::Vector< casacore::Int > > &blockWidth, casacore::Block< casacore::Vector< casacore::Int > > &blockIncr, casacore::Block< casacore::Vector< casacore::Int > > &blockSpw) const
 
void allSelectedSpectralWindows (casacore::Vector< casacore::Int > &spws, casacore::Vector< casacore::Int > &nvischan) const
 
virtual casacore::Int msId () const
 Return the actual msid, useful if using multiple ms to monitor which ms in the list is being dealt with. More...
 
virtual casacore::Bool newMS () const
 checked if the ms has changed since the last chunk processed More...
 
virtual casacore::String msName (casacore::Bool stripPath=false) const
 get the name of the ms the buffer is at empty string if no visiter is attached More...
 
virtual casacore::Bool newArrayId () const
 
virtual casacore::Bool newFieldId () const
 
virtual casacore::Bool newSpectralWindow () const
 

Protected Member Functions

virtual casacore::Bool checkMSId ()
 
virtual void checkVisIter (const char *func, const char *file, int line, const char *extra="") const
 
virtual void copyCache (const VisBuffer &other, casacore::Bool force)
 
virtual void copyMsInfo (casacore::Int &msID, casacore::Bool &MsOk_p, casacore::Bool &newMs) const
 
virtual const casacore::Matrix
< casacore::Float > & 
imagingWeight (const VisImagingWeight &weightGenerator) const
 
virtual casacore::Int getOldMsId () const
 
virtual ROVisibilityIteratorgetVisibilityIterator () const
 
template<typename Coord >
void updateCoord (const VisBuffer *other, casacore::Bool otherOk, const Coord &(VisBuffer::*getCoord)() const, Coord &coord, casacore::Bool &coordOk)
 
template<typename Scalar >
void updateCoordS (const VisBuffer *other, casacore::Bool otherOk, Scalar(VisBuffer::*getCoord)() const, Scalar &coord, casacore::Bool &coordOk)
 

Private Member Functions

virtual void validate ()
 validate the cache More...
 
void checkVisIterBase (const char *func, const char *file, int line, const char *extra="") const
 
virtual void setAllCacheStatuses (bool status)
 
virtual casacore::Bool nonCanonCorr ()
 
virtual casacore::Vector
< casacore::Int
unique (const casacore::Vector< casacore::Int > &indices) const
 Filter index arrays for unique elements. More...
 
virtual casacore::Vector
< casacore::Int > & 
fillAnt1 ()
 +----------------------------------------------—+ | Cache Declarations (fillers, statuses and data) | +----------------------------------------------—+ More...
 
virtual casacore::Vector
< casacore::Int > & 
fillAnt2 ()
 
virtual casacore::IntfillArrayId ()
 
virtual casacore::Vector
< casacore::Int > & 
fillChannel ()
 virtual casacore::Matrix<casacore::Int>& fillChanAveBounds(); More...
 
virtual casacore::Vector
< casacore::SquareMatrix
< casacore::Complex, 2 > > & 
fillCjones ()
 
virtual casacore::Vector
< casacore::Int > & 
fillCorrType ()
 
virtual casacore::IntfillDataDescriptionId ()
 
virtual casacore::Vector
< casacore::MDirection > & 
fillDirection1 ()
 
virtual casacore::MDirectionfillFirstDirection1 ()
 
virtual casacore::Vector
< casacore::MDirection > & 
fillDirection2 ()
 
virtual casacore::Vector
< casacore::Double > & 
fillExposure ()
 
virtual casacore::Vector
< casacore::Int > & 
fillFeed1 ()
 
virtual casacore::Vector
< casacore::Float > & 
fillFeed1_pa ()
 
virtual casacore::Vector
< casacore::Int > & 
fillFeed2 ()
 
virtual casacore::Vector
< casacore::Float > & 
fillFeed2_pa ()
 
virtual casacore::IntfillFieldId ()
 
virtual casacore::Matrix
< casacore::Bool > & 
fillFlag ()
 
virtual casacore::Array
< casacore::Bool > & 
fillFlagCategory ()
 
virtual casacore::Cube
< casacore::Bool > & 
fillFlagCube ()
 
virtual casacore::Vector
< casacore::Bool > & 
fillFlagRow ()
 
virtual casacore::Cube
< casacore::Float > & 
fillFloatDataCube ()
 
virtual casacore::Vector
< casacore::Double > & 
fillFreq ()
 
virtual casacore::IntfillnChannel ()
 virtual casacore::Matrix<casacore::Float>& fillImagingWeight(); virtual casacore::Vector<casacore::Double>& fillLSRFreq(); More...
 
virtual casacore::IntfillnCorr ()
 
virtual casacore::IntfillnRow ()
 virtual casacore::Int & fillnCat(); More...
 
virtual casacore::Vector
< casacore::Int > & 
fillObservationId ()
 
virtual casacore::MDirectionfillPhaseCenter ()
 
virtual casacore::IntfillPolFrame ()
 
virtual casacore::Vector
< casacore::Int > & 
fillProcessorId ()
 
virtual casacore::Vector
< casacore::Int > & 
fillScan ()
 
virtual casacore::Vector
< casacore::Float > & 
fillSigma ()
 
virtual casacore::Matrix
< casacore::Float > & 
fillSigmaMat ()
 
virtual casacore::IntfillSpW ()
 
virtual casacore::Vector
< casacore::Int > & 
fillStateId ()
 
virtual casacore::Vector
< casacore::Double > & 
fillTime ()
 
virtual casacore::Vector
< casacore::Double > & 
fillTimeCentroid ()
 
virtual casacore::Vector
< casacore::Double > & 
fillTimeInterval ()
 
virtual casacore::Vector
< casacore::RigidVector
< casacore::Double, 3 > > & 
filluvw ()
 
virtual casacore::Matrix
< casacore::Double > & 
filluvwMat ()
 
virtual casacore::Matrix
< CStokesVector > & 
fillVis (VisibilityIterator::DataColumn whichOne)
 
virtual casacore::Cube
< casacore::Complex > & 
fillVisCube (VisibilityIterator::DataColumn whichOne)
 
virtual casacore::Vector
< casacore::Float > & 
fillWeight ()
 
virtual casacore::Matrix
< casacore::Float > & 
fillWeightMat ()
 
virtual casacore::Cube
< casacore::Float > & 
fillWeightSpectrum ()
 
 CacheStatus (antenna1)
 Define the cache statuses. More...
 
 CacheStatus (antenna2)
 
 CacheStatus (arrayId)
 
 CacheStatus (channel)
 
 CacheStatus (cjones)
 
 CacheStatus (correctedVisCube)
 
 CacheStatus (correctedVisibility)
 
 CacheStatus (corrType)
 
 CacheStatus (dataDescriptionId)
 
 CacheStatus (direction1)
 
 CacheStatus (direction2)
 
 CacheStatus (firstDirection1)
 
 CacheStatus (exposure)
 
 CacheStatus (feed1_pa)
 
 CacheStatus (feed1)
 
 CacheStatus (feed2_pa)
 
 CacheStatus (feed2)
 
 CacheStatus (fieldId)
 
 CacheStatus (flagCategory)
 
 CacheStatus (flagCube)
 
 CacheStatus (flag)
 
 CacheStatus (flagRow)
 
 CacheStatus (floatDataCube)
 
 CacheStatus (frequency)
 
 CacheStatus (imagingWeight)
 
 CacheStatus (modelVisCube)
 
 CacheStatus (modelVisibility)
 
 CacheStatus (ms)
 
 CacheStatus (nChannel)
 
 CacheStatus (nCorr)
 
 CacheStatus (nRow)
 
 CacheStatus (observationId)
 
 CacheStatus (phaseCenter)
 
 CacheStatus (polFrame)
 
 CacheStatus (processorId)
 
 CacheStatus (rowIds)
 
 CacheStatus (scan)
 
 CacheStatus (sigmaMat)
 
 CacheStatus (sigma)
 
 CacheStatus (spectralWindow)
 
 CacheStatus (stateId)
 
 CacheStatus (timeCentroid)
 
 CacheStatus (timeInterval)
 
 CacheStatus (time)
 
 CacheStatus (uvwMat)
 
 CacheStatus (uvw)
 
 CacheStatus (visCube)
 
 CacheStatus (visibility)
 
 CacheStatus (weightMat)
 
 CacheStatus (weight)
 
 CacheStatus (weightSpectrum)
 

Static Private Member Functions

template<typename T >
static void cacheCopyArray (casacore::Bool &newStatus, casacore::Bool oldStatus, T &newCache, const VisBuffer &other, const T &(VisBuffer::*oldCache)() const, casacore::Bool force)
 
template<typename T >
static void cacheCopyNormal (casacore::Bool &newStatus, casacore::Bool oldStatus, T &newCache, const VisBuffer &other, T(VisBuffer::*oldCache)() const, casacore::Bool force)
 

Private Attributes

casacore::Bool corrSorted_p
 
VbDirtyComponents dirtyComponents_p
 
casacore::Int lastPointTableRow_p
 
casacore::Int oldMSId_p
 
VisBufferThis
 
casacore::Bool twoWayConnection_p
 
ROVisibilityIteratorvisIter_p
 
casacore::CountedPtr
< VisModelDataI
visModelData_p
 
casacore::Bool newMS_p
 
casacore::Vector< casacore::Intantenna1_p
 Cached values (alphabetical order) More...
 
casacore::Vector< casacore::Intantenna2_p
 
casacore::Int arrayId_p
 
casacore::Matrix< casacore::IntchanAveBounds_p
 
casacore::Vector< casacore::Intchannel_p
 
casacore::Vector
< casacore::SquareMatrix
< casacore::Complex, 2 > > 
cjones_p
 
casacore::Cube< casacore::Complex > correctedVisCube_p
 
casacore::Matrix< CStokesVectorcorrectedVisibility_p
 
casacore::Vector< casacore::IntcorrType_p
 
casacore::Int dataDescriptionId_p
 
casacore::Vector
< casacore::MDirection
direction1_p
 
casacore::Vector
< casacore::MDirection
direction2_p
 
casacore::MDirection firstDirection1_p
 
casacore::Vector
< casacore::Double
exposure_p
 
casacore::Vector< casacore::Intfeed1_p
 
casacore::Vector< casacore::Floatfeed1_pa_p
 
casacore::Vector< casacore::Intfeed2_p
 
casacore::Vector< casacore::Floatfeed2_pa_p
 
casacore::Int fieldId_p
 
casacore::Matrix< casacore::Boolflag_p
 
casacore::Array< casacore::BoolflagCategory_p
 
casacore::Cube< casacore::BoolflagCube_p
 
casacore::Vector< casacore::BoolflagRow_p
 
casacore::Cube< casacore::FloatfloatDataCube_p
 
casacore::Vector
< casacore::Double
frequency_p
 
casacore::Matrix< casacore::FloatimagingWeight_p
 
casacore::Cube< casacore::Complex > modelVisCube_p
 casacore::Vector<casacore::Double> lsrFrequency_p; More...
 
casacore::Matrix< CStokesVectormodelVisibility_p
 
casacore::Int nChannel_p
 
casacore::Int nCorr_p
 
casacore::Int nRow_p
 casacore::Int nCat_p; More...
 
casacore::Vector< casacore::IntobservationId_p
 
casacore::MDirection phaseCenter_p
 
casacore::Int polFrame_p
 
casacore::Vector< casacore::IntprocessorId_p
 
casacore::Vector< casacore::uIntrowIds_p
 
casacore::Vector< casacore::Intscan_p
 
casacore::Vector< casacore::Floatsigma_p
 
casacore::Matrix< casacore::FloatsigmaMat_p
 
casacore::Int spectralWindow_p
 
casacore::Vector< casacore::IntstateId_p
 
casacore::Vector
< casacore::Double
time_p
 
casacore::Vector
< casacore::Double
timeCentroid_p
 
casacore::Vector
< casacore::Double
timeInterval_p
 
casacore::Vector
< casacore::RigidVector
< casacore::Double, 3 > > 
uvw_p
 
casacore::Matrix
< casacore::Double
uvwMat_p
 
casacore::Cube< casacore::Complex > visCube_p
 
casacore::Matrix< CStokesVectorvisibility_p
 
casacore::Vector< casacore::Floatweight_p
 
casacore::Cube< casacore::FloatweightCube_p
 
casacore::Matrix< casacore::FloatweightMat_p
 
casacore::Cube< casacore::FloatweightSpectrum_p
 

Friends

class asyncio::VLAT
 
class VisBufferAsync
 
class VisBufferAsyncWrapper
 
class ViReadImplAsync
 
class SIMapperCollection
 
class VisModelData
 

Detailed Description

VisBuffers encapsulate one chunk of visibility data for processing.

Intended use:

Public interface

Prerequisite

Etymology

VisBuffer is a buffer for visibility data

Synopsis

This class contains 'one iteration' of the VisibilityIterator It is a modifiable buffer of values to which calibration and averaging can be applied. This allows processing of the data in larger blocks, avoiding some overheads for processing per visibility point or spectrum.

See MeasurementEquations for more details on how the VisBuffer is to be used.

When the user intends to allow asynchronous I/O they will need to use the VisBufferAsync and VisBufferAsyncWrapper classes; these are publicly derived from VisBuffer. Normally, the user should not explicitly use these classes but should use the helper class VisBufferAutoPtr which will ensure that the appropriate class is used.

To Do

Definition at line 153 of file VisBuffer.h.

Constructor & Destructor Documentation

casa::VisBuffer::VisBuffer ( )

Create empty VisBuffer you can assign to or attach.

casa::VisBuffer::VisBuffer ( ROVisibilityIterator iter)

Construct VisBuffer for a particular VisibilityIterator The buffer will remain synchronized with the iterator.

casa::VisBuffer::VisBuffer ( const VisBuffer vb)

Copy construct, looses synchronization with iterator: only use buffer for current iteration (or reattach).

virtual casa::VisBuffer::~VisBuffer ( )
virtual

Destructor (detaches from VisIter)

Member Function Documentation

virtual void casa::VisBuffer::allSelectedSpectralWindows ( casacore::Vector< casacore::Int > &  spws,
casacore::Vector< casacore::Int > &  nvischan 
)
inlinevirtual

Get all selected spectral windows not just the one in the actual buffer.

Reimplemented in casa::vi::VisBuffer2Adapter, casa::VisBufferAsyncWrapper, and casa::VisBufferAsync.

Definition at line 794 of file VisBuffer.h.

References casa::ROVisibilityIterator::allSelectedSpectralWindows(), and visIter_p.

Referenced by allSelectedSpectralWindows().

void casa::VisBuffer::allSelectedSpectralWindows ( casacore::Vector< casacore::Int > &  spws,
casacore::Vector< casacore::Int > &  nvischan 
) const
inline

Definition at line 805 of file VisBuffer.h.

References allSelectedSpectralWindows(), and This.

virtual casacore::Vector<casacore::Int>& casa::VisBuffer::antenna1 ( void  )
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 254 of file VisBuffer.h.

References antenna1_p, and fillAnt1().

Referenced by antenna1().

virtual const casacore::Vector<casacore::Int>& casa::VisBuffer::antenna1 ( void  ) const
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 257 of file VisBuffer.h.

References antenna1(), and This.

virtual casacore::Vector<casacore::Int>& casa::VisBuffer::antenna2 ( void  )
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 261 of file VisBuffer.h.

References antenna2_p, and fillAnt2().

Referenced by antenna2().

virtual const casacore::Vector<casacore::Int>& casa::VisBuffer::antenna2 ( void  ) const
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 264 of file VisBuffer.h.

References antenna2(), and This.

virtual casacore::Vector<casacore::Int> casa::VisBuffer::antIdRange ( ) const
virtual

Antenna id.

range (includes both ANTENNA1 and ANTENNA2 columns)

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

virtual casacore::Int casa::VisBuffer::arrayId ( ) const
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 370 of file VisBuffer.h.

References arrayId_p, fillArrayId(), and This.

virtual casacore::Int& casa::VisBuffer::arrayIdRef ( )
inlinevirtual

Reimplemented in casa::vi::VisBuffer2Adapter.

Definition at line 366 of file VisBuffer.h.

References arrayId_p, fillArrayId(), and This.

virtual VisBuffer& casa::VisBuffer::assign ( const VisBuffer vb,
casacore::Bool  copy = true 
)
virtual

Assignment, optionally without copying the data across; with copy=true this is identical to normal assignment operator.

Reimplemented in casa::VisBufferAsyncWrapper, casa::CalVisBuffer, casa::vi::VisBuffer2Adapter, and casa::VisBufferAsync.

virtual void casa::VisBuffer::attachToVisIter ( ROVisibilityIterator iter)
virtual

Attach to a VisIter.

Detaches itself first if already attached to a VisIter. Will remain synchronized with iterator.

Reimplemented in casa::VisBufferAsyncWrapper, and casa::VisBufferAsync.

virtual casacore::Vector<casacore::MDirection> casa::VisBuffer::azel ( casacore::Double  time) const
virtual
virtual casacore::MDirection casa::VisBuffer::azel0 ( casacore::Double  time) const
virtual

Note that azel is a function instead of a cached value.

Reimplemented in casa::VisBufferAsyncWrapper, casa::vi::VisBuffer2Adapter, and casa::VisBufferAsync.

virtual casacore::Vector<casacore::Double>& casa::VisBuffer::azel0Vec ( casacore::Double  time,
casacore::Vector< casacore::Double > &  azelVec 
) const
virtual
virtual casacore::Matrix<casacore::Double>& casa::VisBuffer::azelMat ( casacore::Double  time,
casacore::Matrix< casacore::Double > &  azelMat 
) const
virtual
template<typename T >
static void casa::VisBuffer::cacheCopyArray ( casacore::Bool newStatus,
casacore::Bool  oldStatus,
T &  newCache,
const VisBuffer other,
const T &(VisBuffer::*)() const  oldCache,
casacore::Bool  force 
)
inlinestaticprivate

Leave things unchanged if the old status is false. This will often leave the value with an empty data structure and an OK status which is needed in many cases.

For copying casacore::Array<T> derived objects since the assign operator doesn't work for these.

Definition at line 882 of file VisBuffer.h.

template<typename T >
static void casa::VisBuffer::cacheCopyNormal ( casacore::Bool newStatus,
casacore::Bool  oldStatus,
T &  newCache,
const VisBuffer other,
T(VisBuffer::*)() const  oldCache,
casacore::Bool  force 
)
inlinestaticprivate

Leave things unchanged if the old status is false. This will often leave the value with an empty data structure and an OK status which is needed in many cases.

For copying "normal" cache status and values. casacore::Normal means the assign operator works (which it doesn't for classes based on casacore::Array<T>)

Definition at line 904 of file VisBuffer.h.

casa::VisBuffer::CacheStatus ( antenna1  )
private

Define the cache statuses.

For example, CacheStatus (antenna1) defines:

virtual casacore::Bool antenna1OK () const { return antenna1OK_p;}

and

casacore::Bool antenna1OK_p;

casa::VisBuffer::CacheStatus ( antenna2  )
private
casa::VisBuffer::CacheStatus ( arrayId  )
private
casa::VisBuffer::CacheStatus ( channel  )
private
casa::VisBuffer::CacheStatus ( cjones  )
private
casa::VisBuffer::CacheStatus ( correctedVisCube  )
private
casa::VisBuffer::CacheStatus ( correctedVisibility  )
private
casa::VisBuffer::CacheStatus ( corrType  )
private
casa::VisBuffer::CacheStatus ( dataDescriptionId  )
private
casa::VisBuffer::CacheStatus ( direction1  )
private
casa::VisBuffer::CacheStatus ( direction2  )
private
casa::VisBuffer::CacheStatus ( firstDirection1  )
private
casa::VisBuffer::CacheStatus ( exposure  )
private
casa::VisBuffer::CacheStatus ( feed1_pa  )
private
casa::VisBuffer::CacheStatus ( feed1  )
private
casa::VisBuffer::CacheStatus ( feed2_pa  )
private
casa::VisBuffer::CacheStatus ( feed2  )
private
casa::VisBuffer::CacheStatus ( fieldId  )
private
casa::VisBuffer::CacheStatus ( flagCategory  )
private
casa::VisBuffer::CacheStatus ( flagCube  )
private
casa::VisBuffer::CacheStatus ( flag  )
private
casa::VisBuffer::CacheStatus ( flagRow  )
private
casa::VisBuffer::CacheStatus ( floatDataCube  )
private
casa::VisBuffer::CacheStatus ( frequency  )
private
casa::VisBuffer::CacheStatus ( imagingWeight  )
private
casa::VisBuffer::CacheStatus ( modelVisCube  )
private
casa::VisBuffer::CacheStatus ( modelVisibility  )
private
casa::VisBuffer::CacheStatus ( ms  )
private
casa::VisBuffer::CacheStatus ( nChannel  )
private
casa::VisBuffer::CacheStatus ( nCorr  )
private
casa::VisBuffer::CacheStatus ( nRow  )
private
casa::VisBuffer::CacheStatus ( observationId  )
private
casa::VisBuffer::CacheStatus ( phaseCenter  )
private
casa::VisBuffer::CacheStatus ( polFrame  )
private
casa::VisBuffer::CacheStatus ( processorId  )
private
casa::VisBuffer::CacheStatus ( rowIds  )
private
casa::VisBuffer::CacheStatus ( scan  )
private
casa::VisBuffer::CacheStatus ( sigmaMat  )
private
casa::VisBuffer::CacheStatus ( sigma  )
private
casa::VisBuffer::CacheStatus ( spectralWindow  )
private
casa::VisBuffer::CacheStatus ( stateId  )
private
casa::VisBuffer::CacheStatus ( timeCentroid  )
private
casa::VisBuffer::CacheStatus ( timeInterval  )
private
casa::VisBuffer::CacheStatus ( time  )
private
casa::VisBuffer::CacheStatus ( uvwMat  )
private
casa::VisBuffer::CacheStatus ( uvw  )
private
casa::VisBuffer::CacheStatus ( visCube  )
private
casa::VisBuffer::CacheStatus ( visibility  )
private
casa::VisBuffer::CacheStatus ( weightMat  )
private
casa::VisBuffer::CacheStatus ( weight  )
private
casa::VisBuffer::CacheStatus ( weightSpectrum  )
private
template<class T >
void casa::VisBuffer::chanAccCube ( casacore::Cube< T > &  data,
casacore::Int  nChanOut 
)

Accumulate channel axis by factor, without applying WEIGHT_SPECTRUM even if it is present.

It is primarily intended for averaging WEIGHT_SPECTRUM itself.

void casa::VisBuffer::chanAveFlagCategory ( casacore::Array< casacore::Bool > &  flagcat,
const casacore::Int  nChanOut 
)

Doesn't do anything if flagcat is degenerate.

virtual void casa::VisBuffer::chanAveFlagCube ( casacore::Cube< casacore::Bool > &  flagcube,
const casacore::Int  nChanOut,
const casacore::Bool  restoreWeightSpectrum = true 
)
virtual

This defaults to no conceptual side effects, but usually it is more efficient to let it leave weightSpectrum() in a channel averaged state.

restoreWeightSpectrum has no effect if !existsWeightSpectrum().

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

template<class T >
void casa::VisBuffer::chanAveVisCube ( casacore::Cube< T > &  data,
casacore::Int  nChanOut 
)

Average channel axis by factor.

virtual casacore::Vector<casacore::Int>& casa::VisBuffer::channel ( )
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 218 of file VisBuffer.h.

References channel_p, and fillChannel().

Referenced by channel().

virtual const casacore::Vector<casacore::Int>& casa::VisBuffer::channel ( ) const
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 221 of file VisBuffer.h.

References channel(), and This.

void casa::VisBuffer::channelAve ( const casacore::Matrix< casacore::Int > &  chanavebounds,
casacore::Bool  calmode = true 
)

Average channel axis according to chanavebounds, for whichever of DATA, MODEL_DATA, CORRECTED_DATA, FLOAT_DATA, FLAG, and WEIGHT_SPECTRUM are present.

It will only treat the first 5 as present if they have already been loaded into the buffer!

virtual casacore::Bool casa::VisBuffer::checkMSId ( )
protectedvirtual

Reimplemented in casa::VisBufferAsyncWrapper.

Referenced by msId(), and newMS().

virtual void casa::VisBuffer::checkVisIter ( const char *  func,
const char *  file,
int  line,
const char *  extra = "" 
) const
protectedvirtual

Reimplemented in casa::VisBufferAsync.

void casa::VisBuffer::checkVisIterBase ( const char *  func,
const char *  file,
int  line,
const char *  extra = "" 
) const
private
virtual casacore::Vector<casacore::SquareMatrix<casacore::Complex, 2> >& casa::VisBuffer::CJones ( )
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 310 of file VisBuffer.h.

References cjones_p, and fillCjones().

Referenced by CJones().

virtual const casacore::Vector<casacore::SquareMatrix<casacore::Complex, 2> >& casa::VisBuffer::CJones ( ) const
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 313 of file VisBuffer.h.

References CJones(), and This.

virtual VisBuffer* casa::VisBuffer::clone ( ) const
virtual
virtual void casa::VisBuffer::copyCache ( const VisBuffer other,
casacore::Bool  force 
)
protectedvirtual
void casa::VisBuffer::copyCoordInfo ( const VisBuffer other,
casacore::Bool  force = false 
)
virtual void casa::VisBuffer::copyMsInfo ( casacore::Int msID,
casacore::Bool MsOk_p,
casacore::Bool newMs 
) const
protectedvirtual
virtual casacore::Cube<casacore::Complex>& casa::VisBuffer::correctedVisCube ( )
inlinevirtual
virtual const casacore::Cube<casacore::Complex>& casa::VisBuffer::correctedVisCube ( ) const
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 609 of file VisBuffer.h.

References correctedVisCube(), and This.

virtual casacore::Matrix<CStokesVector>& casa::VisBuffer::correctedVisibility ( )
inlinevirtual
virtual const casacore::Matrix<CStokesVector>& casa::VisBuffer::correctedVisibility ( ) const
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 573 of file VisBuffer.h.

References correctedVisibility(), and This.

virtual casacore::Vector<casacore::Int>& casa::VisBuffer::corrType ( )
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 476 of file VisBuffer.h.

References corrType_p, and fillCorrType().

Referenced by corrType(), and casa::ATerm::makePBPolnCoords().

virtual const casacore::Vector<casacore::Int>& casa::VisBuffer::corrType ( ) const
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 479 of file VisBuffer.h.

References corrType(), and This.

casacore::Cube<casacore::Complex>& casa::VisBuffer::dataCube ( const casacore::MS::PredefinedColumns  whichcol = casacore::MS::DATA)

Return visCube(), modelVisCube(), or correctedVisCube(), according to whichcol.

They throw an exception if whichcol is unsupported, but note the encouraged default. TODO: Optionally return DATA if whichcol is unavailable.

const casacore::Cube<casacore::Complex>& casa::VisBuffer::dataCube ( const casacore::MS::PredefinedColumns  whichcol = casacore::MS::DATA) const
virtual casacore::Int casa::VisBuffer::dataDescriptionId ( ) const
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 509 of file VisBuffer.h.

References dataDescriptionId_p, fillDataDescriptionId(), and This.

virtual casacore::Int& casa::VisBuffer::dataDescriptionIdRef ( )
inlinevirtual

Reimplemented in casa::vi::VisBuffer2Adapter.

Definition at line 506 of file VisBuffer.h.

References dataDescriptionId_p, fillDataDescriptionId(), and This.

virtual void casa::VisBuffer::detachFromVisIter ( )
virtual
virtual casacore::Vector<casacore::MDirection>& casa::VisBuffer::direction1 ( )
inlinevirtual

direction1() and direction2() return arrays of directions where the first and the second antenna/feed are pointed to.

One value for each row in the current buffer.

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 323 of file VisBuffer.h.

References direction1_p, and fillDirection1().

Referenced by direction1().

virtual const casacore::Vector<casacore::MDirection>& casa::VisBuffer::direction1 ( ) const
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 327 of file VisBuffer.h.

References direction1(), and This.

virtual casacore::Vector<casacore::MDirection>& casa::VisBuffer::direction2 ( )
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 331 of file VisBuffer.h.

References direction2_p, and fillDirection2().

Referenced by direction2().

virtual const casacore::Vector<casacore::MDirection>& casa::VisBuffer::direction2 ( ) const
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 335 of file VisBuffer.h.

References direction2(), and This.

virtual void casa::VisBuffer::dirtyComponentsAdd ( const VbDirtyComponents additionalDirtyComponents)
virtual
virtual void casa::VisBuffer::dirtyComponentsAdd ( VisBufferComponents::EnumType  component)
virtual
virtual void casa::VisBuffer::dirtyComponentsClear ( )
virtual
virtual VbDirtyComponents casa::VisBuffer::dirtyComponentsGet ( ) const
virtual
virtual void casa::VisBuffer::dirtyComponentsSet ( const VbDirtyComponents dirtyComponents)
virtual
virtual void casa::VisBuffer::dirtyComponentsSet ( VisBufferComponents::EnumType  component)
virtual
virtual casacore::Bool casa::VisBuffer::existsWeightSpectrum ( ) const
inlinevirtual

Is a valid WEIGHT_SPECTRUM available?

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 645 of file VisBuffer.h.

References casa::ROVisibilityIterator::existsWeightSpectrum(), and visIter_p.

virtual casacore::Vector<casacore::Double>& casa::VisBuffer::exposure ( )
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 533 of file VisBuffer.h.

References exposure_p, and fillExposure().

Referenced by exposure().

virtual const casacore::Vector<casacore::Double>& casa::VisBuffer::exposure ( ) const
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 536 of file VisBuffer.h.

References exposure(), and This.

virtual casacore::Vector<casacore::Int>& casa::VisBuffer::feed1 ( )
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 268 of file VisBuffer.h.

References feed1_p, and fillFeed1().

Referenced by feed1().

virtual const casacore::Vector<casacore::Int>& casa::VisBuffer::feed1 ( ) const
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 271 of file VisBuffer.h.

References feed1(), and This.

virtual casacore::Vector<casacore::Float>& casa::VisBuffer::feed1_pa ( )
inlinevirtual

feed1_pa() and feed2_pa() return an array of parallactic angles (each corresponds to the first receptor of the feed) one for each row in the current buffer.

In contrast, feed_pa() calculates the angles for each antenna. These methods are implemented for VisBuffer only to benefit from caching of the feed and antenna IDs.

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 296 of file VisBuffer.h.

References feed1_pa_p, and fillFeed1_pa().

Referenced by feed1_pa().

virtual const casacore::Vector<casacore::Float>& casa::VisBuffer::feed1_pa ( ) const
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 299 of file VisBuffer.h.

References feed1_pa(), and This.

virtual casacore::Vector<casacore::Int>& casa::VisBuffer::feed2 ( )
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 275 of file VisBuffer.h.

References feed2_p, and fillFeed2().

Referenced by feed2().

virtual const casacore::Vector<casacore::Int>& casa::VisBuffer::feed2 ( ) const
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 278 of file VisBuffer.h.

References feed2(), and This.

virtual casacore::Vector<casacore::Float>& casa::VisBuffer::feed2_pa ( )
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 303 of file VisBuffer.h.

References feed2_pa_p, and fillFeed2_pa().

Referenced by feed2_pa().

virtual const casacore::Vector<casacore::Float>& casa::VisBuffer::feed2_pa ( ) const
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 306 of file VisBuffer.h.

References feed2_pa(), and This.

virtual casacore::Vector<casacore::Float> casa::VisBuffer::feed_pa ( casacore::Double  time) const
virtual

Note that feed_pa is a function instead of a cached value.

Reimplemented in casa::VisBufferAsyncWrapper, casa::vi::VisBuffer2Adapter, and casa::VisBufferAsync.

virtual casacore::Bool casa::VisBuffer::fetch ( const asyncio::PrefetchColumns pfc)
virtual
virtual casacore::Int casa::VisBuffer::fieldId ( ) const
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 358 of file VisBuffer.h.

References fieldId_p, fillFieldId(), and This.

virtual casacore::Int& casa::VisBuffer::fieldIdRef ( )
inlinevirtual

Reimplemented in casa::vi::VisBuffer2Adapter.

Definition at line 362 of file VisBuffer.h.

References fieldId_p, fillFieldId(), and This.

virtual casacore::Vector<casacore::Int>& casa::VisBuffer::fillAnt1 ( )
privatevirtual

+----------------------------------------------—+ | Cache Declarations (fillers, statuses and data) | +----------------------------------------------—+

Preferred naming convention:

T thing () — returns the value of thing (public method) T fillThing () — fills thing cache variable and sets thingOK_p to true (private) casacore::Bool thingOK_p — true if the value of thing is currently cached (private) T thing_p — holds cached value of thing (if thingOK_p is true) (private)

Example: casacore::Vector<casacore::Int>& feed1(); casacore::Vector<casacore::Int>& fillFeed1(); casacore::Bool feed1OK_P; casacore::Vector<casacore::Int> feed1_p;

Cache filling routines in alphabetical order

The first line in a fill routine should be the macro CheckVisIter. This will cause an casacore::AipsError to be throw when there is no visibilty iterator associated with the VisBuffer. This is especially important because the fillers may be called on a VisBufferAsync in two contexts: filling where there will be a VI attached and in normal use where there is no VI attached. The filler must also set the cache status variable to true during its execution.

Reimplemented in casa::VisBufferAsyncWrapper.

Referenced by antenna1().

virtual casacore::Vector<casacore::Int>& casa::VisBuffer::fillAnt2 ( )
privatevirtual

Reimplemented in casa::VisBufferAsyncWrapper.

Referenced by antenna2().

virtual casacore::Int& casa::VisBuffer::fillArrayId ( )
privatevirtual

Reimplemented in casa::VisBufferAsyncWrapper.

Referenced by arrayId(), and arrayIdRef().

virtual casacore::Vector<casacore::Int>& casa::VisBuffer::fillChannel ( )
privatevirtual

virtual casacore::Matrix<casacore::Int>& fillChanAveBounds();

Reimplemented in casa::VisBufferAsyncWrapper.

Referenced by channel().

virtual casacore::Vector<casacore::SquareMatrix<casacore::Complex, 2> >& casa::VisBuffer::fillCjones ( )
privatevirtual

Reimplemented in casa::VisBufferAsyncWrapper.

Referenced by CJones().

virtual casacore::Vector<casacore::Int>& casa::VisBuffer::fillCorrType ( )
privatevirtual

Reimplemented in casa::VisBufferAsyncWrapper.

Referenced by corrType().

virtual casacore::Int& casa::VisBuffer::fillDataDescriptionId ( )
privatevirtual
virtual casacore::Vector<casacore::MDirection>& casa::VisBuffer::fillDirection1 ( )
privatevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::VisBufferAsync.

Referenced by direction1().

virtual casacore::Vector<casacore::MDirection>& casa::VisBuffer::fillDirection2 ( )
privatevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::VisBufferAsync.

Referenced by direction2().

virtual casacore::Vector<casacore::Double>& casa::VisBuffer::fillExposure ( )
privatevirtual

Reimplemented in casa::VisBufferAsyncWrapper.

Referenced by exposure().

virtual casacore::Vector<casacore::Int>& casa::VisBuffer::fillFeed1 ( )
privatevirtual

Reimplemented in casa::VisBufferAsyncWrapper.

Referenced by feed1().

virtual casacore::Vector<casacore::Float>& casa::VisBuffer::fillFeed1_pa ( )
privatevirtual

Reimplemented in casa::VisBufferAsyncWrapper.

Referenced by feed1_pa().

virtual casacore::Vector<casacore::Int>& casa::VisBuffer::fillFeed2 ( )
privatevirtual

Reimplemented in casa::VisBufferAsyncWrapper.

Referenced by feed2().

virtual casacore::Vector<casacore::Float>& casa::VisBuffer::fillFeed2_pa ( )
privatevirtual

Reimplemented in casa::VisBufferAsyncWrapper.

Referenced by feed2_pa().

virtual casacore::Int& casa::VisBuffer::fillFieldId ( )
privatevirtual

Reimplemented in casa::VisBufferAsyncWrapper.

Referenced by fieldId(), and fieldIdRef().

virtual casacore::MDirection& casa::VisBuffer::fillFirstDirection1 ( )
privatevirtual

Referenced by firstDirection1().

virtual casacore::Matrix<casacore::Bool>& casa::VisBuffer::fillFlag ( )
privatevirtual

Reimplemented in casa::VisBufferAsyncWrapper.

Referenced by flag().

virtual casacore::Array<casacore::Bool>& casa::VisBuffer::fillFlagCategory ( )
privatevirtual

Reimplemented in casa::VisBufferAsyncWrapper.

Referenced by flagCategory().

virtual casacore::Cube<casacore::Bool>& casa::VisBuffer::fillFlagCube ( )
privatevirtual

Reimplemented in casa::VisBufferAsyncWrapper.

Referenced by flagCube().

virtual casacore::Vector<casacore::Bool>& casa::VisBuffer::fillFlagRow ( )
privatevirtual

Reimplemented in casa::VisBufferAsyncWrapper.

Referenced by flagRow().

virtual casacore::Cube<casacore::Float>& casa::VisBuffer::fillFloatDataCube ( )
privatevirtual

Reimplemented in casa::VisBufferAsyncWrapper.

Referenced by floatDataCube().

virtual casacore::Vector<casacore::Double>& casa::VisBuffer::fillFreq ( )
privatevirtual

Reimplemented in casa::VisBufferAsyncWrapper.

Referenced by frequency().

virtual casacore::Int& casa::VisBuffer::fillnChannel ( )
privatevirtual

virtual casacore::Matrix<casacore::Float>& fillImagingWeight(); virtual casacore::Vector<casacore::Double>& fillLSRFreq();

Reimplemented in casa::VisBufferAsyncWrapper.

Referenced by nChannel().

virtual casacore::Int& casa::VisBuffer::fillnCorr ( )
privatevirtual

Reimplemented in casa::VisBufferAsyncWrapper.

Referenced by nCorr().

virtual casacore::Int& casa::VisBuffer::fillnRow ( )
privatevirtual

virtual casacore::Int & fillnCat();

Reimplemented in casa::VisBufferAsyncWrapper.

Referenced by nRow().

virtual casacore::Vector<casacore::Int>& casa::VisBuffer::fillObservationId ( )
privatevirtual

Reimplemented in casa::VisBufferAsyncWrapper.

Referenced by observationId().

virtual casacore::MDirection& casa::VisBuffer::fillPhaseCenter ( )
privatevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::VisBufferAsync.

Referenced by phaseCenter().

virtual casacore::Int& casa::VisBuffer::fillPolFrame ( )
privatevirtual

Reimplemented in casa::VisBufferAsyncWrapper.

Referenced by polFrame().

virtual casacore::Vector<casacore::Int>& casa::VisBuffer::fillProcessorId ( )
privatevirtual

Reimplemented in casa::VisBufferAsyncWrapper.

Referenced by processorId().

virtual casacore::Vector<casacore::Int>& casa::VisBuffer::fillScan ( )
privatevirtual

Reimplemented in casa::VisBufferAsyncWrapper.

Referenced by scan().

virtual casacore::Vector<casacore::Float>& casa::VisBuffer::fillSigma ( )
privatevirtual

Reimplemented in casa::VisBufferAsyncWrapper.

Referenced by sigma().

virtual casacore::Matrix<casacore::Float>& casa::VisBuffer::fillSigmaMat ( )
privatevirtual

Reimplemented in casa::VisBufferAsyncWrapper.

Referenced by sigmaMat().

virtual casacore::Int& casa::VisBuffer::fillSpW ( )
privatevirtual

Reimplemented in casa::VisBufferAsyncWrapper.

Referenced by spectralWindow().

virtual casacore::Vector<casacore::Int>& casa::VisBuffer::fillStateId ( )
privatevirtual

Reimplemented in casa::VisBufferAsyncWrapper.

Referenced by stateId().

virtual casacore::Vector<casacore::Double>& casa::VisBuffer::fillTime ( )
privatevirtual

Reimplemented in casa::VisBufferAsyncWrapper.

Referenced by time().

virtual casacore::Vector<casacore::Double>& casa::VisBuffer::fillTimeCentroid ( )
privatevirtual

Reimplemented in casa::VisBufferAsyncWrapper.

Referenced by timeCentroid().

virtual casacore::Vector<casacore::Double>& casa::VisBuffer::fillTimeInterval ( )
privatevirtual

Reimplemented in casa::VisBufferAsyncWrapper.

Referenced by timeInterval().

virtual casacore::Vector<casacore::RigidVector<casacore::Double, 3> >& casa::VisBuffer::filluvw ( )
privatevirtual

Reimplemented in casa::VisBufferAsyncWrapper.

Referenced by uvw().

virtual casacore::Matrix<casacore::Double>& casa::VisBuffer::filluvwMat ( )
privatevirtual

Reimplemented in casa::VisBufferAsyncWrapper.

Referenced by uvwMat().

virtual casacore::Matrix<CStokesVector>& casa::VisBuffer::fillVis ( VisibilityIterator::DataColumn  whichOne)
privatevirtual
virtual casacore::Cube<casacore::Complex>& casa::VisBuffer::fillVisCube ( VisibilityIterator::DataColumn  whichOne)
privatevirtual
virtual casacore::Vector<casacore::Float>& casa::VisBuffer::fillWeight ( )
privatevirtual

Reimplemented in casa::VisBufferAsyncWrapper.

Referenced by weight().

virtual casacore::Matrix<casacore::Float>& casa::VisBuffer::fillWeightMat ( )
privatevirtual

Reimplemented in casa::VisBufferAsyncWrapper.

Referenced by weightMat().

virtual casacore::Cube<casacore::Float>& casa::VisBuffer::fillWeightSpectrum ( )
privatevirtual

Reimplemented in casa::VisBufferAsyncWrapper.

Referenced by weightSpectrum().

virtual casacore::MDirection& casa::VisBuffer::firstDirection1 ( )
inlinevirtual

Definition at line 338 of file VisBuffer.h.

References fillFirstDirection1(), and firstDirection1_p.

Referenced by firstDirection1().

virtual const casacore::MDirection& casa::VisBuffer::firstDirection1 ( ) const
inlinevirtual

Definition at line 342 of file VisBuffer.h.

References firstDirection1(), and This.

virtual casacore::Matrix<casacore::Bool>& casa::VisBuffer::flag ( )
inlinevirtual

Return flag for each channel & row.

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 375 of file VisBuffer.h.

References fillFlag(), and flag_p.

Referenced by flag().

virtual const casacore::Matrix<casacore::Bool>& casa::VisBuffer::flag ( ) const
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 378 of file VisBuffer.h.

References flag(), and This.

virtual casacore::Array<casacore::Bool>& casa::VisBuffer::flagCategory ( )
inlinevirtual

Return flags for each polarization, channel, category, and row.

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 398 of file VisBuffer.h.

References fillFlagCategory(), and flagCategory_p.

Referenced by flagCategory().

virtual const casacore::Array<casacore::Bool>& casa::VisBuffer::flagCategory ( ) const
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 401 of file VisBuffer.h.

References flagCategory(), and This.

virtual casacore::Cube<casacore::Bool>& casa::VisBuffer::flagCube ( )
inlinevirtual

Return flag for each polarization, channel and row.

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 383 of file VisBuffer.h.

References fillFlagCube(), and flagCube_p.

Referenced by flagCube().

virtual const casacore::Cube<casacore::Bool>& casa::VisBuffer::flagCube ( ) const
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 386 of file VisBuffer.h.

References flagCube(), and This.

virtual casacore::Vector<casacore::Bool>& casa::VisBuffer::flagRow ( )
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 390 of file VisBuffer.h.

References fillFlagRow(), and flagRow_p.

Referenced by flagRow().

virtual const casacore::Vector<casacore::Bool>& casa::VisBuffer::flagRow ( ) const
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 393 of file VisBuffer.h.

References flagRow(), and This.

virtual casacore::Cube<casacore::Float>& casa::VisBuffer::floatDataCube ( )
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 621 of file VisBuffer.h.

References fillFloatDataCube(), and floatDataCube_p.

Referenced by floatDataCube().

virtual const casacore::Cube<casacore::Float>& casa::VisBuffer::floatDataCube ( ) const
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 624 of file VisBuffer.h.

References floatDataCube(), and This.

virtual void casa::VisBuffer::formStokes ( )
virtual

Form casacore::Stokes parameters from correlations (these are preliminary versions)

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

virtual void casa::VisBuffer::formStokes ( casacore::Cube< casacore::Complex > &  vis)
virtual
virtual void casa::VisBuffer::formStokes ( casacore::Cube< casacore::Float > &  fcube)
virtual
virtual void casa::VisBuffer::formStokesWeightandFlag ( )
virtual
void casa::VisBuffer::freqAveCubes ( )

Frequency average the buffer (visCube and [if present] modelVisCube)

virtual void casa::VisBuffer::freqAverage ( )
virtual

Frequency average the buffer (visibility() column only)

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

virtual casacore::Vector<casacore::Double>& casa::VisBuffer::frequency ( )
inlinevirtual

Gets SPECTRAL_WINDOW/CHAN_FREQ (in Hz, acc.

to the casacore::MS def'n v.2).

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 440 of file VisBuffer.h.

References fillFreq(), and frequency_p.

Referenced by frequency().

virtual const casacore::Vector<casacore::Double>& casa::VisBuffer::frequency ( ) const
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 443 of file VisBuffer.h.

References frequency(), and This.

virtual void casa::VisBuffer::getChannelSelection ( casacore::Block< casacore::Vector< casacore::Int > > &  blockNGroup,
casacore::Block< casacore::Vector< casacore::Int > > &  blockStart,
casacore::Block< casacore::Vector< casacore::Int > > &  blockWidth,
casacore::Block< casacore::Vector< casacore::Int > > &  blockIncr,
casacore::Block< casacore::Vector< casacore::Int > > &  blockSpw 
) const
inlinevirtual

Reimplemented in casa::vi::VisBuffer2Adapter.

Definition at line 798 of file VisBuffer.h.

References casa::ROVisibilityIterator::getChannelSelection(), and visIter_p.

virtual casacore::Int casa::VisBuffer::getOldMsId ( ) const
protectedvirtual

Reimplemented in casa::VisBufferAsyncWrapper.

virtual ROVisibilityIterator* casa::VisBuffer::getVisibilityIterator ( ) const
protectedvirtual

Reimplemented in casa::VisBufferAsyncWrapper.

virtual casacore::Double casa::VisBuffer::hourang ( casacore::Double  time) const
virtual

Hour angle for specified time.

Reimplemented in casa::VisBufferAsyncWrapper, casa::vi::VisBuffer2Adapter, and casa::VisBufferAsync.

virtual casacore::Matrix<casacore::Float>& casa::VisBuffer::imagingWeight ( )
virtual
virtual const casacore::Matrix<casacore::Float>& casa::VisBuffer::imagingWeight ( ) const
virtual
virtual const casacore::Matrix<casacore::Float>& casa::VisBuffer::imagingWeight ( const VisImagingWeight weightGenerator) const
protectedvirtual
virtual void casa::VisBuffer::invalidate ( )
virtual

Invalidate the cache.

Reimplemented in casa::VisBufferAsyncWrapper, casa::vi::VisBuffer2Adapter, and casa::VisBufferAsync.

virtual void casa::VisBuffer::lsrFrequency ( const casacore::Int spw,
casacore::Vector< casacore::Double > &  freq,
casacore::Bool convert,
const casacore::Bool  ignoreconv = false 
) const
virtual

virtual casacore::Vector<casacore::Double>& lsrFrequency() { return lsrFrequencyOK_p ? lsrFrequency_p : fillLSRFreq(); } virtual const casacore::Vector<casacore::Double>& lsrFrequency() const { return This->lsrFrequency(); }

the following method is to convert the observed frequencies This conversion may not be accurate for some frame conversion like topo to lsr except if the spw is in the actual buffer

if ignoreconv=true..frequency is served as is in the data frame

Reimplemented in casa::vi::VisBuffer2Adapter.

virtual casacore::Cube<casacore::Complex>& casa::VisBuffer::modelVisCube ( )
inlinevirtual
virtual casacore::Cube<casacore::Complex>& casa::VisBuffer::modelVisCube ( const casacore::Bool matchVisCubeShape)
inlinevirtual

Avoids call to fillVisCube(VisIter::Model)

shape it in memory like data

... and return it in the usual way

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 589 of file VisBuffer.h.

References modelVisCube(), modelVisCube_p, casacore::Cube< T >::resize(), casacore::shape(), and visCube().

virtual const casacore::Cube<casacore::Complex>& casa::VisBuffer::modelVisCube ( ) const
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 601 of file VisBuffer.h.

References modelVisCube(), and This.

virtual casacore::Matrix<CStokesVector>& casa::VisBuffer::modelVisibility ( )
inlinevirtual
virtual const casacore::Matrix<CStokesVector>& casa::VisBuffer::modelVisibility ( ) const
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 565 of file VisBuffer.h.

References modelVisibility(), and This.

virtual const casacore::ROMSColumns& casa::VisBuffer::msColumns ( ) const
inlinevirtual

Access the current casacore::ROMSColumns object via VisIter.

Reimplemented in casa::vi::VisBuffer2Adapter, casa::VisBufferAsyncWrapper, and casa::VisBufferAsync.

Definition at line 785 of file VisBuffer.h.

References casa::ROVisibilityIterator::msColumns(), and visIter_p.

virtual casacore::Int casa::VisBuffer::msId ( ) const
inlinevirtual

Return the actual msid, useful if using multiple ms to monitor which ms in the list is being dealt with.

Reimplemented in casa::vi::VisBuffer2Adapter, casa::VisBufferAsyncWrapper, and casa::VisBufferAsync.

Definition at line 811 of file VisBuffer.h.

References checkMSId(), oldMSId_p, and This.

virtual casacore::String casa::VisBuffer::msName ( casacore::Bool  stripPath = false) const
virtual

get the name of the ms the buffer is at empty string if no visiter is attached

Reimplemented in casa::vi::VisBuffer2Adapter.

virtual casacore::Int& casa::VisBuffer::nChannel ( )
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 211 of file VisBuffer.h.

References fillnChannel(), and nChannel_p.

Referenced by nChannel().

virtual casacore::Int casa::VisBuffer::nChannel ( ) const
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 214 of file VisBuffer.h.

References nChannel(), and This.

virtual casacore::Int& casa::VisBuffer::nCorr ( )
inlinevirtual

Access functions.

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 204 of file VisBuffer.h.

References fillnCorr(), and nCorr_p.

Referenced by nCorr().

virtual casacore::Int casa::VisBuffer::nCorr ( ) const
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 207 of file VisBuffer.h.

References nCorr(), and This.

virtual casacore::Bool casa::VisBuffer::newArrayId ( ) const
virtual
virtual casacore::Bool casa::VisBuffer::newFieldId ( ) const
virtual
virtual casacore::Bool casa::VisBuffer::newMS ( ) const
inlinevirtual

checked if the ms has changed since the last chunk processed

Reimplemented in casa::vi::VisBuffer2Adapter, casa::VisBufferAsyncWrapper, and casa::VisBufferAsync.

Definition at line 817 of file VisBuffer.h.

References checkMSId(), newMS_p, and This.

virtual casacore::Bool casa::VisBuffer::newSpectralWindow ( ) const
virtual
virtual casacore::Bool casa::VisBuffer::nonCanonCorr ( )
privatevirtual

Reimplemented in casa::VisBufferAsyncWrapper.

virtual void casa::VisBuffer::normalize ( const casacore::Bool phaseOnly = false)
virtual

Normalize the visCube by the modelVisCube (and optionally also divide visCube_p by its normalized amp)

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

virtual casacore::Int& casa::VisBuffer::nRow ( )
inlinevirtual

virtual casacore::Int & nCat() { return nCatOK_p ? nCat_p : fillnCat(); } virtual casacore::Int nCat() const { return This->nCat(); }

Because of it being publicly exposed ...using nRow, nChannel, nCorr etc to determine the size of the buffer can be totally WRONG They MAY NOT represent the shape of a buffer filled in this iteration. Decide what is the right value (depending on where the vb is coming from) for you for the size of the buffer. i.e (nCorr(), nChannel(), nRow()) or vb.visCube().shape() The latter comes from the VisIter state...the former be careful... For example VisBuffAccumulator changes these in an unconnected fashion; without updating fillnrow datacube shape etc etc. You are warned nrow_p etc are public variables effectively (despite being declared private) so it can be changed anywhere the code uses a vb, intentionally or accidentally.

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 245 of file VisBuffer.h.

References fillnRow(), and nRow_p.

Referenced by nRow(), casa::EVLAAperture::vbRow2CFKeyMap(), and casa::ATerm::vbRow2CFKeyMap().

virtual casacore::Int casa::VisBuffer::nRow ( ) const
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper.

Definition at line 248 of file VisBuffer.h.

References nRow(), and This.

virtual casacore::Int casa::VisBuffer::nRowChunk ( ) const
virtual

Reimplemented in casa::VisBufferAsync.

virtual casacore::Int casa::VisBuffer::numberAnt ( ) const
virtual
virtual casacore::Int casa::VisBuffer::numberCoh ( ) const
virtual
virtual casacore::Vector<casacore::Int>& casa::VisBuffer::observationId ( )
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 425 of file VisBuffer.h.

References fillObservationId(), and observationId_p.

Referenced by observationId().

virtual const casacore::Vector<casacore::Int>& casa::VisBuffer::observationId ( ) const
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 428 of file VisBuffer.h.

References observationId(), and This.

VisBuffer& casa::VisBuffer::operator-= ( const VisBuffer vb)

subtraction: return the difference of the visibilities, flags of this and other are or-ed.

An exception is thrown if the number of rows or channels differs, but no further checks are done.

virtual VisBuffer& casa::VisBuffer::operator= ( const VisBuffer vb)
virtual

Assignment, loses synchronization with iterator: only use buffer for current iteration (or reattach)

Reimplemented in casa::CalVisBuffer.

virtual casacore::Vector<casacore::Float> casa::VisBuffer::parang ( casacore::Double  time) const
virtual
virtual casacore::Float casa::VisBuffer::parang0 ( casacore::Double  time) const
virtual

NOMINAL parallactic angle (feed p.a.

offset NOT included)

Reimplemented in casa::VisBufferAsyncWrapper, casa::vi::VisBuffer2Adapter, and casa::VisBufferAsync.

virtual casacore::MDirection& casa::VisBuffer::phaseCenter ( )
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 464 of file VisBuffer.h.

References fillPhaseCenter(), and phaseCenter_p.

Referenced by phaseCenter().

virtual casacore::MDirection casa::VisBuffer::phaseCenter ( ) const
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 467 of file VisBuffer.h.

References phaseCenter(), and This.

virtual const casacore::MDirection casa::VisBuffer::phaseCenter ( const casacore::Int  fieldId,
const casacore::Double  time = -1.0 
) const
virtual
virtual const casacore::MDirection casa::VisBuffer::phaseCenter ( const casacore::Double  time) const
virtual
virtual void casa::VisBuffer::phaseCenterShift ( const casacore::Vector< casacore::Double > &  phase)
virtual

Rotate visibility phase for given vector (dim = nrow of vb) of phases (metres)

Reimplemented in casa::vi::VisBuffer2Adapter.

virtual void casa::VisBuffer::phaseCenterShift ( casacore::Double  dx,
casacore::Double  dy 
)
virtual

Rotate visibility phase for phase center offsets (arcsecs)

Reimplemented in casa::vi::VisBuffer2Adapter, and casa::VisBufferAsyncWrapper.

virtual casacore::Int casa::VisBuffer::polarizationId ( ) const
inlinevirtual
virtual casacore::Int casa::VisBuffer::polFrame ( ) const
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 472 of file VisBuffer.h.

References fillPolFrame(), polFrame_p, and This.

virtual casacore::Vector<casacore::Int>& casa::VisBuffer::processorId ( )
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 418 of file VisBuffer.h.

References fillProcessorId(), and processorId_p.

Referenced by processorId().

virtual const casacore::Vector<casacore::Int>& casa::VisBuffer::processorId ( ) const
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 421 of file VisBuffer.h.

References processorId(), and This.

virtual void casa::VisBuffer::refModelVis ( const casacore::Matrix< CStokesVector > &  mvis)
virtual

Reference external model visibilities.

Reimplemented in casa::vi::VisBuffer2Adapter, and casa::VisBufferAsyncWrapper.

virtual void casa::VisBuffer::removeScratchCols ( )
virtual

Remove scratch cols data from vb.

Reimplemented in casa::vi::VisBuffer2Adapter, and casa::VisBufferAsyncWrapper.

virtual void casa::VisBuffer::resetWeightMat ( )
virtual

Fill weightMat according to sigma column.

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

virtual casacore::Vector<casacore::uInt>& casa::VisBuffer::rowIds ( )
virtual

Return the row Ids from the original ms.

If the ms used is a subset of another ms then rowIds() return the row ids of the original ms.

Reimplemented in casa::VisBufferAsyncWrapper, casa::vi::VisBuffer2Adapter, and casa::VisBufferAsync.

Referenced by rowIds().

virtual const casacore::Vector<casacore::uInt>& casa::VisBuffer::rowIds ( ) const
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, casa::vi::VisBuffer2Adapter, and casa::VisBufferAsync.

Definition at line 691 of file VisBuffer.h.

References rowIds(), and This.

virtual casacore::Vector<casacore::Int>& casa::VisBuffer::scan ( )
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 405 of file VisBuffer.h.

References fillScan(), and scan_p.

Referenced by scan(), and scan0().

virtual const casacore::Vector<casacore::Int>& casa::VisBuffer::scan ( ) const
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 408 of file VisBuffer.h.

References scan(), and This.

virtual casacore::Int casa::VisBuffer::scan0 ( )
inlinevirtual

scalar version for convenience, when scan known constant for entire iteration/buffer.

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 414 of file VisBuffer.h.

References scan().

virtual void casa::VisBuffer::setAllCacheStatuses ( bool  status)
privatevirtual

Reimplemented in casa::VisBufferAsyncWrapper.

virtual void casa::VisBuffer::setCorrectedVisCube ( casacore::Complex  c)
virtual
virtual void casa::VisBuffer::setCorrectedVisCube ( const casacore::Cube< casacore::Complex > &  vis)
virtual
virtual void casa::VisBuffer::setFloatDataCube ( const casacore::Cube< casacore::Float > &  fcube)
virtual

Like the above, but for FLOAT_DATA, keeping it as real floats.

Reimplemented in casa::vi::VisBuffer2Adapter, and casa::VisBufferAsyncWrapper.

virtual void casa::VisBuffer::setModelVisCube ( casacore::Complex  c)
virtual
virtual void casa::VisBuffer::setModelVisCube ( const casacore::Cube< casacore::Complex > &  vis)
virtual
virtual void casa::VisBuffer::setModelVisCube ( const casacore::Vector< casacore::Float > &  stokes)
virtual

Set model according to a casacore::Stokes vector.

Reimplemented in casa::vi::VisBuffer2Adapter, casa::VisBufferAsyncWrapper, and casa::VisBufferAsync.

virtual void casa::VisBuffer::setVisCube ( casacore::Complex  c)
virtual

Set the visibility to a constant, note that this only changes the buffer, no values are written back to tables from here.

Reimplemented in casa::vi::VisBuffer2Adapter, casa::VisBufferAsyncWrapper, and casa::VisBufferAsync.

virtual void casa::VisBuffer::setVisCube ( const casacore::Cube< casacore::Complex > &  vis)
virtual

Set the visibility, note that this only changes the buffer, no values are written back to tables from here.

Reimplemented in casa::vi::VisBuffer2Adapter, casa::VisBufferAsyncWrapper, and casa::VisBufferAsync.

virtual casacore::Vector<casacore::Float>& casa::VisBuffer::sigma ( )
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 483 of file VisBuffer.h.

References fillSigma(), and sigma_p.

Referenced by sigma().

virtual const casacore::Vector<casacore::Float>& casa::VisBuffer::sigma ( ) const
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 486 of file VisBuffer.h.

References sigma(), and This.

virtual casacore::Matrix<casacore::Float>& casa::VisBuffer::sigmaMat ( )
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 490 of file VisBuffer.h.

References fillSigmaMat(), and sigmaMat_p.

Referenced by sigmaMat().

virtual const casacore::Matrix<casacore::Float>& casa::VisBuffer::sigmaMat ( ) const
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 493 of file VisBuffer.h.

References sigmaMat(), and This.

virtual void casa::VisBuffer::sortCorr ( )
virtual

casacore::Sort/unsort the correlations, if necessary (Rudimentary handling of non-canonically sorted correlations–use with care!)

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

virtual casacore::Int& casa::VisBuffer::spectralWindow ( )
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 497 of file VisBuffer.h.

References fillSpW(), spectralWindow_p, and This.

virtual casacore::Int casa::VisBuffer::spectralWindow ( ) const
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 500 of file VisBuffer.h.

References fillSpW(), spectralWindow_p, and This.

virtual casacore::Vector<casacore::Int>& casa::VisBuffer::stateId ( )
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 432 of file VisBuffer.h.

References fillStateId(), and stateId_p.

Referenced by stateId().

virtual const casacore::Vector<casacore::Int>& casa::VisBuffer::stateId ( ) const
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 435 of file VisBuffer.h.

References stateId(), and This.

virtual casacore::Vector<casacore::Double>& casa::VisBuffer::time ( void  )
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 512 of file VisBuffer.h.

References fillTime(), and time_p.

Referenced by time().

virtual const casacore::Vector<casacore::Double>& casa::VisBuffer::time ( void  ) const
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 515 of file VisBuffer.h.

References This, and time().

virtual casacore::Vector<casacore::Double>& casa::VisBuffer::timeCentroid ( )
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 519 of file VisBuffer.h.

References fillTimeCentroid(), and timeCentroid_p.

Referenced by timeCentroid().

virtual const casacore::Vector<casacore::Double>& casa::VisBuffer::timeCentroid ( ) const
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 522 of file VisBuffer.h.

References This, and timeCentroid().

virtual casacore::Vector<casacore::Double>& casa::VisBuffer::timeInterval ( )
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 526 of file VisBuffer.h.

References fillTimeInterval(), and timeInterval_p.

Referenced by timeInterval().

virtual const casacore::Vector<casacore::Double>& casa::VisBuffer::timeInterval ( ) const
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 529 of file VisBuffer.h.

References This, and timeInterval().

virtual casacore::Bool casa::VisBuffer::timeRange ( casacore::MEpoch rTime,
casacore::MVEpoch rTimeEP,
casacore::MVEpoch rInterval 
) const
virtual
virtual casacore::Vector<casacore::Int> casa::VisBuffer::unique ( const casacore::Vector< casacore::Int > &  indices) const
privatevirtual

Filter index arrays for unique elements.

Reimplemented in casa::VisBufferAsyncWrapper.

virtual void casa::VisBuffer::unSortCorr ( )
virtual
template<typename Coord >
void casa::VisBuffer::updateCoord ( const VisBuffer other,
casacore::Bool  otherOk,
const Coord &(VisBuffer::*)() const  getCoord,
Coord &  coord,
casacore::Bool coordOk 
)
inlineprotected

Definition at line 841 of file VisBuffer.h.

virtual void casa::VisBuffer::updateCoordInfo ( const VisBuffer vb = NULL,
const casacore::Bool  dirDependent = true 
)
virtual

Update coordinate info - useful for copied VisBuffers that need to retain some state for later reference.

Presently this fills antenna, array, field and spectralWindow ids, time, frequency and number of rows. if dirDependent is set to false the expensive direction dependent calculation of parallactic or direction of antenna from pointing table is avoided Add more as needed.

Reimplemented in casa::vi::VisBuffer2Adapter, casa::VisBufferAsync, and casa::CalVisBuffer.

template<typename Scalar >
void casa::VisBuffer::updateCoordS ( const VisBuffer other,
casacore::Bool  otherOk,
Scalar(VisBuffer::*)() const  getCoord,
Scalar &  coord,
casacore::Bool coordOk 
)
inlineprotected

Definition at line 857 of file VisBuffer.h.

virtual casacore::Vector<casacore::RigidVector<casacore::Double, 3> >& casa::VisBuffer::uvw ( )
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 540 of file VisBuffer.h.

References filluvw(), and uvw_p.

Referenced by uvw().

virtual const casacore::Vector<casacore::RigidVector<casacore::Double, 3> >& casa::VisBuffer::uvw ( ) const
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 543 of file VisBuffer.h.

References This, and uvw().

virtual casacore::Matrix<casacore::Double>& casa::VisBuffer::uvwMat ( )
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 547 of file VisBuffer.h.

References filluvwMat(), and uvwMat_p.

Referenced by uvwMat().

virtual const casacore::Matrix<casacore::Double>& casa::VisBuffer::uvwMat ( ) const
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 550 of file VisBuffer.h.

References This, and uvwMat().

virtual void casa::VisBuffer::validate ( )
privatevirtual

validate the cache

Reimplemented in casa::VisBufferAsyncWrapper.

virtual casacore::Vector<casacore::Int> casa::VisBuffer::vecIntRange ( const MSCalEnums::colDef calEnum) const
virtual

Utility functions to provide coordinate or column ranges of the data in the VisBuffer.

Flagging is applied before computing the ranges.

Generic accessor to column ranges of integer type, as specified by enumerations defined in class MSCalEnums. Throws an exception if the enum is not for a recognized integer column.

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

virtual casacore::Cube<casacore::Complex>& casa::VisBuffer::visCube ( )
inlinevirtual
virtual const casacore::Cube<casacore::Complex>& casa::VisBuffer::visCube ( ) const
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 580 of file VisBuffer.h.

References This, and visCube().

virtual casacore::Matrix<CStokesVector>& casa::VisBuffer::visibility ( )
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 554 of file VisBuffer.h.

References fillVis(), casa::ROVisibilityIterator::Observed, and visibility_p.

Referenced by visibility().

virtual const casacore::Matrix<CStokesVector>& casa::VisBuffer::visibility ( ) const
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 557 of file VisBuffer.h.

References This, and visibility().

virtual casacore::Vector<casacore::Float>& casa::VisBuffer::weight ( )
inlinevirtual

Returns the weights for each row averaged over the parallel hand correlations.

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 629 of file VisBuffer.h.

References fillWeight(), and weight_p.

Referenced by weight().

virtual const casacore::Vector<casacore::Float>& casa::VisBuffer::weight ( ) const
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 632 of file VisBuffer.h.

References This, and weight().

virtual casacore::Cube<casacore::Float>& casa::VisBuffer::weightCube ( )
inlinevirtual

virtual casacore::Matrix<casacore::Float>& imagingWeight() { return imagingWeightOK_p ? imagingWeight_p : fillImagingWeight(); } virtual const casacore::Matrix<casacore::Float>& imagingWeight() const { return This->imagingWeight(); }

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 667 of file VisBuffer.h.

References weightCube_p.

virtual casacore::Matrix<casacore::Float>& casa::VisBuffer::weightMat ( )
inlinevirtual

Returns the nPol_p x curNumRow_p weight matrix.

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 637 of file VisBuffer.h.

References fillWeightMat(), and weightMat_p.

Referenced by weightMat().

virtual const casacore::Matrix<casacore::Float>& casa::VisBuffer::weightMat ( ) const
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 640 of file VisBuffer.h.

References This, and weightMat().

virtual casacore::Cube<casacore::Float>& casa::VisBuffer::weightSpectrum ( )
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 649 of file VisBuffer.h.

References fillWeightSpectrum(), and weightSpectrum_p.

Referenced by weightSpectrum().

virtual const casacore::Cube<casacore::Float>& casa::VisBuffer::weightSpectrum ( ) const
inlinevirtual

Reimplemented in casa::VisBufferAsyncWrapper, and casa::vi::VisBuffer2Adapter.

Definition at line 652 of file VisBuffer.h.

References This, and weightSpectrum().

Friends And Related Function Documentation

friend class asyncio::VLAT
friend

Definition at line 155 of file VisBuffer.h.

friend class SIMapperCollection
friend

Definition at line 159 of file VisBuffer.h.

friend class ViReadImplAsync
friend

Definition at line 158 of file VisBuffer.h.

friend class VisBufferAsync
friend

Definition at line 156 of file VisBuffer.h.

friend class VisBufferAsyncWrapper
friend

Definition at line 157 of file VisBuffer.h.

friend class VisModelData
friend

Definition at line 160 of file VisBuffer.h.

Member Data Documentation

casacore::Vector<casacore::Int> casa::VisBuffer::antenna1_p
private

Cached values (alphabetical order)

Definition at line 1090 of file VisBuffer.h.

Referenced by antenna1().

casacore::Vector<casacore::Int> casa::VisBuffer::antenna2_p
private

Definition at line 1091 of file VisBuffer.h.

Referenced by antenna2().

casacore::Int casa::VisBuffer::arrayId_p
private

Definition at line 1092 of file VisBuffer.h.

Referenced by arrayId(), and arrayIdRef().

casacore::Matrix<casacore::Int> casa::VisBuffer::chanAveBounds_p
private

Definition at line 1093 of file VisBuffer.h.

casacore::Vector<casacore::Int> casa::VisBuffer::channel_p
private

Definition at line 1094 of file VisBuffer.h.

Referenced by channel().

casacore::Vector<casacore::SquareMatrix<casacore::Complex, 2> > casa::VisBuffer::cjones_p
private

Definition at line 1095 of file VisBuffer.h.

Referenced by CJones().

casacore::Cube<casacore::Complex> casa::VisBuffer::correctedVisCube_p
private

Definition at line 1096 of file VisBuffer.h.

Referenced by correctedVisCube().

casacore::Matrix<CStokesVector> casa::VisBuffer::correctedVisibility_p
private

Definition at line 1097 of file VisBuffer.h.

Referenced by correctedVisibility().

casacore::Bool casa::VisBuffer::corrSorted_p
private

Definition at line 933 of file VisBuffer.h.

casacore::Vector<casacore::Int> casa::VisBuffer::corrType_p
private

Definition at line 1098 of file VisBuffer.h.

Referenced by corrType().

casacore::Int casa::VisBuffer::dataDescriptionId_p
private

Definition at line 1099 of file VisBuffer.h.

Referenced by dataDescriptionId(), and dataDescriptionIdRef().

casacore::Vector<casacore::MDirection> casa::VisBuffer::direction1_p
private

Definition at line 1100 of file VisBuffer.h.

Referenced by direction1().

casacore::Vector<casacore::MDirection> casa::VisBuffer::direction2_p
private

Definition at line 1101 of file VisBuffer.h.

Referenced by direction2().

VbDirtyComponents casa::VisBuffer::dirtyComponents_p
private

Definition at line 934 of file VisBuffer.h.

casacore::Vector<casacore::Double> casa::VisBuffer::exposure_p
private

Definition at line 1103 of file VisBuffer.h.

Referenced by exposure().

casacore::Vector<casacore::Int> casa::VisBuffer::feed1_p
private

Definition at line 1104 of file VisBuffer.h.

Referenced by feed1().

casacore::Vector<casacore::Float> casa::VisBuffer::feed1_pa_p
private

Definition at line 1105 of file VisBuffer.h.

Referenced by feed1_pa().

casacore::Vector<casacore::Int> casa::VisBuffer::feed2_p
private

Definition at line 1106 of file VisBuffer.h.

Referenced by feed2().

casacore::Vector<casacore::Float> casa::VisBuffer::feed2_pa_p
private

Definition at line 1107 of file VisBuffer.h.

Referenced by feed2_pa().

casacore::Int casa::VisBuffer::fieldId_p
private

Definition at line 1108 of file VisBuffer.h.

Referenced by fieldId(), and fieldIdRef().

casacore::MDirection casa::VisBuffer::firstDirection1_p
private

Definition at line 1102 of file VisBuffer.h.

Referenced by firstDirection1().

casacore::Matrix<casacore::Bool> casa::VisBuffer::flag_p
private

Definition at line 1109 of file VisBuffer.h.

Referenced by flag().

casacore::Array<casacore::Bool> casa::VisBuffer::flagCategory_p
private

Definition at line 1110 of file VisBuffer.h.

Referenced by flagCategory().

casacore::Cube<casacore::Bool> casa::VisBuffer::flagCube_p
private

Definition at line 1111 of file VisBuffer.h.

Referenced by flagCube().

casacore::Vector<casacore::Bool> casa::VisBuffer::flagRow_p
private

Definition at line 1112 of file VisBuffer.h.

Referenced by flagRow().

casacore::Cube<casacore::Float> casa::VisBuffer::floatDataCube_p
private

Definition at line 1113 of file VisBuffer.h.

Referenced by floatDataCube().

casacore::Vector<casacore::Double> casa::VisBuffer::frequency_p
private

Definition at line 1114 of file VisBuffer.h.

Referenced by frequency().

casacore::Matrix<casacore::Float> casa::VisBuffer::imagingWeight_p
mutableprivate

Definition at line 1115 of file VisBuffer.h.

casacore::Int casa::VisBuffer::lastPointTableRow_p
private

Definition at line 935 of file VisBuffer.h.

casacore::Cube<casacore::Complex> casa::VisBuffer::modelVisCube_p
private

casacore::Vector<casacore::Double> lsrFrequency_p;

Definition at line 1117 of file VisBuffer.h.

Referenced by modelVisCube().

casacore::Matrix<CStokesVector> casa::VisBuffer::modelVisibility_p
private

Definition at line 1118 of file VisBuffer.h.

Referenced by modelVisibility().

casacore::Int casa::VisBuffer::nChannel_p
private

Definition at line 1119 of file VisBuffer.h.

Referenced by nChannel().

casacore::Int casa::VisBuffer::nCorr_p
private

Definition at line 1120 of file VisBuffer.h.

Referenced by nCorr().

casacore::Bool casa::VisBuffer::newMS_p
private

Definition at line 1015 of file VisBuffer.h.

Referenced by newMS().

casacore::Int casa::VisBuffer::nRow_p
private

casacore::Int nCat_p;

Definition at line 1122 of file VisBuffer.h.

Referenced by nRow().

casacore::Vector<casacore::Int> casa::VisBuffer::observationId_p
private

Definition at line 1123 of file VisBuffer.h.

Referenced by observationId().

casacore::Int casa::VisBuffer::oldMSId_p
private

Definition at line 936 of file VisBuffer.h.

Referenced by msId().

casacore::MDirection casa::VisBuffer::phaseCenter_p
private

Definition at line 1124 of file VisBuffer.h.

Referenced by phaseCenter().

casacore::Int casa::VisBuffer::polFrame_p
private

Definition at line 1125 of file VisBuffer.h.

Referenced by polFrame().

casacore::Vector<casacore::Int> casa::VisBuffer::processorId_p
private

Definition at line 1126 of file VisBuffer.h.

Referenced by processorId().

casacore::Vector<casacore::uInt> casa::VisBuffer::rowIds_p
private

Definition at line 1127 of file VisBuffer.h.

casacore::Vector<casacore::Int> casa::VisBuffer::scan_p
private

Definition at line 1128 of file VisBuffer.h.

Referenced by scan().

casacore::Vector<casacore::Float> casa::VisBuffer::sigma_p
private

Definition at line 1129 of file VisBuffer.h.

Referenced by sigma().

casacore::Matrix<casacore::Float> casa::VisBuffer::sigmaMat_p
private

Definition at line 1130 of file VisBuffer.h.

Referenced by sigmaMat().

casacore::Int casa::VisBuffer::spectralWindow_p
private

Definition at line 1131 of file VisBuffer.h.

Referenced by spectralWindow().

casacore::Vector<casacore::Int> casa::VisBuffer::stateId_p
private

Definition at line 1132 of file VisBuffer.h.

Referenced by stateId().

VisBuffer* casa::VisBuffer::This
private
casacore::Vector<casacore::Double> casa::VisBuffer::time_p
private

Definition at line 1133 of file VisBuffer.h.

Referenced by time().

casacore::Vector<casacore::Double> casa::VisBuffer::timeCentroid_p
private

Definition at line 1134 of file VisBuffer.h.

Referenced by timeCentroid().

casacore::Vector<casacore::Double> casa::VisBuffer::timeInterval_p
private

Definition at line 1135 of file VisBuffer.h.

Referenced by timeInterval().

casacore::Bool casa::VisBuffer::twoWayConnection_p
private

Definition at line 938 of file VisBuffer.h.

casacore::Vector<casacore::RigidVector<casacore::Double, 3> > casa::VisBuffer::uvw_p
private

Definition at line 1136 of file VisBuffer.h.

Referenced by uvw().

casacore::Matrix<casacore::Double> casa::VisBuffer::uvwMat_p
private

Definition at line 1137 of file VisBuffer.h.

Referenced by uvwMat().

casacore::Cube<casacore::Complex> casa::VisBuffer::visCube_p
private

Definition at line 1138 of file VisBuffer.h.

Referenced by visCube().

casacore::Matrix<CStokesVector> casa::VisBuffer::visibility_p
private

Definition at line 1139 of file VisBuffer.h.

Referenced by visibility().

ROVisibilityIterator* casa::VisBuffer::visIter_p
private
casacore::CountedPtr<VisModelDataI> casa::VisBuffer::visModelData_p
private

Definition at line 940 of file VisBuffer.h.

casacore::Vector<casacore::Float> casa::VisBuffer::weight_p
private

Definition at line 1140 of file VisBuffer.h.

Referenced by weight().

casacore::Cube<casacore::Float> casa::VisBuffer::weightCube_p
private

Definition at line 1141 of file VisBuffer.h.

Referenced by weightCube().

casacore::Matrix<casacore::Float> casa::VisBuffer::weightMat_p
private

Definition at line 1142 of file VisBuffer.h.

Referenced by weightMat().

casacore::Cube<casacore::Float> casa::VisBuffer::weightSpectrum_p
private

Definition at line 1143 of file VisBuffer.h.

Referenced by weightSpectrum().


The documentation for this class was generated from the following file: