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 | Private Attributes | Friends | List of all members
casa::VisBufferAsyncWrapper Class Reference

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

#include <VisBufferAsyncWrapper.h>

Inheritance diagram for casa::VisBufferAsyncWrapper:
casa::VisBufferAsync casa::VisBuffer

Public Member Functions

 VisBufferAsyncWrapper ()
 Create empty VisBuffer you can assign to or attach. More...
 
 VisBufferAsyncWrapper (ROVisibilityIterator &iter)
 
// Construct VisBuffer for a particular VisibilityIterator

The buffer will remain synchronized with the iterator. More...

 
 VisBufferAsyncWrapper (const VisBufferAsync &vb)
 Copy construct, looses synchronization with iterator: only use buffer for current iteration (or reattach). More...
 
virtual ~VisBufferAsyncWrapper ()
 Destructor (detaches from VisIter) More...
 
virtual VisBufferAsyncWrapperoperator= (const VisBufferAsyncWrapper &vb)
 Assignment, loses synchronization with iterator: only use buffer for current iteration (or reattach) More...
 
virtual VisBufferAsyncWrapperassign (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...
 
VisBufferAsyncWrapperoperator-= (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...
 
void attachToVisIterAsync (ROVisibilityIterator &iter)
 
virtual VisBufferclone ()
 
virtual void detachFromVisIter ()
 virtual casacore::Int dataDescriptionId() const; More...
 
virtual void invalidate ()
 Invalidate the cache. More...
 
virtual casacore::IntnCorr ()
 Access functions. More...
 
casacore::Int nCorr () const
 
casacore::IntnChannel ()
 
casacore::Int nChannel () const
 
casacore::Vector< casacore::Int > & channel ()
 
const casacore::Vector
< casacore::Int > & 
channel () const
 
casacore::Bool newArrayId () const
 
casacore::Bool newFieldId () const
 
casacore::Bool newSpectralWindow () const
 
casacore::IntnRow ()
 virtual casacore::Int & nCat() { return nCatOK_p ? nCat_p : fillnCat(); } virtual casacore::Int nCat() const { return This->nCat(); } More...
 
casacore::Int nRow () const
 
casacore::Vector< casacore::Int > & antenna1 ()
 
const casacore::Vector
< casacore::Int > & 
antenna1 () const
 
casacore::Vector< casacore::Int > & antenna2 ()
 
const casacore::Vector
< casacore::Int > & 
antenna2 () const
 
casacore::Vector< casacore::Int > & feed1 ()
 
const casacore::Vector
< casacore::Int > & 
feed1 () const
 
casacore::Vector< casacore::Int > & feed2 ()
 
const casacore::Vector
< casacore::Int > & 
feed2 () const
 
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...
 
const casacore::Vector
< casacore::Float > & 
feed1_pa () const
 
casacore::Vector
< casacore::Float > & 
feed2_pa ()
 
const casacore::Vector
< casacore::Float > & 
feed2_pa () const
 
casacore::Vector
< casacore::SquareMatrix
< casacore::Complex, 2 > > & 
CJones ()
 
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...
 
casacore::Vector
< casacore::MDirection > & 
direction1 ()
 direction1() and direction2() return arrays of directions where the first and the second antenna/feed are pointed to. More...
 
const casacore::Vector
< casacore::MDirection > & 
direction1 () const
 
casacore::Vector
< casacore::MDirection > & 
direction2 ()
 
const casacore::Vector
< casacore::MDirection > & 
direction2 () 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...
 
casacore::Vector
< casacore::Double > & 
azel0Vec (casacore::Double time, casacore::Vector< casacore::Double > &azelVec) const
 
virtual casacore::Vector
< casacore::MDirection
azel (casacore::Double time) const
 
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...
 
casacore::Int fieldId () const
 
casacore::Int arrayId () const
 
casacore::Int polarizationId () const
 
casacore::Matrix
< casacore::Bool > & 
flag ()
 Return flag for each channel & row. More...
 
const casacore::Matrix
< casacore::Bool > & 
flag () const
 
casacore::Cube< casacore::Bool > & flagCube ()
 Return flag for each polarization, channel and row. More...
 
const casacore::Cube
< casacore::Bool > & 
flagCube () const
 
casacore::Vector
< casacore::Bool > & 
flagRow ()
 
const casacore::Vector
< casacore::Bool > & 
flagRow () const
 
casacore::Array< casacore::Bool > & flagCategory ()
 Return flags for each polarization, channel, category, and row. More...
 
const casacore::Array
< casacore::Bool > & 
flagCategory () const
 
casacore::Vector< casacore::Int > & scan ()
 
const casacore::Vector
< casacore::Int > & 
scan () const
 
casacore::Int scan0 ()
 scalar version for convenience, when scan known constant for entire iteration/buffer. More...
 
casacore::Vector< casacore::Int > & processorId ()
 
const casacore::Vector
< casacore::Int > & 
processorId () const
 
casacore::Vector< casacore::Int > & observationId ()
 
const casacore::Vector
< casacore::Int > & 
observationId () const
 
casacore::Vector< casacore::Int > & stateId ()
 
const casacore::Vector
< casacore::Int > & 
stateId () const
 
casacore::Vector
< casacore::Double > & 
frequency ()
 Gets SPECTRAL_WINDOW/CHAN_FREQ (in Hz, acc. More...
 
const casacore::Vector
< casacore::Double > & 
frequency () const
 
virtual void lsrFrequency (const casacore::Int &spw, casacore::Vector< casacore::Double > &freq, casacore::Bool &convert) const
 casacore::Vector<casacore::Double>& lsrFrequency(); const casacore::Vector<casacore::Double>& lsrFrequency() const; More...
 
virtual casacore::Int numberCoh () const
 
casacore::MDirectionphaseCenter ()
 
casacore::MDirection phaseCenter () const
 
casacore::Int polFrame () const
 
casacore::Vector< casacore::Int > & corrType ()
 
const casacore::Vector
< casacore::Int > & 
corrType () const
 
casacore::Vector
< casacore::Float > & 
sigma ()
 
const casacore::Vector
< casacore::Float > & 
sigma () const
 
casacore::Matrix
< casacore::Float > & 
sigmaMat ()
 
const casacore::Matrix
< casacore::Float > & 
sigmaMat () const
 
casacore::IntspectralWindow ()
 
casacore::Int spectralWindow () const
 
virtual casacore::Int dataDescriptionId () const
 
casacore::Vector
< casacore::Double > & 
time ()
 
const casacore::Vector
< casacore::Double > & 
time () const
 
casacore::Vector
< casacore::Double > & 
timeCentroid ()
 
const casacore::Vector
< casacore::Double > & 
timeCentroid () const
 
casacore::Vector
< casacore::Double > & 
timeInterval ()
 
const casacore::Vector
< casacore::Double > & 
timeInterval () const
 
casacore::Vector
< casacore::Double > & 
exposure ()
 
const casacore::Vector
< casacore::Double > & 
exposure () const
 
casacore::Vector
< casacore::RigidVector
< casacore::Double, 3 > > & 
uvw ()
 
const casacore::Vector
< casacore::RigidVector
< casacore::Double, 3 > > & 
uvw () const
 
casacore::Matrix
< casacore::Double > & 
uvwMat ()
 
const casacore::Matrix
< casacore::Double > & 
uvwMat () const
 
casacore::Matrix< CStokesVector > & visibility ()
 
const casacore::Matrix
< CStokesVector > & 
visibility () const
 
casacore::Matrix< CStokesVector > & modelVisibility ()
 
const casacore::Matrix
< CStokesVector > & 
modelVisibility () const
 
casacore::Matrix< CStokesVector > & correctedVisibility ()
 
const casacore::Matrix
< CStokesVector > & 
correctedVisibility () const
 
casacore::Cube
< casacore::Complex > & 
visCube ()
 
const casacore::Cube
< casacore::Complex > & 
visCube () const
 
casacore::Cube
< casacore::Complex > & 
modelVisCube ()
 
casacore::Cube
< casacore::Complex > & 
modelVisCube (const casacore::Bool &matchVisCubeShape)
 
const casacore::Cube
< casacore::Complex > & 
modelVisCube () const
 
casacore::Cube
< casacore::Complex > & 
correctedVisCube ()
 
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
 
casacore::Cube< casacore::Float > & floatDataCube ()
 
const casacore::Cube
< casacore::Float > & 
floatDataCube () const
 
casacore::Vector
< casacore::Float > & 
weight ()
 Returns the weights for each row averaged over the parallel hand correlations. More...
 
const casacore::Vector
< casacore::Float > & 
weight () const
 
casacore::Matrix
< casacore::Float > & 
weightMat ()
 Returns the nPol_p x curNumRow_p weight matrix. More...
 
const casacore::Matrix
< casacore::Float > & 
weightMat () const
 
casacore::Bool existsWeightSpectrum () const
 Is a valid WEIGHT_SPECTRUM available? More...
 
casacore::Cube< casacore::Float > & weightSpectrum ()
 
const casacore::Cube
< casacore::Float > & 
weightSpectrum () const
 
const casacore::Matrix
< casacore::Float > & 
imagingWeight () const
 
casacore::Matrix
< casacore::Float > & 
imagingWeight ()
 
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...
 
casacore::Vector< casacore::IntvecIntRange (const MSCalEnums::colDef &calEnum) const
 Utility functions to provide coordinate or column ranges of the data in the VisBuffer. More...
 
casacore::Vector< casacore::IntantIdRange () const
 Antenna id. More...
 
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
 
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)
 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...
 
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 formStokes ()
 Form casacore::Stokes parameters from correlations (these are preliminary versions) More...
 
void formStokesWeightandFlag ()
 
void formStokes (casacore::Cube< casacore::Complex > &vis)
 
void formStokes (casacore::Cube< casacore::Float > &fcube)
 
void sortCorr ()
 casacore::Sort/unsort the correlations, if necessary (Rudimentary handling of non-canonically sorted correlations–use with care!) More...
 
void unSortCorr ()
 
void normalize (const casacore::Bool &phaseOnly=false)
 Normalize the visCube by the modelVisCube (and optionally also divide visCube_p by its normalized amp) More...
 
void resetWeightMat ()
 Fill weightMat according to sigma column. More...
 
void phaseCenterShift (casacore::Double dx, casacore::Double dy)
 Rotate visibility phase for phase center offsets. More...
 
virtual void updateCoordInfo (const VisBuffer *vb=NULL)
 Update coordinate info - useful for copied VisBuffers that need to retain some state for later reference. More...
 
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)
 
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...
 
void setModelVisCube (const casacore::Cube< casacore::Complex > &vis)
 
void setCorrectedVisCube (const casacore::Cube< casacore::Complex > &vis)
 
void setFloatDataCube (const casacore::Cube< casacore::Float > &fcube)
 Like the above, but for FLOAT_DATA, keeping it as real floats. More...
 
void setModelVisCube (const casacore::Vector< casacore::Float > &stokes)
 Set model according to a casacore::Stokes vector. More...
 
void refModelVis (const casacore::Matrix< CStokesVector > &mvis)
 Reference external model visibilities. More...
 
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...
 
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...
 
void wrap (VisBufferAsync *vba)
 
- Public Member Functions inherited from casa::VisBufferAsync
 ~VisBufferAsync ()
 VisBufferAsync (const VisBuffer& vb);. More...
 
VisBufferAsyncoperator= (const VisBufferAsync &other)
 
virtual VisBufferclone () const
 
virtual void invalidateAsync ()
 
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...
 
casacore::Bool newMS () const
 checked if the ms has changed since the last chunk processed More...
 
casacore::Int nRowChunk () const
 
casacore::Int numberAnt () const
 
casacore::Int numberCoh () const
 
- Public Member Functions inherited from casa::VisBuffer
 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...
 
VisBufferoperator-= (const VisBuffer &vb)
 subtraction: return the difference of the visibilities, flags of this and other are or-ed. More...
 
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::MDirectionfirstDirection1 ()
 
virtual const
casacore::MDirection
firstDirection1 () const
 
virtual casacore::IntfieldIdRef ()
 
virtual casacore::IntarrayIdRef ()
 
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 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::IntdataDescriptionIdRef ()
 
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
 
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...
 
void chanAveFlagCategory (casacore::Array< casacore::Bool > &flagcat, const casacore::Int nChanOut)
 Doesn't do anything if flagcat is degenerate. More...
 
virtual void phaseCenterShift (const casacore::Vector< casacore::Double > &phase)
 Rotate visibility phase for given vector (dim = nrow of vb) of phases (metres) More...
 
void copyCoordInfo (const VisBuffer &other, casacore::Bool force=false)
 
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::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...
 

Protected Member Functions

virtual casacore::Bool checkMSId ()
 
virtual void checkVisIter (const char *func, const char *file, int line) const
 
void copyCache (const VisBuffer &other, casacore::Bool force)
 
const VisImagingWeightgetImagingWeightGenerator () const
 
casacore::Int getOldMsId () const
 
ROVisibilityIteratorgetVisibilityIterator () const
 
VisBufferAsyncreleaseVba ()
 
 CacheStatus (antenna1)
 
 CacheStatus (antenna2)
 
 CacheStatus (arrayId)
 
 CacheStatus (channel)
 
 CacheStatus (cjones)
 
 CacheStatus (correctedVisCube)
 
 CacheStatus (correctedVisibility)
 
 CacheStatus (corrType)
 
 CacheStatus (dataDescriptionId)
 
 CacheStatus (direction1)
 
 CacheStatus (direction2)
 
 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)
 
