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

#include <VisBufferImplAsync2.h>

Inheritance diagram for casa::vi::VisBufferImplAsync2:
casa::vi::VisBufferImpl2 casa::vi::VisBuffer2

Public Member Functions

 ~VisBufferImplAsync2 ()
 VisBufferAsync2 (const VisBuffer& vb);. More...
 
const MsIterInfomsIterInfo () const
 
- Public Member Functions inherited from casa::vi::VisBufferImpl2
 VisBufferImpl2 (VisBufferOptions options=VbNoOptions)
 Create empty VisBufferImpl2 you can assign to or attach. More...
 
 VisBufferImpl2 (ViImplementation2 *iter, VisBufferOptions options)
 Construct VisBufferImpl2 for a particular ViImplementation2 The buffer will remain synchronized with the iterator. More...
 
virtual ~VisBufferImpl2 ()
 Destructor (detaches from VisIter) More...
 
void appendRow (ms::Vbi2MsRow *rowSrc, casacore::Int initialCapacity, const VisBufferComponents2 &optionalComponentsToCopy, bool doCopy=true)
 
void appendRowsComplete ()
 
casacore::Int appendSize () const
 
virtual void copy (const VisBuffer2 &other, casacore::Bool fetchIfNeeded=true)
 Copies all of the components (or just the one in the cache) from the specified VisBuffer into this one. More...
 
virtual void copyComponents (const VisBuffer2 &other, const VisBufferComponents2 &components, casacore::Bool allowShapeChange=false, casacore::Bool fetchIfNeeded=true)
 Copies the specified components (or just the one in the cache) from the specified VisBuffer into this one. More...
 
virtual void copyCoordinateInfo (const VisBuffer2 *vb, casacore::Bool dirDependent, casacore::Bool allowShapeChange=false, casacore::Bool fetchIfNeeded=true)
 Copies the coordinate components (or just the ones in the cache if fetchIfNeeded is false) from the specified VisBuffer into this one. More...
 
virtual casacore::Vector
< casacore::Stokes::StokesTypes
getCorrelationTypesDefined () const
 
More...
 
virtual casacore::Vector
< casacore::Stokes::StokesTypes
getCorrelationTypesSelected () const
 
virtual casacore::Vector
< casacore::Int
getCorrelationTypes () const
 
virtual casacore::String getFillErrorMessage () const
 
virtual casacore::Double getFrequency (casacore::Int rowInBuffer, casacore::Int frequencyIndex, casacore::Int frame=FrameNotSpecified) const
 
virtual const casacore::Vector
< casacore::Double > & 
getFrequencies (casacore::Int rowInBuffer, casacore::Int frame=FrameNotSpecified) const
 
virtual casacore::Int getChannelNumber (casacore::Int rowInBuffer, casacore::Int frequencyIndex) const
 
virtual const casacore::Vector
< casacore::Int > & 
getChannelNumbers (casacore::Int rowInBuffer) const
 
virtual casacore::Vector
< casacore::Int
getChannelNumbersSelected (casacore::Int outputChannelIndex) const
 
ms::MsRowgetRow (casacore::Int row) const
 
ms::MsRowgetRowMutable (casacore::Int row)
 
virtual void invalidate ()
 
virtual casacore::Bool isAttached () const
 
virtual casacore::Bool isFillable () const
 
virtual void setShape (casacore::Int nCorrelations, casacore::Int nChannels, casacore::Int nRows, casacore::Bool clearTheCache=true)
 
virtual void validateShapes () const
 
virtual void writeChangesBack ()
 
More...
 
virtual void initWeightSpectrum (const casacore::Cube< casacore::Float > &wtspec)
 
virtual void initSigmaSpectrum (const casacore::Cube< casacore::Float > &sigspec)
 
virtual const
casacore::MeasurementSet
ms () const
 Reference to underlying MS, via the Vii. More...
 
virtual const vi::SubtableColumnssubtableColumns () const
 
virtual casacore::Bool existsColumn (VisBufferComponent2 id) const
 
virtual const casacore::Vector
< casacore::Float > & 
feedPa (casacore::Double time) const
 –> This needs to be removed: virtual casacore::Bool fetch(const asyncio::PrefetchColumns *pfc); More...
 