- Protected Member Functions inherited from casa::VisBufferAsync
 VisBufferAsync ()
 The constructors are not public because creation should be performed by a factory object (e.g., VisBufferAutoPtr). More...
 
 VisBufferAsync (const VisBufferAsync &other)
 
 VisBufferAsync (ROVisibilityIterator &iter)
 
void attachToVisIter (ROVisibilityIterator &iter)
 Attach to a VisIter. More...
 
void checkVisIter (const char *func, const char *file, int line, const char *extra="") const
 
void clear ()
 
void construct ()
 
virtual void copyAsyncValues (const VisBufferAsync &other)
 
template<typename T >
void copyVector (const casacore::Vector< T > &from, casacore::Vector< T > &to)
 
casacore::Vector
< casacore::MDirection > & 
fillDirection1 ()
 
casacore::Vector
< casacore::MDirection > & 
fillDirection2 ()
 
void fillFrom (const VisBufferAsync &other)
 
casacore::MDirectionfillPhaseCenter ()
 
casacore::Bool getAllBeamOffsetsZero () const
 
const casacore::Vector
< casacore::String > & 
getAntennaMounts () const
 
const casacore::Cube
< casacore::RigidVector
< casacore::Double, 2 > > & 
getBeamOffsets () const
 
const casacore::MeasurementSetgetMs () const
 