virtual casacore::Float parang0 (casacore::Double time) const
 NOMINAL parallactic angle (feed p.a. More...
 
virtual const casacore::Vector
< casacore::Float > & 
parang (casacore::Double time) const
 Calculates the parallactic angle of each antenna in the array at the specified time. More...
 
virtual casacore::MDirection azel0 (casacore::Double time) const
 
More...
 
virtual const casacore::Vector
< casacore::MDirection > & 
azel (casacore::Double time) const
 Returns the pointing angle for each antenna in the array at the specified time. More...
 
virtual casacore::Double hourang (casacore::Double time) const
 Hour angle for specified time. More...
 
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 ()
 Normalize the visCube by the modelVisCube (and optionally also divide visCube_p by its normalized amp) 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 resetWeightsUsingSigma ()
 Fill weightMat according to sigma column. More...
 
virtual casacore::Bool isNewArrayId () const
 Rotate visibility phase for given vector (dim = nrow of vb) of phases (metres) More...
 
virtual casacore::Bool isNewFieldId () const
 
virtual casacore::Bool isNewMs () const
 
virtual casacore::Bool isNewSpectralWindow () const
 
virtual casacore::Bool isRekeyable () const
 
virtual casacore::Bool isWritable () const
 
virtual casacore::IPosition getShape () const
 
virtual casacore::Int msId () const
 
virtual casacore::String msName (casacore::Bool stripPath=false) const
 
virtual Subchunk getSubchunk () const
 
virtual casacore::Bool areCorrelationsSorted () const
 
virtual casacore::IPosition getValidShape (casacore::Int) const
 
virtual VisModelDataIgetVisModelData () const
 
casacore::Data accessors and setters (where appropriate) There are the methods that allows access to the items cached in the VisBuffer.The straight accessors provide read-only access to the item.Where the item is allowed to be modified
 
casacore::Data accessors and
one or more set methods are
provided N weight vs weightMat
will not modify the cached
value in a different
representation *virtual const
casacore::Vector
< casacore::Int > & 
antenna1 () const
 
virtual void setAntenna1 (const casacore::Vector< casacore::Int > &value)
 
virtual const casacore::Vector
< casacore::Int > & 
antenna2 () const
 
virtual void setAntenna2 (const casacore::Vector< casacore::Int > &value)
 
virtual const casacore::Vector
< casacore::Int > & 
arrayId () const
 
virtual void setArrayId (const casacore::Vector< casacore::Int > &)
 
virtual const casacore::Vector
< casacore::SquareMatrix
< casacore::Complex, 2 > > & 
cjones () const
 Returns the Jones C matrix for each antenna. More...
 
virtual const casacore::Vector
< casacore::Int > & 
correlationTypes () const
 Returns the correlation type of each correlation in the VisCube. More...
 
virtual const casacore::Vector
< casacore::Int > & 
dataDescriptionIds () const
 virtual casacore::Int dataDescriptionId () const; virtual void setDataDescriptionId (casacore::Int value); More...
 
virtual void setDataDescriptionIds (const casacore::Vector< casacore::Int > &)
 
virtual const casacore::Vector
< casacore::MDirection > & 
direction1 () const
 
virtual const casacore::Vector
< casacore::MDirection > & 
direction2 () const
 
virtual const casacore::Vector
< casacore::Double > & 
exposure () const
 
virtual void setExposure (const casacore::Vector< casacore::Double > &value)
 
virtual const casacore::Vector
< casacore::Int > & 
feed1 () const
 
virtual void setFeed1 (const casacore::Vector< casacore::Int > &value)
 
virtual const casacore::Vector
< casacore::Float > & 
feedPa1 () const
 Calculates the parallactic angle for feed 0 of the row's Antenna1. More...
 
virtual const casacore::Vector
< casacore::Int > & 
feed2 () const
 
virtual void setFeed2 (const casacore::Vector< casacore::Int > &value)
 
virtual const casacore::Vector
< casacore::Float > & 
feedPa2 () const
 Calculates the parallactic angle for feed 0 of the row's Antenna2. More...
 
virtual const casacore::Vector
< casacore::Int > & 
fieldId () const
 
virtual void setFieldId (const casacore::Vector< casacore::Int > &)
 
virtual const casacore::Array
< casacore::Bool > & 
flagCategory () const
 virtual const casacore::Matrix<casacore::Bool> & flag () const; virtual void setFlag (const casacore::Matrix<casacore::Bool>&); More...
 
virtual void setFlagCategory (const casacore::Array< casacore::Bool > &)
 
virtual const casacore::Cube
< casacore::Bool > & 
flagCube () const
 
virtual void setFlagCube (const casacore::Cube< casacore::Bool > &)
 
virtual const casacore::Vector
< casacore::Bool > & 
flagRow () const
 
virtual void setFlagRow (const casacore::Vector< casacore::Bool > &)
 
virtual const casacore::Matrix
< casacore::Float > & 
imagingWeight () const
 This method returns the imagin g If an imaging weight generator has not been supplied to the associated VisibilityIterator then this method will throw an exception. More...
 
void setImagingWeight (const casacore::Matrix< casacore::Float > &newImagingWeights)
 
virtual casacore::Int nAntennas () const
 
virtual casacore::Int nChannels () const
 
virtual casacore::Int nCorrelations () const
 Returns the number of correlations along the visCube correlation axis. More...
 
virtual casacore::Int nRows () const
 Returns the number of rows in this VisBuffer. More...
 
virtual const casacore::Vector
< casacore::Int > & 
observationId () const
 
virtual void setObservationId (const casacore::Vector< casacore::Int > &value)
 
virtual const
casacore::MDirection
phaseCenter () const
 Returns the phase center of the array for the specified row. More...
 
virtual casacore::Int polarizationFrame () const
 Returns the polarization frame for the specified row. More...
 
virtual casacore::Int polarizationId () const
 
virtual const casacore::Vector
< casacore::Int > & 
processorId () const
 
virtual void setProcessorId (const casacore::Vector< casacore::Int > &value)
 
virtual const casacore::Vector
< casacore::uInt > & 
rowIds () const
 The returned casacore::Vector serves as a map between the rows in the VisBuffer and the row IDs in the underlying casacore::MS main virtual table: mainTableID [i] = rowIds () [ i] = 0;. More...
 
virtual const casacore::Vector
< casacore::Int > & 
scan () const
 
virtual void setScan (const casacore::Vector< casacore::Int > &value)
 
virtual const casacore::Matrix
< casacore::Float > & 
sigma () const
 
virtual void setSigma (const casacore::Matrix< casacore::Float > &)
 
virtual const casacore::Vector
< casacore::Int > & 
spectralWindows () const
 virtual const casacore::Matrix<casacore::Float> & sigmaMat () const; virtual casacore::Int spectralWindow () const; More...
 
virtual void setSpectralWindows (const casacore::Vector< casacore::Int > &spectralWindows)
 
virtual const casacore::Vector
< casacore::Int > & 
stateId () const
 virtual const casacore::Matrix<casacore::Float> & sigmaMat () const = 0; // [nC,nR] More...
 
virtual void setStateId (const casacore::Vector< casacore::Int > &value)
 
virtual const casacore::Vector
< casacore::Double > & 
time () const
 
virtual void setTime (const casacore::Vector< casacore::Double > &value)
 
virtual const casacore::Vector
< casacore::Double > & 
timeCentroid () const
 
virtual void setTimeCentroid (const casacore::Vector< casacore::Double > &value)
 
virtual const casacore::Vector
< casacore::Double > & 
timeInterval () const
 
virtual void setTimeInterval (const casacore::Vector< casacore::Double > &value)
 
virtual const casacore::Matrix
< casacore::Double > & 
uvw () const
 
virtual void setUvw (const casacore::Matrix< casacore::Double > &value)
 
virtual const casacore::Cube
< casacore::Complex > & 
visCubeCorrected () const
 virtual const casacore::Matrix<CStokesVector> & vis () const = 0; // [nF,nR] virtual void setVis (casacore::Matrix<CStokesVector> &) = 0; // [nF,nR] More...
 
virtual void setVisCubeCorrected (const casacore::Cube< casacore::Complex > &)
 
virtual const casacore::Cube
< casacore::Float > & 
visCubeFloat () const
 virtual const casacore::Matrix<CStokesVector> & visCorrected () const; virtual void setVisCorrected (const casacore::Matrix<CStokesVector> &); More...
 
virtual void setVisCubeFloat (const casacore::Cube< casacore::Float > &)
 
virtual const casacore::Cube
< casacore::Complex > & 
visCubeModel () const
 
virtual void setVisCubeModel (const casacore::Complex &c)
 
virtual void setVisCubeModel (const casacore::Cube< casacore::Complex > &vis)
 
virtual void setVisCubeModel (const casacore::Vector< casacore::Float > &stokes)
 virtual void setVisCubeModel(const casacore::Vector<casacore::Float>& stokes); More...
 
virtual const casacore::Cube
< casacore::Complex > & 
visCube () const
 virtual void setVisModel (casacore::Matrix<CStokesVector> &); More...
 
virtual void setVisCube (const casacore::Complex &c)
 
virtual void setVisCube (const casacore::Cube< casacore::Complex > &)
 
virtual const casacore::Matrix
< casacore::Float > & 
weight () const
 virtual const casacore::Matrix<CStokesVector> & vis () const; virtual void setVis (casacore::Matrix<CStokesVector> &); More...
 
virtual void setWeight (const casacore::Matrix< casacore::Float > &)
 
virtual const casacore::Cube
< casacore::Float > & 
weightSpectrum () const
 virtual const casacore::Matrix<casacore::Float> & weightMat () const = 0; // [nC,nR] virtual void setWeightMat (const casacore::Matrix<casacore::Float>& value) = 0; // [nC,nR] More...
 
virtual void setWeightSpectrum (const casacore::Cube< casacore::Float > &)
 
virtual const casacore::Cube
< casacore::Float > & 
sigmaSpectrum () const
 
virtual void setSigmaSpectrum (const casacore::Cube< casacore::Float > &value)
 
- Public Member Functions inherited from casa::vi::VisBuffer2
 VisBuffer2 (const VisBuffer2 &)=delete
 make noncopyable... More...
 
VisBuffer2operator= (const VisBuffer2 &)=delete
 
 VisBuffer2 ()
 
virtual ~VisBuffer2 ()
 Used by framework. More...
 
virtual const VisibilityIterator2getVi () const
 For attached VBs this returns the VI the VB is attached to. More...
 
casacore::Data accessors and setters (where appropriate) There are the methods that allows access to the items cached in the VisBuffer.The straight accessors provide read-only access to the item.Where the item is allowed to be modified
 

Protected Member Functions

 VisBufferImplAsync2 ()
 The constructors are not public because creation should be performed by a factory object (e.g., VisBufferAutoPtr). More...
 
 VisBufferImplAsync2 (VisibilityIterator2 &iter, casacore::Bool isWritable)
 
void construct ()
 void attachToVisIter(VisibilityIterator2 & iter); void checkVisIter (const char * func, const char * file, int line, const char * extra = "") const; void clear (); More...
 
- Protected Member Functions inherited from casa::vi::VisBufferImpl2
void adjustWeightFactorsAndFlags (casacore::Matrix< casacore::Float > &rowWeightFactors, casacore::Bool useWeightSpectrum, casacore::Int nRows, casacore::Int nCorrelations, casacore::Int nChannelsOut)
 virtual void cacheCopy (const VisBufferImpl2 & other, casacore::Bool markAsCached); More...
 
void adjustWeightAndSigmaMatrices (casacore::Int nChannelsAveraged, casacore::Int nChannelsOut, casacore::Int nRows, casacore::Int nCorrelations, casacore::Int nChannelsSelected, const casacore::Matrix< casacore::Float > &rowWeightFactors)
 
casacore::Int averageChannelFrequencies (casacore::Int nChannelsOut, const casacore::Vector< casacore::Int > &channels, const casacore::Matrix< casacore::Int > &averagingBounds)
 
void averageFlagInfoChannels (const casacore::Matrix< casacore::Int > &averagingBounds, casacore::Int nChannelsOut, casacore::Bool useWeightSpectrum)
 
template<typename T >
void averageVisCubeChannels (T &dataCache, casacore::Int nChanOut, const casacore::Matrix< casacore::Int > &averagingbounds)
 
virtual void cacheClear (casacore::Bool markAsCached=false)
 
virtual void cacheResizeAndZero (const VisBufferComponents2 &exclusions=VisBufferComponents2())
 
virtual void checkVisIter (const char *func, const char *file, int line, const char *extra="") const
 
void computeRowWeightFactors (casacore::Matrix< casacore::Float > &rowWeightFactors, casacore::Bool useWeightSpectrum)
 
virtual void configureNewSubchunk (casacore::Int msId, const casacore::String &msName, casacore::Bool isNewMs, casacore::Bool isNewArrayId, casacore::Bool isNewFieldId, casacore::Bool isNewSpectralWindow, const Subchunk &subchunk, casacore::Int nRows, casacore::Int nChannels, casacore::Int nCorrelations, const casacore::Vector< casacore::Int > &correlations, const casacore::Vector< casacore::Stokes::StokesTypes > &correlationsDefined, const casacore::Vector< casacore::Stokes::StokesTypes > &correlationsSelected, casacore::CountedPtr< WeightScaling > weightScaling)
 
virtual void copyRow (casacore::Int sourceRow, casacore::Int destinationRow)
 
virtual void deleteRows (const casacore::Vector< casacore::Int > &rowsToDelete)
 
virtual void dirtyComponentsAdd (const VisBufferComponents2 &additionalDirtyComponents)
 
virtual void dirtyComponentsAdd (VisBufferComponent2 component)
 
virtual void dirtyComponentsClear ()
 
virtual VisBufferComponents2 dirtyComponentsGet () const
 
virtual void dirtyComponentsSet (const VisBufferComponents2 &dirtyComponents)
 
virtual void dirtyComponentsSet (VisBufferComponent2 component)
 
virtual casacore::Bool hasShape () const
 
void normalizeRow (casacore::Int row, casacore::Int nCorrelations, const casacore::Cube< casacore::Bool > &flagged, casacore::Cube< casacore::Complex > &visCube, casacore::Cube< casacore::Complex > &modelCube, casacore::Matrix< casacore::Float > &weightMat)
 
virtual void sortCorrelationsAux (casacore::Bool makeSorted)
 
virtual ViImplementation2getViiP () const
 
void registerCacheItem (VbCacheItemBase *)
 
virtual void resizeRows (casacore::Int newNRows)
 
virtual void stateCopy (const VisBufferImpl2 &other)
 
virtual void setFillable (casacore::Bool isFillable)
 
virtual void setRekeyable (casacore::Bool isRekeyable)
 
virtual bool setWritability (bool newWritability)
 
virtual void setupValidShapes ()
 
template<typename Coord >
void updateCoord (Coord &item, const Coord &otherItem)
 
virtual casacore::Vector
< casacore::Bool > & 
flagRowRef ()
 
virtual casacore::Cube
< casacore::Bool > & 
flagCubeRef ()
 
virtual casacore::Cube
< casacore::Complex > & 
visCubeRef ()
 
virtual casacore::Cube
< casacore::Complex > & 
visCubeCorrectedRef ()
 
virtual casacore::Cube
< casacore::Complex > & 
visCubeModelRef ()
 
virtual casacore::Cube
< casacore::Float > & 
weightSpectrumRef ()
 
virtual casacore::Cube
< casacore::Float > & 
sigmaSpectrumRef ()
 
casacore::Float getWeightScaled (casacore::Int row) const
 virtual const casacore::Matrix<CStokesVector> & visModel () const = 0; // [nF,nR] virtual void setVisModel (casacore::Matrix<CStokesVector> &) = 0; // [nF,nR] More...
 
casacore::Float getWeightScaled (casacore::Int correlation, casacore::Int row) const
 
casacore::Float getWeightScaled (casacore::Int correlation, casacore::Int channel, casacore::Int row) const
 
casacore::Float getSigmaScaled (casacore::Int row) const
 
casacore::Float getSigmaScaled (casacore::Int correlation, casacore::Int row) const
 
casacore::Float getSigmaScaled (casacore::Int correlation, casacore::Int channel, casacore::Int row) const
 
virtual casacore::CountedPtr
< WeightScaling
getWeightScaling () const
 
void setIterationInfo (casacore::Int msId, const casacore::String &msName, casacore::Bool isNewMs, casacore::Bool isNewArrayId, casacore::Bool isNewFieldId, casacore::Bool isNewSpectralWindow, const Subchunk &subchunk, const casacore::Vector< casacore::Int > &correlations, const casacore::Vector< casacore::Stokes::StokesTypes > &correlationsDefined, const casacore::Vector< casacore::Stokes::StokesTypes > &correlationsSelected, casacore::CountedPtr< WeightScaling > weightScaling)
 
casacore::Bool weightSpectrumPresent () const
 
casacore::Bool sigmaSpectrumPresent () const
 
- Protected Member Functions inherited from casa::vi::VisBuffer2
virtual void associateWithVi2 (const VisibilityIterator2 *)
 

Private Attributes

casacore::Bool allBeamOffsetsZero_p
 
virtual void copyAsyncValues (const VisBufferAsync2 & other);

virtual void copyCache (const VisBuffer2 & other, casacore::Bool force); 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 VisBufferAsync2 & other); casacore::MDirection & fillPhaseCenter(); casacore::Bool getAllBeamOffsetsZero () const; const casacore::Vector <casacore::String> & getAntennaMounts () const; const casacore::Cube <casacore::RigidVector <casacore::Double, 2> > & getBeamOffsets () const; const casacore::MeasurementSet & getMs () 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 setDataDescriptionId (casacore::Int id); 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 VisBuffer2 *, const casacore::Bool dirDependent=true); More...

 
casacore::Vector
< casacore::String
antennaMounts_p
 
casacore::Vector
< casacore::MDirection
azelCached_p
 
casacore::Double azelCachedTime_p
 
casacore::Cube
< casacore::RigidVector
< casacore::Double, 2 > > 
beamOffsets_p
 
casacore::Block< casacore::IntchannelGroupNumber_p
 
casacore::Block< casacore::IntchannelIncrement_p
 
casacore::Block< casacore::IntchannelStart_p
 
casacore::Block< casacore::IntchannelWidth_p
 
casacore::Vector< casacore::FloatfeedpaCached_p
 casacore::Int dataDescriptionId_p; More...
 
casacore::Double feedpaCachedTime_p
 
casacore::Bool isFilling_p
 
casacore::Vector
< casacore::Double
lsrFrequency_p
 
casacore::MEpoch mEpoch_p
 
const casacore::MeasurementSetmeasurementSet_p
 
casacore::ROMSColumnsmsColumns_p
 
casacore::MSDerivedValuesmsd_p
 
casacore::Int nAntennas_p
 
casacore::Int nCoh_p
 
casacore::Bool newArrayId_p
 
casacore::Bool newFieldId_p
 
casacore::Bool newSpectralWindow_p
 
casacore::Int nRowChunk_p
 
casacore::Int nSpw_p
 
casacore::MPosition observatoryPosition_p
 const casacore::ScalarColumn<casacore::Int> * obsMFreqTypes_p; // [use] More...
 