casacore::Int getNSpw () const
 
casacore::MDirection getPhaseCenter () const
 
const casacore::Cube
< casacore::Double > & 
getReceptorAngles () const
 
void setAngleInfo (casacore::Bool allBeamOffsetsZero, const casacore::Vector< casacore::String > antennaMounts, casacore::Cube< casacore::RigidVector< casacore::Double, 2 > > beamOffsets, const casacore::Cube< casacore::Double > &receptorAngles)
 
void initializeScalars ()
 
void setFilling (casacore::Bool isFilling)
 
void setLsrInfo (const casacore::Block< casacore::Int > &channelGroupNumber, const casacore::Block< casacore::Int > &channelIncrement, const casacore::Block< casacore::Int > &channelStart, const casacore::Block< casacore::Int > &channelWidth, const casacore::MPosition &observatoryPosition, const casacore::MDirection &phaseCenter, casacore::Bool velocitySelection)
 
void setMeasurementSet (const casacore::MeasurementSet &ms)
 
void setMeasurementSetId (casacore::Int id, bool isNew)
 
void setMEpoch (const casacore::MEpoch &mEpoch)
 
void setMSD (const casacore::MSDerivedValues &msd)
 
void setNAntennas (casacore::Int)
 
void setNCoh (casacore::Int)
 
void setNSpw (casacore::Int)
 
void setNewEntityFlags (bool newArrayId, bool newFieldId, bool newSpectralWindow)
 
void setPolarizationId (casacore::Int)
 
void setNRowChunk (casacore::Int)
 
void setReceptor0Angle (const casacore::Vector< casacore::Float > &receptor0Angle)
 