casacore::Vector< casacore::FloatparangCached_p
 
casacore::Double parangCachedTime_p
 
casacore::Int polarizationId_p
 
casacore::Vector< casacore::Floatreceptor0Angle_p
 
casacore::Cube< casacore::DoublereceptorAngles_p
 
casacore::Vector
< casacore::Double
selFreq_p
 
casacore::Vector< casacore::IntselectedNVisibilityChannels_p
 
casacore::Vector< casacore::IntselectedSpectralWindows_p
 
casacore::Bool velSelection_p
 
casacore::IPosition visibilityShape_p
 

Friends

class Rovia_Test
 
class ViImplAsync2
 
class VisBufferAsync2Wrapper2
 
class VlaDatum
 
class VLAT
 

Additional Inherited Members

- Public Types inherited from casa::vi::VisBuffer2
enum  { FrameNotSpecified }
 
using nA = =number of antennas nF:==number of frequencies(or channels) nC:==number of correlations nR:==number of table rows contained in the buffer--------------------------------------------------------Accessors for data contained in the main casacore::MeasurementSet main table The actual visibility data are at the end.***N.B.:the VB usually caches the information in the representation requested so that using a setter to modify one value type(e.g., weight or visibility) will not modify the cached value in a different representation(e.g., weightMat or visCube).This should not be a problem in normal usage.*/virtual const casacore::Vector< casacore::Int > &antenna1() const =0
 
- Static Public Member Functions inherited from casa::vi::VisBuffer2
static VisBuffer2factory (VisBufferOptions vbOptions=VbNoOptions)
 
- Public Attributes inherited from casa::vi::VisBufferImpl2
casacore::Data accessors and
one or more set methods are
provided N 
B: the VB usually caches the information in the representation requested so that using a setter to modify a value (e.g.
 

Detailed Description

Definition at line 79 of file VisBufferImplAsync2.h.

Constructor & Destructor Documentation

casa::vi::VisBufferImplAsync2::~VisBufferImplAsync2 ( )

VisBufferAsync2 (const VisBuffer& vb);.

casa::vi::VisBufferImplAsync2::VisBufferImplAsync2 ( )
protected

The constructors are not public because creation should be performed by a factory object (e.g., VisBufferAutoPtr).

The use of a factory makes it possible to fine tune at run time whether a VisBuffer or a VisBufferAsync2 is created.

casa::vi::VisBufferImplAsync2::VisBufferImplAsync2 ( VisibilityIterator2 iter,
casacore::Bool  isWritable 
)
protected

Member Function Documentation

void casa::vi::VisBufferImplAsync2::construct ( )
protected

void attachToVisIter(VisibilityIterator2 & iter); void checkVisIter (const char * func, const char * file, int line, const char * extra = "") const; void clear ();

const MsIterInfo& casa::vi::VisBufferImplAsync2::msIterInfo ( ) const

Friends And Related Function Documentation

friend class Rovia_Test
friend

Definition at line 81 of file VisBufferImplAsync2.h.

friend class ViImplAsync2
friend

Definition at line 82 of file VisBufferImplAsync2.h.

friend class VisBufferAsync2Wrapper2
friend

Definition at line 83 of file VisBufferImplAsync2.h.

friend class VlaDatum
friend

Definition at line 84 of file VisBufferImplAsync2.h.

friend class VLAT
friend

Definition at line 85 of file VisBufferImplAsync2.h.

Member Data Documentation

casacore::Bool casa::vi::VisBufferImplAsync2::allBeamOffsetsZero_p
private

virtual void copyAsyncValues (const VisBufferAsync2 & other);

virtual void copyCache (const VisBuffer2 & other, casacore::Bool force); 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 VisBufferAsync2 & other); casacore::MDirection & fillPhaseCenter(); casacore::Bool getAllBeamOffsetsZero () const; const casacore::Vector <casacore::String> & getAntennaMounts () const; const casacore::Cube <casacore::RigidVector <casacore::Double, 2> > & getBeamOffsets () const; const casacore::MeasurementSet & getMs () 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 setDataDescriptionId (casacore::Int id); 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 VisBuffer2 *, const casacore::Bool dirDependent=true);

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); casacore::Bool fillAllBeamOffsetsZero (); casacore::Vector <casacore::String> fillAntennaMounts (); casacore::Cube <casacore::RigidVector <casacore::Double, 2> > fillBeamOffsets (); casacore::Cube <casacore::Double> fillReceptorAngles ();