void setRowIds (const casacore::Vector< casacore::uInt > &rowIds)
 
void setSelectedNVisibilityChannels (const casacore::Vector< casacore::Int > &nVisibilityChannels)
 
void setSelectedSpectralWindows (const casacore::Vector< casacore::Int > &spectralWindows)
 
void setTopoFreqs (const casacore::Vector< casacore::Double > &lsrFreq, const casacore::Vector< casacore::Double > &selFreq_p)
 
void setVisibilityShape (const casacore::IPosition &pvisibilityShape)
 
void updateCoordInfo (const VisBuffer *, const casacore::Bool dirDependent=true)
 Update coordinate info - useful for copied VisBuffers that need to retain some state for later reference. More...
 
- Protected Member Functions inherited from casa::VisBuffer
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
 
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

void validate ()
 validate the cache More...
 
void attachWrappedVb (ROVisibilityIterator *iter)
 
void setAllCacheStatuses (bool status)
 
casacore::Bool nonCanonCorr ()
 
casacore::Vector< casacore::Intunique (const casacore::Vector< casacore::Int > &indices) const
 Filter index arrays for unique elements. More...
 
casacore::Vector< casacore::Int > & fillAnt1 ()
 +----------------------------------------------—+ | Cache Declarations (fillers, statuses and data) | +----------------------------------------------—+ More...
 
casacore::Vector< casacore::Int > & fillAnt2 ()
 
casacore::IntfillArrayId ()
 
casacore::Vector< casacore::Int > & fillChannel ()
 casacore::Matrix<casacore::Int>& fillChanAveBounds(); More...
 
casacore::Vector
< casacore::SquareMatrix
< casacore::Complex, 2 > > & 
fillCjones ()
 
casacore::Vector< casacore::Int > & fillCorrType ()
 
virtual casacore::Vector
< casacore::MDirection > & 
fillDirection1 ()
 
virtual casacore::Vector
< casacore::MDirection > & 
fillDirection2 ()
 
casacore::Vector
< casacore::Double > & 
fillExposure ()
 
casacore::Vector< casacore::Int > & fillFeed1 ()
 
casacore::Vector
< casacore::Float > & 
fillFeed1_pa ()
 
casacore::Vector< casacore::Int > & fillFeed2 ()
 
casacore::Vector
< casacore::Float > & 
fillFeed2_pa ()
 
casacore::IntfillFieldId ()
 
casacore::Matrix
< casacore::Bool > & 
fillFlag ()
 
casacore::Array< casacore::Bool > & fillFlagCategory ()
 
casacore::Cube< casacore::Bool > & fillFlagCube ()
 
casacore::Vector
< casacore::Bool > & 
fillFlagRow ()
 
casacore::Cube< casacore::Float > & fillFloatDataCube ()
 
casacore::Vector
< casacore::Double > & 
fillFreq ()
 
casacore::IntfillnChannel ()
 casacore::Matrix<casacore::Float>& fillImagingWeight(); casacore::Vector<casacore::Double>& fillLSRFreq(); More...
 
casacore::IntfillnCorr ()
 
casacore::IntfillnRow ()
 virtual casacore::Int & fillnCat(); More...
 
casacore::Vector< casacore::Int > & fillObservationId ()
 
virtual casacore::MDirectionfillPhaseCenter ()
 
casacore::IntfillPolFrame ()
 
casacore::Vector< casacore::Int > & fillProcessorId ()
 
casacore::Vector< casacore::Int > & fillScan ()
 
casacore::Vector
< casacore::Float > & 
fillSigma ()
 
casacore::Matrix
< casacore::Float > & 
fillSigmaMat ()
 
casacore::IntfillSpW ()
 
casacore::Vector< casacore::Int > & fillStateId ()
 
casacore::Vector
< casacore::Double > & 
fillTime ()
 
casacore::Vector
< casacore::Double > & 
fillTimeCentroid ()
 
casacore::Vector
< casacore::Double > & 
fillTimeInterval ()
 
casacore::Vector
< casacore::RigidVector
< casacore::Double, 3 > > & 
filluvw ()
 
casacore::Matrix
< casacore::Double > & 
filluvwMat ()
 
casacore::Matrix< CStokesVector > & fillVis (VisibilityIterator::DataColumn whichOne)
 
casacore::Cube
< casacore::Complex > & 
fillVisCube (VisibilityIterator::DataColumn whichOne)
 
casacore::Vector
< casacore::Float > & 
fillWeight ()
 
casacore::Matrix
< casacore::Float > & 
fillWeightMat ()
 
casacore::Cube< casacore::Float > & fillWeightSpectrum ()
 

Private Attributes

VisBufferAsyncwrappedVba_p
 
ROVisibilityIteratorwrappedVisIterAsync_p
 

Friends

class ViReadImplAsync
 

Additional Inherited Members

- Static Protected Member Functions inherited from casa::VisBufferAsync
static casacore::MDirection unsharedCopyDirection (const casacore::MDirection &direction)
 
static void unsharedCopyDirectionVector (casacore::Vector< casacore::MDirection > &direction)
 
static casacore::MEpoch unsharedCopyEpoch (const casacore::MEpoch &mEpoch)
 
static casacore::MPosition unsharedCopyPosition (const casacore::MPosition &position)
 

Detailed Description

VisBuffers encapulsate 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.

To Do

Definition at line 81 of file VisBufferAsyncWrapper.h.

Constructor & Destructor Documentation

casa::VisBufferAsyncWrapper::VisBufferAsyncWrapper ( )

Create empty VisBuffer you can assign to or attach.