Definition at line 167 of file VisBufferImplAsync2.h.

casacore::Vector<casacore::String> casa::vi::VisBufferImplAsync2::antennaMounts_p
private

Definition at line 168 of file VisBufferImplAsync2.h.

casacore::Vector<casacore::MDirection> casa::vi::VisBufferImplAsync2::azelCached_p
mutableprivate

Definition at line 169 of file VisBufferImplAsync2.h.

casacore::Double casa::vi::VisBufferImplAsync2::azelCachedTime_p
mutableprivate

Definition at line 170 of file VisBufferImplAsync2.h.

casacore::Cube<casacore::RigidVector<casacore::Double, 2> > casa::vi::VisBufferImplAsync2::beamOffsets_p
private

Definition at line 171 of file VisBufferImplAsync2.h.

casacore::Block<casacore::Int> casa::vi::VisBufferImplAsync2::channelGroupNumber_p
private

Definition at line 172 of file VisBufferImplAsync2.h.

casacore::Block<casacore::Int> casa::vi::VisBufferImplAsync2::channelIncrement_p
private

Definition at line 173 of file VisBufferImplAsync2.h.

casacore::Block<casacore::Int> casa::vi::VisBufferImplAsync2::channelStart_p
private

Definition at line 174 of file VisBufferImplAsync2.h.