casa::VisBufferAsyncWrapper::VisBufferAsyncWrapper ( ROVisibilityIterator iter)

// Construct VisBuffer for a particular VisibilityIterator

The buffer will remain synchronized with the iterator.

casa::VisBufferAsyncWrapper::VisBufferAsyncWrapper ( const VisBufferAsync vb)

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

virtual casa::VisBufferAsyncWrapper::~VisBufferAsyncWrapper ( )
virtual

Destructor (detaches from VisIter)

Member Function Documentation

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

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

Reimplemented from casa::VisBufferAsync.

void casa::VisBufferAsyncWrapper::allSelectedSpectralWindows ( casacore::Vector< casacore::Int > &  spws,
casacore::Vector< casacore::Int > &  nvischan 
) const
casacore::Vector<casacore::Int>& casa::VisBufferAsyncWrapper::antenna1 ( )
virtual

Reimplemented from casa::VisBuffer.

const casacore::Vector<casacore::Int>& casa::VisBufferAsyncWrapper::antenna1 ( ) const
virtual

Reimplemented from casa::VisBuffer.

casacore::Vector<casacore::Int>& casa::VisBufferAsyncWrapper::antenna2 ( )
virtual

Reimplemented from casa::VisBuffer.

const casacore::Vector<casacore::Int>& casa::VisBufferAsyncWrapper::antenna2 ( ) const
virtual

Reimplemented from casa::VisBuffer.

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

Antenna id.

range (includes both ANTENNA1 and ANTENNA2 columns)

Reimplemented from casa::VisBuffer.

casacore::Int casa::VisBufferAsyncWrapper::arrayId ( ) const
virtual

Reimplemented from casa::VisBuffer.

virtual VisBufferAsyncWrapper& casa::VisBufferAsyncWrapper::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 from casa::VisBufferAsync.

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

Attach to a VisIter.

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

Reimplemented from casa::VisBuffer.

void casa::VisBufferAsyncWrapper::attachToVisIterAsync ( ROVisibilityIterator iter)
void casa::VisBufferAsyncWrapper::attachWrappedVb ( ROVisibilityIterator iter)
private
virtual casacore::Vector<casacore::MDirection> casa::VisBufferAsyncWrapper::azel ( casacore::Double  time) const
virtual

Reimplemented from casa::VisBufferAsync.

virtual casacore::MDirection casa::VisBufferAsyncWrapper::azel0 ( casacore::Double  time) const
virtual

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

Reimplemented from casa::VisBufferAsync.

casacore::Vector<casacore::Double>& casa::VisBufferAsyncWrapper::azel0Vec ( casacore::Double  time,
casacore::Vector< casacore::Double > &  azelVec 
) const
virtual

Reimplemented from casa::VisBuffer.

casacore::Matrix<casacore::Double>& casa::VisBufferAsyncWrapper::azelMat ( casacore::Double  time,
casacore::Matrix< casacore::Double > &  azelMat 
) const
virtual

Reimplemented from casa::VisBuffer.

casa::VisBufferAsyncWrapper::CacheStatus ( antenna1  )
protected
casa::VisBufferAsyncWrapper::CacheStatus ( antenna2  )
protected
casa::VisBufferAsyncWrapper::CacheStatus ( arrayId  )
protected
casa::VisBufferAsyncWrapper::CacheStatus ( channel  )
protected
casa::VisBufferAsyncWrapper::CacheStatus ( cjones  )
protected
casa::VisBufferAsyncWrapper::CacheStatus ( correctedVisCube  )
protected
casa::VisBufferAsyncWrapper::CacheStatus ( correctedVisibility  )
protected
casa::VisBufferAsyncWrapper::CacheStatus ( corrType  )
protected
casa::VisBufferAsyncWrapper::CacheStatus ( dataDescriptionId  )
protected
casa::VisBufferAsyncWrapper::CacheStatus ( direction1  )
protected
casa::VisBufferAsyncWrapper::CacheStatus ( direction2  )
protected
casa::VisBufferAsyncWrapper::CacheStatus ( exposure  )
protected
casa::VisBufferAsyncWrapper::CacheStatus ( feed1_pa  )
protected
casa::VisBufferAsyncWrapper::CacheStatus ( feed1  )
protected
casa::VisBufferAsyncWrapper::CacheStatus ( feed2_pa  )
protected
casa::VisBufferAsyncWrapper::CacheStatus ( feed2  )
protected
casa::VisBufferAsyncWrapper::CacheStatus ( fieldId  )
protected
casa::VisBufferAsyncWrapper::CacheStatus ( flagCategory  )
protected
casa::VisBufferAsyncWrapper::CacheStatus ( flagCube  )
protected
casa::VisBufferAsyncWrapper::CacheStatus ( flag  )
protected
casa::VisBufferAsyncWrapper::CacheStatus ( flagRow  )
protected
casa::VisBufferAsyncWrapper::CacheStatus ( floatDataCube  )
protected
casa::VisBufferAsyncWrapper::CacheStatus ( frequency  )
protected
casa::VisBufferAsyncWrapper::CacheStatus ( imagingWeight  )
protected
casa::VisBufferAsyncWrapper::CacheStatus ( modelVisCube  )
protected
casa::VisBufferAsyncWrapper::CacheStatus ( modelVisibility  )
protected
casa::VisBufferAsyncWrapper::CacheStatus ( ms  )
protected
casa::VisBufferAsyncWrapper::CacheStatus ( nChannel  )
protected
casa::VisBufferAsyncWrapper::CacheStatus ( nCorr  )
protected
casa::VisBufferAsyncWrapper::CacheStatus ( nRow  )
protected
casa::VisBufferAsyncWrapper::CacheStatus ( observationId  )
protected
casa::VisBufferAsyncWrapper::CacheStatus ( phaseCenter  )
protected
casa::VisBufferAsyncWrapper::CacheStatus ( polFrame  )
protected
casa::VisBufferAsyncWrapper::CacheStatus ( processorId  )
protected
casa::VisBufferAsyncWrapper::CacheStatus ( rowIds  )
protected
casa::VisBufferAsyncWrapper::CacheStatus ( scan  )
protected
casa::VisBufferAsyncWrapper::CacheStatus ( sigmaMat  )
protected
casa::VisBufferAsyncWrapper::CacheStatus ( sigma  )
protected
casa::VisBufferAsyncWrapper::CacheStatus ( spectralWindow  )
protected
casa::VisBufferAsyncWrapper::CacheStatus ( stateId  )
protected
casa::VisBufferAsyncWrapper::CacheStatus ( timeCentroid  )
protected
casa::VisBufferAsyncWrapper::CacheStatus ( timeInterval  )
protected
casa::VisBufferAsyncWrapper::CacheStatus ( time  )
protected
casa::VisBufferAsyncWrapper::CacheStatus ( uvwMat  )
protected
casa::VisBufferAsyncWrapper::CacheStatus ( uvw  )
protected
casa::VisBufferAsyncWrapper::CacheStatus ( visCube  )
protected
casa::VisBufferAsyncWrapper::CacheStatus ( visibility  )
protected
casa::VisBufferAsyncWrapper::CacheStatus ( weightMat  )
protected
casa::VisBufferAsyncWrapper::CacheStatus ( weight  )
protected
casa::VisBufferAsyncWrapper::CacheStatus ( weightSpectrum  )
protected
template<class T >
void casa::VisBufferAsyncWrapper::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::VisBufferAsyncWrapper::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 from casa::VisBuffer.

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