casacore::Block<casacore::Int> casa::vi::VisBufferImplAsync2::channelWidth_p
private

Definition at line 175 of file VisBufferImplAsync2.h.

casacore::Vector<casacore::Float> casa::vi::VisBufferImplAsync2::feedpaCached_p
mutableprivate

casacore::Int dataDescriptionId_p;

Definition at line 177 of file VisBufferImplAsync2.h.

casacore::Double casa::vi::VisBufferImplAsync2::feedpaCachedTime_p
mutableprivate

Definition at line 178 of file VisBufferImplAsync2.h.

casacore::Bool casa::vi::VisBufferImplAsync2::isFilling_p
private

Definition at line 179 of file VisBufferImplAsync2.h.

casacore::Vector<casacore::Double> casa::vi::VisBufferImplAsync2::lsrFrequency_p
private

Definition at line 180 of file VisBufferImplAsync2.h.

const casacore::MeasurementSet* casa::vi::VisBufferImplAsync2::measurementSet_p
private

Definition at line 182 of file VisBufferImplAsync2.h.

casacore::MEpoch casa::vi::VisBufferImplAsync2::mEpoch_p
private

Definition at line 181 of file VisBufferImplAsync2.h.

casacore::ROMSColumns* casa::vi::VisBufferImplAsync2::msColumns_p
mutableprivate