Average channel axis by factor.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

void casa::VisBufferAsyncWrapper::channelAve ( const casacore::Matrix< casacore::Int > &  chanavebounds)

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::VisBufferAsyncWrapper::checkMSId ( )
protectedvirtual

Reimplemented from casa::VisBuffer.

virtual void casa::VisBufferAsyncWrapper::checkVisIter ( const char *  func,
const char *  file,
int  line 
) const
protectedvirtual
casacore::Vector<casacore::SquareMatrix<casacore::Complex, 2> >& casa::VisBufferAsyncWrapper::CJones ( )
virtual

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

virtual VisBuffer* casa::VisBufferAsyncWrapper::clone ( )
virtual
void casa::VisBufferAsyncWrapper::copyCache ( const VisBuffer other,
casacore::Bool  force 
)
protectedvirtual

Reimplemented from casa::VisBufferAsync.

casacore::Cube<casacore::Complex>& casa::VisBufferAsyncWrapper::correctedVisCube ( )
virtual

Reimplemented from casa::VisBuffer.

const casacore::Cube<casacore::Complex>& casa::VisBufferAsyncWrapper::correctedVisCube ( ) const
virtual

Reimplemented from casa::VisBuffer.

casacore::Matrix<CStokesVector>& casa::VisBufferAsyncWrapper::correctedVisibility ( )
virtual

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

casacore::Cube<casacore::Complex>& casa::VisBufferAsyncWrapper::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::VisBufferAsyncWrapper::dataCube ( const casacore::MS::PredefinedColumns  whichcol = casacore::MS::DATA) const
virtual casacore::Int casa::VisBufferAsyncWrapper::dataDescriptionId ( ) const
virtual

Reimplemented from casa::VisBuffer.

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

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 from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

casacore::Bool casa::VisBufferAsyncWrapper::existsWeightSpectrum ( ) const
virtual

Is a valid WEIGHT_SPECTRUM available?

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

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 from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

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

Reimplemented from casa::VisBufferAsync.

casacore::Int casa::VisBufferAsyncWrapper::fieldId ( ) const
virtual

Reimplemented from casa::VisBuffer.

casacore::Vector<casacore::Int>& casa::VisBufferAsyncWrapper::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 from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

casacore::Int& casa::VisBufferAsyncWrapper::fillArrayId ( )
privatevirtual

Reimplemented from casa::VisBuffer.

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

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

virtual casacore::Vector<casacore::MDirection>& casa::VisBufferAsyncWrapper::fillDirection1 ( )
privatevirtual

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

casacore::Int& casa::VisBufferAsyncWrapper::fillFieldId ( )
privatevirtual

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

casacore::Int& casa::VisBufferAsyncWrapper::fillnChannel ( )
privatevirtual

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

Reimplemented from casa::VisBuffer.

casacore::Int& casa::VisBufferAsyncWrapper::fillnCorr ( )
privatevirtual

Reimplemented from casa::VisBuffer.

casacore::Int& casa::VisBufferAsyncWrapper::fillnRow ( )
privatevirtual

virtual casacore::Int & fillnCat();

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

casacore::Int& casa::VisBufferAsyncWrapper::fillPolFrame ( )
privatevirtual

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

casacore::Int& casa::VisBufferAsyncWrapper::fillSpW ( )
privatevirtual

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

casacore::Matrix<CStokesVector>& casa::VisBufferAsyncWrapper::fillVis ( VisibilityIterator::DataColumn  whichOne)
privatevirtual

Reimplemented from casa::VisBuffer.

casacore::Cube<casacore::Complex>& casa::VisBufferAsyncWrapper::fillVisCube ( VisibilityIterator::DataColumn  whichOne)
privatevirtual