Definition at line 183 of file VisBufferImplAsync2.h.

casacore::MSDerivedValues* casa::vi::VisBufferImplAsync2::msd_p
private

Definition at line 184 of file VisBufferImplAsync2.h.

casacore::Int casa::vi::VisBufferImplAsync2::nAntennas_p
private

Definition at line 185 of file VisBufferImplAsync2.h.

casacore::Int casa::vi::VisBufferImplAsync2::nCoh_p
private

Definition at line 186 of file VisBufferImplAsync2.h.

casacore::Bool casa::vi::VisBufferImplAsync2::newArrayId_p
private

Definition at line 187 of file VisBufferImplAsync2.h.

casacore::Bool casa::vi::VisBufferImplAsync2::newFieldId_p
private

Definition at line 188 of file VisBufferImplAsync2.h.

casacore::Bool casa::vi::VisBufferImplAsync2::newSpectralWindow_p
private

Definition at line 189 of file VisBufferImplAsync2.h.

casacore::Int casa::vi::VisBufferImplAsync2::nRowChunk_p
private

Definition at line 190 of file VisBufferImplAsync2.h.

casacore::Int casa::vi::VisBufferImplAsync2::nSpw_p
private

Definition at line 191 of file VisBufferImplAsync2.h.

casacore::MPosition casa::vi::VisBufferImplAsync2::observatoryPosition_p
private

const casacore::ScalarColumn<casacore::Int> * obsMFreqTypes_p; // [use]

Definition at line 193 of file VisBufferImplAsync2.h.

casacore::Vector<casacore::Float> casa::vi::VisBufferImplAsync2::parangCached_p
mutableprivate

Definition at line 194 of file VisBufferImplAsync2.h.

casacore::Double casa::vi::VisBufferImplAsync2::parangCachedTime_p
mutableprivate

Definition at line 195 of file VisBufferImplAsync2.h.

casacore::Int casa::vi::VisBufferImplAsync2::polarizationId_p
private

Definition at line 196 of file VisBufferImplAsync2.h.

casacore::Vector<casacore::Float> casa::vi::VisBufferImplAsync2::receptor0Angle_p
private

Definition at line 197 of file VisBufferImplAsync2.h.

casacore::Cube<casacore::Double> casa::vi::VisBufferImplAsync2::receptorAngles_p
private

Definition at line 198 of file VisBufferImplAsync2.h.

casacore::Vector<casacore::Int> casa::vi::VisBufferImplAsync2::selectedNVisibilityChannels_p
private

Definition at line 200 of file VisBufferImplAsync2.h.

casacore::Vector<casacore::Int> casa::vi::VisBufferImplAsync2::selectedSpectralWindows_p
private

Definition at line 201 of file VisBufferImplAsync2.h.

casacore::Vector<casacore::Double> casa::vi::VisBufferImplAsync2::selFreq_p
private

Definition at line 199 of file VisBufferImplAsync2.h.

casacore::Bool casa::vi::VisBufferImplAsync2::velSelection_p
private

Definition at line 202 of file VisBufferImplAsync2.h.

casacore::IPosition casa::vi::VisBufferImplAsync2::visibilityShape_p
private

Definition at line 203 of file VisBufferImplAsync2.h.


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