Reimplemented from casa::VisBuffer.

casacore::Vector<casacore::Float>& casa::VisBufferAsyncWrapper::fillWeight ( )
privatevirtual

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Return flag for each channel & row.

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Return flag for each polarization, channel and row.

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

void casa::VisBufferAsyncWrapper::formStokes ( )
virtual

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

Reimplemented from casa::VisBuffer.

void casa::VisBufferAsyncWrapper::formStokes ( casacore::Cube< casacore::Complex > &  vis)
virtual

Reimplemented from casa::VisBuffer.

void casa::VisBufferAsyncWrapper::formStokes ( casacore::Cube< casacore::Float > &  fcube)
virtual

Reimplemented from casa::VisBuffer.

void casa::VisBufferAsyncWrapper::formStokesWeightandFlag ( )
virtual

Reimplemented from casa::VisBuffer.

void casa::VisBufferAsyncWrapper::freqAveCubes ( )

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

void casa::VisBufferAsyncWrapper::freqAverage ( )
virtual

Frequency average the buffer (visibility() column only)

Reimplemented from casa::VisBuffer.

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

Gets SPECTRAL_WINDOW/CHAN_FREQ (in Hz, acc.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

const VisImagingWeight& casa::VisBufferAsyncWrapper::getImagingWeightGenerator ( ) const
protected
casacore::Int casa::VisBufferAsyncWrapper::getOldMsId ( ) const
protectedvirtual

Reimplemented from casa::VisBuffer.

ROVisibilityIterator* casa::VisBufferAsyncWrapper::getVisibilityIterator ( ) const
protectedvirtual

Reimplemented from casa::VisBuffer.

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

Hour angle for specified time.

Reimplemented from casa::VisBufferAsync.

const casacore::Matrix<casacore::Float>& casa::VisBufferAsyncWrapper::imagingWeight ( ) const
virtual

Reimplemented from casa::VisBuffer.

casacore::Matrix<casacore::Float>& casa::VisBufferAsyncWrapper::imagingWeight ( )
virtual

Reimplemented from casa::VisBuffer.

virtual void casa::VisBufferAsyncWrapper::invalidate ( )
virtual

Invalidate the cache.

Reimplemented from casa::VisBufferAsync.

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

casacore::Vector<casacore::Double>& lsrFrequency(); const casacore::Vector<casacore::Double>& lsrFrequency() const;

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

Reimplemented from casa::VisBufferAsync.

casacore::Cube<casacore::Complex>& casa::VisBufferAsyncWrapper::modelVisCube ( )
virtual

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

casacore::Matrix<CStokesVector>& casa::VisBufferAsyncWrapper::modelVisibility ( )
virtual

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

virtual const casacore::ROMSColumns& casa::VisBufferAsyncWrapper::msColumns ( ) const
virtual

Access the current casacore::ROMSColumns object via VisIter.

Reimplemented from casa::VisBufferAsync.

virtual casacore::Int casa::VisBufferAsyncWrapper::msId ( ) const
virtual

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

Reimplemented from casa::VisBuffer.

casacore::Int& casa::VisBufferAsyncWrapper::nChannel ( )
virtual

Reimplemented from casa::VisBuffer.

casacore::Int casa::VisBufferAsyncWrapper::nChannel ( ) const
virtual

Reimplemented from casa::VisBuffer.

virtual casacore::Int& casa::VisBufferAsyncWrapper::nCorr ( )
virtual

Access functions.

Reimplemented from casa::VisBuffer.

casacore::Int casa::VisBufferAsyncWrapper::nCorr ( ) const
virtual

Reimplemented from casa::VisBuffer.

casacore::Bool casa::VisBufferAsyncWrapper::newArrayId ( ) const
virtual

Reimplemented from casa::VisBufferAsync.

casacore::Bool casa::VisBufferAsyncWrapper::newFieldId ( ) const
virtual

Reimplemented from casa::VisBufferAsync.

virtual casacore::Bool casa::VisBufferAsyncWrapper::newMS ( ) const
virtual

checked if the ms has changed since the last chunk processed

Reimplemented from casa::VisBuffer.

casacore::Bool casa::VisBufferAsyncWrapper::newSpectralWindow ( ) const
virtual

Reimplemented from casa::VisBufferAsync.

casacore::Bool casa::VisBufferAsyncWrapper::nonCanonCorr ( )
privatevirtual

Reimplemented from casa::VisBuffer.

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

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

Reimplemented from casa::VisBuffer.

casacore::Int& casa::VisBufferAsyncWrapper::nRow ( )
virtual

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 from casa::VisBuffer.

casacore::Int casa::VisBufferAsyncWrapper::nRow ( ) const
virtual

Reimplemented from casa::VisBuffer.

virtual casacore::Int casa::VisBufferAsyncWrapper::numberAnt ( ) const
virtual

Reimplemented from casa::VisBuffer.

virtual casacore::Int casa::VisBufferAsyncWrapper::numberCoh ( ) const
virtual

Reimplemented from casa::VisBuffer.

casacore::Vector<casacore::Int>& casa::VisBufferAsyncWrapper::observationId ( )
virtual

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

VisBufferAsyncWrapper& casa::VisBufferAsyncWrapper::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 VisBufferAsyncWrapper& casa::VisBufferAsyncWrapper::operator= ( const VisBufferAsyncWrapper vb)
virtual

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

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

Reimplemented from casa::VisBufferAsync.

virtual casacore::Float casa::VisBufferAsyncWrapper::parang0 ( casacore::Double  time) const
virtual

NOMINAL parallactic angle (feed p.a.

offset NOT included)

Reimplemented from casa::VisBufferAsync.

casacore::MDirection& casa::VisBufferAsyncWrapper::phaseCenter ( )
virtual

Reimplemented from casa::VisBuffer.

casacore::MDirection casa::VisBufferAsyncWrapper::phaseCenter ( ) const
virtual

Reimplemented from casa::VisBuffer.

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

Rotate visibility phase for phase center offsets.

Reimplemented from casa::VisBuffer.

casacore::Int casa::VisBufferAsyncWrapper::polarizationId ( ) const
virtual

Reimplemented from casa::VisBufferAsync.

casacore::Int casa::VisBufferAsyncWrapper::polFrame ( ) const
virtual

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Reference external model visibilities.

Reimplemented from casa::VisBuffer.

VisBufferAsync* casa::VisBufferAsyncWrapper::releaseVba ( )
protected
void casa::VisBufferAsyncWrapper::removeScratchCols ( )
virtual

Remove scratch cols data from vb.

Reimplemented from casa::VisBuffer.

void casa::VisBufferAsyncWrapper::resetWeightMat ( )
virtual

Fill weightMat according to sigma column.

Reimplemented from casa::VisBuffer.

virtual casacore::Vector<casacore::uInt>& casa::VisBufferAsyncWrapper::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 from casa::VisBufferAsync.

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

Reimplemented from casa::VisBufferAsync.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

casacore::Int casa::VisBufferAsyncWrapper::scan0 ( )
virtual

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

Reimplemented from casa::VisBuffer.

void casa::VisBufferAsyncWrapper::setAllCacheStatuses ( bool  status)
privatevirtual

Reimplemented from casa::VisBuffer.

virtual void casa::VisBufferAsyncWrapper::setCorrectedVisCube ( casacore::Complex  c)
virtual

Reimplemented from casa::VisBufferAsync.

void casa::VisBufferAsyncWrapper::setCorrectedVisCube ( const casacore::Cube< casacore::Complex > &  vis)
virtual

Reimplemented from casa::VisBufferAsync.

void casa::VisBufferAsyncWrapper::setFloatDataCube ( const casacore::Cube< casacore::Float > &  fcube)
virtual

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

Reimplemented from casa::VisBuffer.

virtual void casa::VisBufferAsyncWrapper::setModelVisCube ( casacore::Complex  c)
virtual

Reimplemented from casa::VisBufferAsync.

void casa::VisBufferAsyncWrapper::setModelVisCube ( const casacore::Cube< casacore::Complex > &  vis)
virtual

Reimplemented from casa::VisBufferAsync.

void casa::VisBufferAsyncWrapper::setModelVisCube ( const casacore::Vector< casacore::Float > &  stokes)
virtual

Set model according to a casacore::Stokes vector.

Reimplemented from casa::VisBufferAsync.

virtual void casa::VisBufferAsyncWrapper::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 from casa::VisBufferAsync.

void casa::VisBufferAsyncWrapper::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 from casa::VisBufferAsync.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

void casa::VisBufferAsyncWrapper::sortCorr ( )
virtual

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

Reimplemented from casa::VisBuffer.

casacore::Int& casa::VisBufferAsyncWrapper::spectralWindow ( )
virtual

Reimplemented from casa::VisBuffer.

casacore::Int casa::VisBufferAsyncWrapper::spectralWindow ( ) const
virtual

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

casacore::Vector<casacore::Double>& casa::VisBufferAsyncWrapper::time ( )
virtual

Reimplemented from casa::VisBuffer.

const casacore::Vector<casacore::Double>& casa::VisBufferAsyncWrapper::time ( ) const
virtual

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

casacore::Bool casa::VisBufferAsyncWrapper::timeRange ( casacore::MEpoch rTime,
casacore::MVEpoch rTimeEP,
casacore::MVEpoch rInterval 
) const
virtual

casacore::Time range

Reimplemented from casa::VisBuffer.

casacore::Vector<casacore::Int> casa::VisBufferAsyncWrapper::unique ( const casacore::Vector< casacore::Int > &  indices) const
privatevirtual

Filter index arrays for unique elements.

Reimplemented from casa::VisBuffer.

void casa::VisBufferAsyncWrapper::unSortCorr ( )
virtual

Reimplemented from casa::VisBuffer.

virtual void casa::VisBufferAsyncWrapper::updateCoordInfo ( const VisBuffer vb = NULL)
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. Add more as needed.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

void casa::VisBufferAsyncWrapper::validate ( )
privatevirtual

validate the cache

Reimplemented from casa::VisBuffer.

casacore::Vector<casacore::Int> casa::VisBufferAsyncWrapper::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 from casa::VisBuffer.

casacore::Cube<casacore::Complex>& casa::VisBufferAsyncWrapper::visCube ( )
virtual

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

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

Reimplemented from casa::VisBuffer.

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

Returns the nPol_p x curNumRow_p weight matrix.

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

void casa::VisBufferAsyncWrapper::wrap ( VisBufferAsync vba)

Friends And Related Function Documentation

friend class ViReadImplAsync
friend

Definition at line 83 of file VisBufferAsyncWrapper.h.

Member Data Documentation

VisBufferAsync* casa::VisBufferAsyncWrapper::wrappedVba_p
private

Definition at line 533 of file VisBufferAsyncWrapper.h.

ROVisibilityIterator* casa::VisBufferAsyncWrapper::wrappedVisIterAsync_p
private

Definition at line 534 of file VisBufferAsyncWrapper.h.


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