casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
casa::vi::VisBuffer2Adapter Class Reference

#include <VisBuffer2Adapter.h>

Inheritance diagram for casa::vi::VisBuffer2Adapter:
casa::VisBuffer

List of all members.

Public Member Functions

 VisBuffer2Adapter (VisBuffer2 *vb)
 VisBuffer2Adapter (const VisBuffer2 *vb)
void construct ()
 ~VisBuffer2Adapter ()
virtual VisBufferassign (const VisBuffer &, Bool=True)
 Assignment, optionally without copying the data across; with copy=True this is identical to normal assignment operator.
virtual VisBufferclone () const
virtual void invalidate ()
 Invalidate the cache.
virtual IntnCorr ()
 Access functions.
virtual Int nCorr () const
virtual IntnChannel ()
virtual Int nChannel () const
virtual Vector< Int > & channel ()
virtual const Vector< Int > & channel () const
virtual IntnRow ()
 virtual Int & nCat() { return nCatOK_p ? nCat_p : fillnCat(); } virtual Int nCat() const { return This->nCat(); }
virtual Vector< Int > & antenna1 ()
virtual const Vector< Int > & antenna1 () const
virtual Vector< Int > & antenna2 ()
virtual const Vector< Int > & antenna2 () const
virtual Vector< Int > & feed1 ()
virtual const Vector< Int > & feed1 () const
virtual Vector< Int > & feed2 ()
virtual const Vector< Int > & feed2 () const
virtual Vector< 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.
virtual const Vector< Float > & feed1_pa () const
virtual Vector< Float > & feed2_pa ()
virtual const Vector< Float > & feed2_pa () const
virtual Vector< SquareMatrix
< Complex, 2 > > & 
CJones ()
virtual const Vector
< SquareMatrix< Complex, 2 > > & 
CJones () const
virtual Vector< Floatfeed_pa (Double time) const
 Note that feed_pa is a function instead of a cached value.
virtual Vector< MDirection > & direction1 ()
 direction1() and direction2() return arrays of directions where the first and the second antenna/feed are pointed to.
virtual const Vector
< MDirection > & 
direction1 () const
virtual Vector< MDirection > & direction2 ()
virtual const Vector
< MDirection > & 
direction2 () const
virtual Float parang0 (Double time) const
 NOMINAL parallactic angle (feed p.a.
virtual Vector< Floatparang (Double time) const
virtual MDirection azel0 (Double time) const
 Note that azel is a function instead of a cached value.
virtual Vector< Double > & azel0Vec (Double, Vector< Double > &) const
virtual Vector< MDirectionazel (Double time) const
virtual Matrix< Double > & azelMat (Double, Matrix< Double > &) const
virtual Double hourang (Double time) const
 Hour angle for specified time.
virtual Int fieldId () const
virtual IntfieldIdRef ()
virtual IntarrayIdRef ()
virtual Int arrayId () const
virtual Matrix< Bool > & flag ()
 Return flag for each channel & row.
virtual const Matrix< Bool > & flag () const
virtual Cube< Bool > & flagCube ()
 Return flag for each polarization, channel and row.
virtual const Cube< Bool > & flagCube () const
virtual Vector< Bool > & flagRow ()
virtual const Vector< Bool > & flagRow () const
virtual Array< Bool > & flagCategory ()
 Return flags for each polarization, channel, category, and row.
virtual const Array< Bool > & flagCategory () const
virtual Vector< Int > & scan ()
virtual const Vector< Int > & scan () const
virtual Int scan0 ()
 scalar version for convenience, when scan known constant for entire iteration/buffer.
virtual Vector< Int > & processorId ()
virtual const Vector< Int > & processorId () const
virtual Vector< Int > & observationId ()
virtual const Vector< Int > & observationId () const
virtual Vector< Int > & stateId ()
virtual const Vector< Int > & stateId () const
virtual Vector< Double > & frequency ()
 Gets SPECTRAL_WINDOW/CHAN_FREQ (in Hz, acc.
virtual const Vector< Double > & frequency () const
virtual void lsrFrequency (const Int &spw, Vector< Double > &freq, Bool &convert, const Bool ignoreConv=False) const
 if ignoreconv=True..frequency is served as is in the data frame
virtual Int numberCoh () const
virtual MDirectionphaseCenter ()
virtual MDirection phaseCenter () const
virtual Int polFrame () const
virtual Vector< Int > & corrType ()
virtual const Vector< Int > & corrType () const
virtual Vector< Float > & sigma ()
virtual const Vector< Float > & sigma () const
virtual Matrix< Float > & sigmaMat ()
virtual const Matrix< Float > & sigmaMat () const
virtual IntspectralWindow ()
virtual Int spectralWindow () const
virtual Int polarizationId () const
virtual IntdataDescriptionIdRef ()
virtual Int dataDescriptionId () const
virtual Vector< Double > & time ()
virtual const Vector< Double > & time () const
virtual Vector< Double > & timeCentroid ()
virtual const Vector< Double > & timeCentroid () const
virtual Vector< Double > & timeInterval ()
virtual const Vector< Double > & timeInterval () const
virtual Vector< Double > & exposure ()
virtual const Vector< Double > & exposure () const
virtual Vector< RigidVector
< Double, 3 > > & 
uvw ()
virtual const Vector
< RigidVector< Double, 3 > > & 
uvw () const
virtual Matrix< Double > & uvwMat ()
virtual const Matrix< Double > & uvwMat () const
virtual Matrix< CStokesVector > & visibility ()
virtual const Matrix
< CStokesVector > & 
visibility () const
virtual Matrix< CStokesVector > & modelVisibility ()
virtual const Matrix
< CStokesVector > & 
modelVisibility () const
virtual Matrix< CStokesVector > & correctedVisibility ()
virtual const Matrix
< CStokesVector > & 
correctedVisibility () const
virtual Cube< Complex > & visCube ()
virtual const Cube< Complex > & visCube () const
virtual Cube< Complex > & modelVisCube ()
virtual Cube< Complex > & modelVisCube (const Bool &)
virtual const Cube< Complex > & modelVisCube () const
virtual Cube< Complex > & correctedVisCube ()
virtual const Cube< Complex > & correctedVisCube () const
Cube< Complex > & dataCube (const MS::PredefinedColumns whichcol=MS::DATA)
 Return visCube(), modelVisCube(), or correctedVisCube(), according to whichcol.
const Cube< Complex > & dataCube (const MS::PredefinedColumns whichcol=MS::DATA) const
virtual Cube< Float > & floatDataCube ()
virtual const Cube< Float > & floatDataCube () const
virtual Vector< Float > & weight ()
 Returns the weights for each row averaged over the parallel hand correlations.
virtual const Vector< Float > & weight () const
virtual Matrix< Float > & weightMat ()
 Returns the nPol_p x curNumRow_p weight matrix.
virtual const Matrix< Float > & weightMat () const
virtual Bool existsWeightSpectrum () const
 Is a valid WEIGHT_SPECTRUM available?
virtual Cube< Float > & weightSpectrum ()
virtual const Cube< Float > & weightSpectrum () const
virtual Matrix< Float > & imagingWeight ()
virtual const Matrix< Float > & imagingWeight () const
virtual Cube< Float > & weightCube ()
 virtual Matrix<Float>& imagingWeight() { return imagingWeightOK_p ? imagingWeight_p : fillImagingWeight(); } virtual const Matrix<Float>& imagingWeight() const { return This->imagingWeight(); }
virtual Vector< IntvecIntRange (const MSCalEnums::colDef &) const
 Utility functions to provide coordinate or column ranges of the data in the VisBuffer.
virtual Vector< IntantIdRange () const
 Antenna id.
virtual Bool timeRange (MEpoch &, MVEpoch &, MVEpoch &) const
 Time range.
virtual Vector< uInt > & rowIds ()
 Return the row Ids from the original ms.
virtual const Vector< uInt > & rowIds () const
virtual void freqAverage ()
 Frequency average the buffer (visibility() column only)
void freqAveCubes ()
 Frequency average the buffer (visCube and [if present] modelVisCube)
void channelAve (const Matrix< Int > &)
 Average channel axis according to chanavebounds, for whichever of DATA, MODEL_DATA, CORRECTED_DATA, FLOAT_DATA, FLAG, and WEIGHT_SPECTRUM are present.
template<class T >
void chanAveVisCube (Cube< T > &, Int)
 Average channel axis by factor.
template<class T >
void chanAccCube (Cube< T > &, Int)
 Accumulate channel axis by factor, without applying WEIGHT_SPECTRUM even if it is present.
virtual void chanAveFlagCube (Cube< Bool > &, const Int, const Bool=True)
 This defaults to no conceptual side effects, but usually it is more efficient to let it leave weightSpectrum() in a channel averaged state.
void chanAveFlagCategory (Array< Bool > &flagcat, const Int nChanOut)
 Doesn't do anything if flagcat is degenerate.
virtual void formStokes ()
 Form Stokes parameters from correlations (these are preliminary versions)
virtual void formStokesWeightandFlag ()
virtual void formStokes (Cube< Complex > &)
virtual void formStokes (Cube< Float > &)
virtual void sortCorr ()
 Sort/unsort the correlations, if necessary (Rudimentary handling of non-canonically sorted correlations--use with care!)
virtual void unSortCorr ()
virtual void normalize (const Bool &=False)
 Normalize the visCube by the modelVisCube (and optionally also divide visCube_p by its normalized amp)
virtual void resetWeightMat ()
 Fill weightMat according to sigma column.
virtual void phaseCenterShift (const Vector< Double > &)
 Rotate visibility phase for given vector (dim = nrow of vb) of phases (metres)
virtual void phaseCenterShift (Double, Double)
 Rotate visibility phase for phase center offsets (arcsecs)
virtual void updateCoordInfo (const VisBuffer *=NULL, const Bool=True)
 Update coordinate info - useful for copied VisBuffers that need to retain some state for later reference.
virtual void setVisCube (Complex c)
 Set the visibility to a constant, note that this only changes the buffer, no values are written back to tables from here.
virtual void setModelVisCube (Complex c)
virtual void setCorrectedVisCube (Complex)
virtual void setVisCube (const Cube< Complex > &vis)
 Set the visibility, note that this only changes the buffer, no values are written back to tables from here.
virtual void setModelVisCube (const Cube< Complex > &vis)
virtual void setCorrectedVisCube (const Cube< Complex > &vis)
virtual void setFloatDataCube (const Cube< Float > &fcube)
 Like the above, but for FLOAT_DATA, keeping it as real floats.
virtual void setModelVisCube (const Vector< Float > &)
 Set model according to a Stokes vector.
virtual void refModelVis (const Matrix< CStokesVector > &)
 Reference external model visibilities.
virtual void removeScratchCols ()
 Remove scratch cols data from vb.
virtual const ROMSColumnsmsColumns () const
 Access the current ROMSColumns object via VisIter.
virtual Int numberAnt () const
virtual void allSelectedSpectralWindows (Vector< Int > &spectralWindows, Vector< Int > &nChannels)
 Get all selected spectral windows not just the one in the actual buffer.
virtual void getChannelSelection (Block< Vector< Int > > &, Block< Vector< Int > > &, Block< Vector< Int > > &, Block< Vector< Int > > &, Block< Vector< Int > > &) const
void allSelectedSpectralWindows (Vector< Int > &spws, Vector< Int > &nvischan) const
virtual Int msId () const
 Return the actual msid, useful if using multiple ms to monitor which ms in the list is being dealt with.
virtual Bool newMS () const
 checked if the ms has changed since the last chunk processed
virtual String msName (Bool=False) const
 get the name of the ms the buffer is at empty string if no visiter is attached
virtual Bool newArrayId () const
virtual Bool newFieldId () const
virtual Bool newSpectralWindow () const

Private Attributes

const ROMSColumnsmsColumns_p
 
     

Vector< IntnChannels_p
Int nChannelsScalar_p
Int nCorr_p
Int nRows_p
Int spectralWindow_p
Vector< IntspectralWindows_p
Vector< RigidVector< Double, 3 > > uvw_p
const vi::VisBuffer2vb2_p
vi::VisBuffer2vb2Rw_p

Detailed Description

Definition at line 30 of file VisBuffer2Adapter.h.


Constructor & Destructor Documentation

Definition at line 34 of file VisBuffer2Adapter.h.

References construct().

Definition at line 38 of file VisBuffer2Adapter.h.

References construct().

Definition at line 55 of file VisBuffer2Adapter.h.


Member Function Documentation

virtual void casa::vi::VisBuffer2Adapter::allSelectedSpectralWindows ( Vector< Int > &  spectralWindows,
Vector< Int > &  nChannels 
) [inline, virtual]

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

Reimplemented from casa::VisBuffer.

Definition at line 431 of file VisBuffer2Adapter.h.

References casa::Vector< T >::assign(), nChannels_p, and spectralWindows_p.

void casa::vi::VisBuffer2Adapter::allSelectedSpectralWindows ( Vector< Int > &  spws,
Vector< Int > &  nvischan 
) const

Reimplemented from casa::VisBuffer.

virtual Vector<Int>& casa::vi::VisBuffer2Adapter::antenna1 ( ) [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 79 of file VisBuffer2Adapter.h.

References antenna1(), and vb2_p.

Referenced by antenna1().

virtual const Vector<Int>& casa::vi::VisBuffer2Adapter::antenna1 ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 80 of file VisBuffer2Adapter.h.

References antenna1(), and vb2_p.

Referenced by antenna1().

virtual Vector<Int>& casa::vi::VisBuffer2Adapter::antenna2 ( ) [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 82 of file VisBuffer2Adapter.h.

References antenna2(), and vb2_p.

Referenced by antenna2().

virtual const Vector<Int>& casa::vi::VisBuffer2Adapter::antenna2 ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 83 of file VisBuffer2Adapter.h.

References antenna2(), and vb2_p.

Referenced by antenna2().

virtual Vector<Int> casa::vi::VisBuffer2Adapter::antIdRange ( ) const [inline, virtual]

Antenna id.

range (includes both ANTENNA1 and ANTENNA2 columns)

Reimplemented from casa::VisBuffer.

Definition at line 321 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual Int casa::vi::VisBuffer2Adapter::arrayId ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 138 of file VisBuffer2Adapter.h.

References arrayId(), and vb2_p.

Referenced by arrayId().

virtual Int& casa::vi::VisBuffer2Adapter::arrayIdRef ( ) [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 136 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual VisBuffer& casa::vi::VisBuffer2Adapter::assign ( const VisBuffer vb,
Bool  copy = True 
) [inline, virtual]

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

Reimplemented from casa::VisBuffer.

Definition at line 57 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual Vector<MDirection> casa::vi::VisBuffer2Adapter::azel ( Double  time) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 126 of file VisBuffer2Adapter.h.

References azel(), and vb2_p.

Referenced by azel().

virtual MDirection casa::vi::VisBuffer2Adapter::azel0 ( Double  time) const [inline, virtual]

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

Reimplemented from casa::VisBuffer.

Definition at line 124 of file VisBuffer2Adapter.h.

References azel0(), and vb2_p.

Referenced by azel0().

virtual Vector<Double>& casa::vi::VisBuffer2Adapter::azel0Vec ( Double  ,
Vector< Double > &   
) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 125 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual Matrix<Double>& casa::vi::VisBuffer2Adapter::azelMat ( Double  ,
Matrix< Double > &   
) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 127 of file VisBuffer2Adapter.h.

References IllegalOperation.

template<class T >
void casa::vi::VisBuffer2Adapter::chanAccCube ( Cube< T > &  ,
Int   
) [inline]

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

It is primarily intended for averaging WEIGHT_SPECTRUM itself.

Reimplemented from casa::VisBuffer.

Definition at line 353 of file VisBuffer2Adapter.h.

References IllegalOperation.

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

Doesn't do anything if flagcat is degenerate.

Reimplemented from casa::VisBuffer.

virtual void casa::vi::VisBuffer2Adapter::chanAveFlagCube ( Cube< Bool > &  ,
const Int  ,
const Bool  = True 
) [inline, 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.

Definition at line 358 of file VisBuffer2Adapter.h.

References IllegalOperation.

template<class T >
void casa::vi::VisBuffer2Adapter::chanAveVisCube ( Cube< T > &  ,
Int   
) [inline]

Average channel axis by factor.

Reimplemented from casa::VisBuffer.

Definition at line 348 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual Vector<Int>& casa::vi::VisBuffer2Adapter::channel ( ) [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 74 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual const Vector<Int>& casa::vi::VisBuffer2Adapter::channel ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 75 of file VisBuffer2Adapter.h.

References IllegalOperation.

void casa::vi::VisBuffer2Adapter::channelAve ( const Matrix< Int > &  ) [inline]

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!

Reimplemented from casa::VisBuffer.

Definition at line 345 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual Vector<SquareMatrix<Complex, 2> >& casa::vi::VisBuffer2Adapter::CJones ( ) [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 103 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual const Vector<SquareMatrix<Complex, 2> >& casa::vi::VisBuffer2Adapter::CJones ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 104 of file VisBuffer2Adapter.h.

References vb2_p.

virtual VisBuffer* casa::vi::VisBuffer2Adapter::clone ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 59 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual Cube<Complex>& casa::vi::VisBuffer2Adapter::correctedVisCube ( ) [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 277 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual const Cube<Complex>& casa::vi::VisBuffer2Adapter::correctedVisCube ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 278 of file VisBuffer2Adapter.h.

References vb2_p.

Reimplemented from casa::VisBuffer.

Definition at line 265 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual const Matrix<CStokesVector>& casa::vi::VisBuffer2Adapter::correctedVisibility ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 266 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual Vector<Int>& casa::vi::VisBuffer2Adapter::corrType ( ) [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 207 of file VisBuffer2Adapter.h.

References vb2_p.

virtual const Vector<Int>& casa::vi::VisBuffer2Adapter::corrType ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 208 of file VisBuffer2Adapter.h.

References vb2_p.

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.

Reimplemented from casa::VisBuffer.

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

Reimplemented from casa::VisBuffer.

virtual Int casa::vi::VisBuffer2Adapter::dataDescriptionId ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 220 of file VisBuffer2Adapter.h.

References vb2_p.

Reimplemented from casa::VisBuffer.

Definition at line 219 of file VisBuffer2Adapter.h.

References IllegalOperation.

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.

Definition at line 112 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual const Vector<MDirection>& casa::vi::VisBuffer2Adapter::direction1 ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 113 of file VisBuffer2Adapter.h.

References direction1(), and vb2_p.

Referenced by direction1().

Reimplemented from casa::VisBuffer.

Definition at line 115 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual const Vector<MDirection>& casa::vi::VisBuffer2Adapter::direction2 ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 116 of file VisBuffer2Adapter.h.

References direction2(), and vb2_p.

Referenced by direction2().

virtual Bool casa::vi::VisBuffer2Adapter::existsWeightSpectrum ( ) const [inline, virtual]

Is a valid WEIGHT_SPECTRUM available?

Reimplemented from casa::VisBuffer.

Definition at line 300 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual Vector<Double>& casa::vi::VisBuffer2Adapter::exposure ( ) [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 230 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual const Vector<Double>& casa::vi::VisBuffer2Adapter::exposure ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 231 of file VisBuffer2Adapter.h.

References exposure(), and vb2_p.

Referenced by exposure().

virtual Vector<Int>& casa::vi::VisBuffer2Adapter::feed1 ( ) [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 85 of file VisBuffer2Adapter.h.

References feed1(), and vb2_p.

Referenced by feed1().

virtual const Vector<Int>& casa::vi::VisBuffer2Adapter::feed1 ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 86 of file VisBuffer2Adapter.h.

References feed1(), and vb2_p.

Referenced by feed1().

virtual Vector<Float>& casa::vi::VisBuffer2Adapter::feed1_pa ( ) [inline, 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.

Definition at line 97 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual const Vector<Float>& casa::vi::VisBuffer2Adapter::feed1_pa ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 98 of file VisBuffer2Adapter.h.

References vb2_p.

virtual Vector<Int>& casa::vi::VisBuffer2Adapter::feed2 ( ) [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 88 of file VisBuffer2Adapter.h.

References feed2(), and vb2_p.

Referenced by feed2().

virtual const Vector<Int>& casa::vi::VisBuffer2Adapter::feed2 ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 89 of file VisBuffer2Adapter.h.

References feed2(), and vb2_p.

Referenced by feed2().

virtual Vector<Float>& casa::vi::VisBuffer2Adapter::feed2_pa ( ) [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 100 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual const Vector<Float>& casa::vi::VisBuffer2Adapter::feed2_pa ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 101 of file VisBuffer2Adapter.h.

References vb2_p.

virtual Vector<Float> casa::vi::VisBuffer2Adapter::feed_pa ( Double  time) const [inline, virtual]

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

Reimplemented from casa::VisBuffer.

Definition at line 107 of file VisBuffer2Adapter.h.

References vb2_p.

virtual Int casa::vi::VisBuffer2Adapter::fieldId ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 132 of file VisBuffer2Adapter.h.

References fieldId(), and vb2_p.

Referenced by fieldId().

virtual Int& casa::vi::VisBuffer2Adapter::fieldIdRef ( ) [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 134 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual Matrix<Bool>& casa::vi::VisBuffer2Adapter::flag ( ) [inline, virtual]

Return flag for each channel & row.

Reimplemented from casa::VisBuffer.

Definition at line 141 of file VisBuffer2Adapter.h.

References flag(), and vb2_p.

Referenced by flag().

virtual const Matrix<Bool>& casa::vi::VisBuffer2Adapter::flag ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 142 of file VisBuffer2Adapter.h.

References flag(), and vb2_p.

Referenced by flag().

virtual Array<Bool>& casa::vi::VisBuffer2Adapter::flagCategory ( ) [inline, virtual]

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

Reimplemented from casa::VisBuffer.

Definition at line 152 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual const Array<Bool>& casa::vi::VisBuffer2Adapter::flagCategory ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 153 of file VisBuffer2Adapter.h.

References flagCategory(), and vb2_p.

Referenced by flagCategory().

virtual Cube<Bool>& casa::vi::VisBuffer2Adapter::flagCube ( ) [inline, virtual]

Return flag for each polarization, channel and row.

Reimplemented from casa::VisBuffer.

Definition at line 145 of file VisBuffer2Adapter.h.

References flagCube(), and vb2_p.

Referenced by flagCube().

virtual const Cube<Bool>& casa::vi::VisBuffer2Adapter::flagCube ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 146 of file VisBuffer2Adapter.h.

References flagCube(), and vb2_p.

Referenced by flagCube().

virtual Vector<Bool>& casa::vi::VisBuffer2Adapter::flagRow ( ) [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 148 of file VisBuffer2Adapter.h.

References flagRow(), and vb2_p.

Referenced by flagRow().

virtual const Vector<Bool>& casa::vi::VisBuffer2Adapter::flagRow ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 149 of file VisBuffer2Adapter.h.

References flagRow(), and vb2_p.

Referenced by flagRow().

virtual Cube<Float>& casa::vi::VisBuffer2Adapter::floatDataCube ( ) [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 288 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual const Cube<Float>& casa::vi::VisBuffer2Adapter::floatDataCube ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 289 of file VisBuffer2Adapter.h.

References vb2_p.

virtual void casa::vi::VisBuffer2Adapter::formStokes ( ) [inline, virtual]

Form Stokes parameters from correlations (these are preliminary versions)

Reimplemented from casa::VisBuffer.

Definition at line 366 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual void casa::vi::VisBuffer2Adapter::formStokes ( Cube< Complex > &  ) [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 368 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual void casa::vi::VisBuffer2Adapter::formStokes ( Cube< Float > &  ) [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 369 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual void casa::vi::VisBuffer2Adapter::formStokesWeightandFlag ( ) [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 367 of file VisBuffer2Adapter.h.

References IllegalOperation.

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

Reimplemented from casa::VisBuffer.

Definition at line 339 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual void casa::vi::VisBuffer2Adapter::freqAverage ( ) [inline, virtual]

Frequency average the buffer (visibility() column only)

Reimplemented from casa::VisBuffer.

Definition at line 336 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual Vector<Double>& casa::vi::VisBuffer2Adapter::frequency ( ) [inline, virtual]

Gets SPECTRAL_WINDOW/CHAN_FREQ (in Hz, acc.

to the MS def'n v.2).

Reimplemented from casa::VisBuffer.

Definition at line 172 of file VisBuffer2Adapter.h.

References casa::vi::VisBuffer2::getFrequencies(), and vb2_p.

virtual const Vector<Double>& casa::vi::VisBuffer2Adapter::frequency ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 175 of file VisBuffer2Adapter.h.

References casa::vi::VisBuffer2::getFrequencies(), and vb2_p.

virtual void casa::vi::VisBuffer2Adapter::getChannelSelection ( Block< Vector< Int > > &  ,
Block< Vector< Int > > &  ,
Block< Vector< Int > > &  ,
Block< Vector< Int > > &  ,
Block< Vector< Int > > &   
) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 437 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual Double casa::vi::VisBuffer2Adapter::hourang ( Double  time) const [inline, virtual]

Hour angle for specified time.

Reimplemented from casa::VisBuffer.

Definition at line 130 of file VisBuffer2Adapter.h.

References hourang(), and vb2_p.

Referenced by hourang().

virtual Matrix<Float>& casa::vi::VisBuffer2Adapter::imagingWeight ( ) [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 305 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual const Matrix<Float>& casa::vi::VisBuffer2Adapter::imagingWeight ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 306 of file VisBuffer2Adapter.h.

References imagingWeight(), and vb2_p.

Referenced by imagingWeight().

virtual void casa::vi::VisBuffer2Adapter::invalidate ( ) [inline, virtual]

Invalidate the cache.

Reimplemented from casa::VisBuffer.

Definition at line 61 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual void casa::vi::VisBuffer2Adapter::lsrFrequency ( const Int spw,
Vector< Double > &  freq,
Bool convert,
const Bool  ignoreConv = False 
) const [inline, virtual]
virtual Cube<Complex>& casa::vi::VisBuffer2Adapter::modelVisCube ( ) [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 271 of file VisBuffer2Adapter.h.

References vb2_p, and casa::vi::VisBuffer2::visCubeModel().

virtual Cube<Complex>& casa::vi::VisBuffer2Adapter::modelVisCube ( const Bool ) [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 273 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual const Cube<Complex>& casa::vi::VisBuffer2Adapter::modelVisCube ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 275 of file VisBuffer2Adapter.h.

References vb2_p, and casa::vi::VisBuffer2::visCubeModel().

Reimplemented from casa::VisBuffer.

Definition at line 262 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual const Matrix<CStokesVector>& casa::vi::VisBuffer2Adapter::modelVisibility ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 263 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual const ROMSColumns& casa::vi::VisBuffer2Adapter::msColumns ( ) const [inline, virtual]

Access the current ROMSColumns object via VisIter.

Reimplemented from casa::VisBuffer.

Definition at line 422 of file VisBuffer2Adapter.h.

References Assert, and msColumns_p.

virtual Int casa::vi::VisBuffer2Adapter::msId ( ) const [inline, 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.

Definition at line 446 of file VisBuffer2Adapter.h.

References msId(), and vb2_p.

Referenced by msId().

virtual String casa::vi::VisBuffer2Adapter::msName ( Bool  = False) const [inline, virtual]

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

Reimplemented from casa::VisBuffer.

Definition at line 451 of file VisBuffer2Adapter.h.

References msName(), and vb2_p.

Referenced by msName().

virtual Int& casa::vi::VisBuffer2Adapter::nChannel ( ) [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 71 of file VisBuffer2Adapter.h.

References nChannelsScalar_p, and vb2_p.

virtual Int casa::vi::VisBuffer2Adapter::nChannel ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 72 of file VisBuffer2Adapter.h.

References vb2_p.

virtual Int& casa::vi::VisBuffer2Adapter::nCorr ( ) [inline, virtual]

Access functions.

Reimplemented from casa::VisBuffer.

Definition at line 68 of file VisBuffer2Adapter.h.

References nCorr_p, casa::vi::VisBuffer2::nCorrelations(), and vb2_p.

virtual Int casa::vi::VisBuffer2Adapter::nCorr ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 69 of file VisBuffer2Adapter.h.

References vb2_p.

virtual Bool casa::vi::VisBuffer2Adapter::newArrayId ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 453 of file VisBuffer2Adapter.h.

References vb2_p.

virtual Bool casa::vi::VisBuffer2Adapter::newFieldId ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 454 of file VisBuffer2Adapter.h.

References vb2_p.

virtual Bool casa::vi::VisBuffer2Adapter::newMS ( ) const [inline, virtual]

checked if the ms has changed since the last chunk processed

Reimplemented from casa::VisBuffer.

Definition at line 449 of file VisBuffer2Adapter.h.

References vb2_p.

virtual Bool casa::vi::VisBuffer2Adapter::newSpectralWindow ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 455 of file VisBuffer2Adapter.h.

References vb2_p.

virtual void casa::vi::VisBuffer2Adapter::normalize ( const Bool = False) [inline, virtual]

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

Reimplemented from casa::VisBuffer.

Definition at line 378 of file VisBuffer2Adapter.h.

References CheckWritability, normalize(), and vb2Rw_p.

Referenced by normalize().

virtual Int& casa::vi::VisBuffer2Adapter::nRow ( ) [inline, virtual]

virtual Int & nCat() { return nCatOK_p ? nCat_p : fillnCat(); } virtual 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.

Definition at line 77 of file VisBuffer2Adapter.h.

References casa::vi::VisBuffer2::nRows(), nRows_p, and vb2_p.

virtual Int casa::vi::VisBuffer2Adapter::numberAnt ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 428 of file VisBuffer2Adapter.h.

References vb2_p.

virtual Int casa::vi::VisBuffer2Adapter::numberCoh ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 200 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual Vector<Int>& casa::vi::VisBuffer2Adapter::observationId ( ) [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 165 of file VisBuffer2Adapter.h.

References observationId(), and vb2_p.

Referenced by observationId().

virtual const Vector<Int>& casa::vi::VisBuffer2Adapter::observationId ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 166 of file VisBuffer2Adapter.h.

References observationId(), and vb2_p.

Referenced by observationId().

virtual Vector<Float> casa::vi::VisBuffer2Adapter::parang ( Double  time) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 121 of file VisBuffer2Adapter.h.

References parang(), and vb2_p.

Referenced by parang().

virtual Float casa::vi::VisBuffer2Adapter::parang0 ( Double  time) const [inline, virtual]

NOMINAL parallactic angle (feed p.a.

offset NOT included)

Reimplemented from casa::VisBuffer.

Definition at line 120 of file VisBuffer2Adapter.h.

References parang0(), and vb2_p.

Referenced by parang0().

virtual MDirection& casa::vi::VisBuffer2Adapter::phaseCenter ( ) [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 202 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual MDirection casa::vi::VisBuffer2Adapter::phaseCenter ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 203 of file VisBuffer2Adapter.h.

References phaseCenter(), and vb2_p.

Referenced by phaseCenter().

virtual void casa::vi::VisBuffer2Adapter::phaseCenterShift ( const Vector< Double > &  ) [inline, virtual]

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

Reimplemented from casa::VisBuffer.

Definition at line 384 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual void casa::vi::VisBuffer2Adapter::phaseCenterShift ( Double  ,
Double   
) [inline, virtual]

Rotate visibility phase for phase center offsets (arcsecs)

Reimplemented from casa::VisBuffer.

Definition at line 386 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual Int casa::vi::VisBuffer2Adapter::polarizationId ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 218 of file VisBuffer2Adapter.h.

References polarizationId(), and vb2_p.

Referenced by polarizationId().

virtual Int casa::vi::VisBuffer2Adapter::polFrame ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 205 of file VisBuffer2Adapter.h.

References vb2_p.

virtual Vector<Int>& casa::vi::VisBuffer2Adapter::processorId ( ) [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 162 of file VisBuffer2Adapter.h.

References processorId(), and vb2_p.

Referenced by processorId().

virtual const Vector<Int>& casa::vi::VisBuffer2Adapter::processorId ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 163 of file VisBuffer2Adapter.h.

References processorId(), and vb2_p.

Referenced by processorId().

virtual void casa::vi::VisBuffer2Adapter::refModelVis ( const Matrix< CStokesVector > &  ) [inline, virtual]

Reference external model visibilities.

Reimplemented from casa::VisBuffer.

Definition at line 416 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual void casa::vi::VisBuffer2Adapter::removeScratchCols ( ) [inline, virtual]

Remove scratch cols data from vb.

Reimplemented from casa::VisBuffer.

Definition at line 419 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual void casa::vi::VisBuffer2Adapter::resetWeightMat ( ) [inline, virtual]

Fill weightMat according to sigma column.

Reimplemented from casa::VisBuffer.

Definition at line 381 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual Vector<uInt>& casa::vi::VisBuffer2Adapter::rowIds ( ) [inline, 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::VisBuffer.

Definition at line 329 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual const Vector<uInt>& casa::vi::VisBuffer2Adapter::rowIds ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 331 of file VisBuffer2Adapter.h.

References rowIds(), and vb2_p.

Referenced by rowIds().

virtual Vector<Int>& casa::vi::VisBuffer2Adapter::scan ( ) [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 155 of file VisBuffer2Adapter.h.

References scan(), and vb2_p.

Referenced by scan().

virtual const Vector<Int>& casa::vi::VisBuffer2Adapter::scan ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 156 of file VisBuffer2Adapter.h.

References scan(), and vb2_p.

Referenced by scan().

virtual Int casa::vi::VisBuffer2Adapter::scan0 ( ) [inline, virtual]

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

Reimplemented from casa::VisBuffer.

Definition at line 160 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual void casa::vi::VisBuffer2Adapter::setCorrectedVisCube ( Complex  ) [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 401 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual void casa::vi::VisBuffer2Adapter::setCorrectedVisCube ( const Cube< Complex > &  vis) [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 407 of file VisBuffer2Adapter.h.

References CheckWritability, and vb2Rw_p.

virtual void casa::vi::VisBuffer2Adapter::setFloatDataCube ( const Cube< Float > &  fcube) [inline, virtual]

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

Reimplemented from casa::VisBuffer.

Definition at line 410 of file VisBuffer2Adapter.h.

References CheckWritability, and vb2Rw_p.

virtual void casa::vi::VisBuffer2Adapter::setModelVisCube ( Complex  c) [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 400 of file VisBuffer2Adapter.h.

References CheckWritability, and vb2Rw_p.

virtual void casa::vi::VisBuffer2Adapter::setModelVisCube ( const Cube< Complex > &  vis) [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 406 of file VisBuffer2Adapter.h.

References CheckWritability, and vb2Rw_p.

virtual void casa::vi::VisBuffer2Adapter::setModelVisCube ( const Vector< Float > &  ) [inline, virtual]

Set model according to a Stokes vector.

Reimplemented from casa::VisBuffer.

Definition at line 413 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual void casa::vi::VisBuffer2Adapter::setVisCube ( Complex  c) [inline, 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::VisBuffer.

Definition at line 399 of file VisBuffer2Adapter.h.

References CheckWritability, setVisCube(), and vb2Rw_p.

Referenced by setVisCube().

virtual void casa::vi::VisBuffer2Adapter::setVisCube ( const Cube< Complex > &  vis) [inline, virtual]

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

Reimplemented from casa::VisBuffer.

Definition at line 405 of file VisBuffer2Adapter.h.

References CheckWritability, setVisCube(), and vb2Rw_p.

Referenced by setVisCube().

virtual Vector<Float>& casa::vi::VisBuffer2Adapter::sigma ( ) [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 210 of file VisBuffer2Adapter.h.

References IllegalOperation.

Referenced by sigmaMat().

virtual const Vector<Float>& casa::vi::VisBuffer2Adapter::sigma ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 211 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual Matrix<Float>& casa::vi::VisBuffer2Adapter::sigmaMat ( ) [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 213 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual const Matrix<Float>& casa::vi::VisBuffer2Adapter::sigmaMat ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 214 of file VisBuffer2Adapter.h.

References sigma(), and vb2_p.

virtual void casa::vi::VisBuffer2Adapter::sortCorr ( ) [inline, virtual]

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

Reimplemented from casa::VisBuffer.

Definition at line 373 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual Int& casa::vi::VisBuffer2Adapter::spectralWindow ( ) [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 216 of file VisBuffer2Adapter.h.

References spectralWindow_p, casa::vi::VisBuffer2::spectralWindows(), and vb2_p.

virtual Int casa::vi::VisBuffer2Adapter::spectralWindow ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 217 of file VisBuffer2Adapter.h.

References vb2_p.

virtual Vector<Int>& casa::vi::VisBuffer2Adapter::stateId ( ) [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 168 of file VisBuffer2Adapter.h.

References stateId(), and vb2_p.

Referenced by stateId().

virtual const Vector<Int>& casa::vi::VisBuffer2Adapter::stateId ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 169 of file VisBuffer2Adapter.h.

References stateId(), and vb2_p.

Referenced by stateId().

virtual Vector<Double>& casa::vi::VisBuffer2Adapter::time ( ) [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 221 of file VisBuffer2Adapter.h.

References IllegalOperation.

Referenced by lsrFrequency().

virtual const Vector<Double>& casa::vi::VisBuffer2Adapter::time ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 222 of file VisBuffer2Adapter.h.

References time(), and vb2_p.

Referenced by time().

virtual Vector<Double>& casa::vi::VisBuffer2Adapter::timeCentroid ( ) [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 224 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual const Vector<Double>& casa::vi::VisBuffer2Adapter::timeCentroid ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 225 of file VisBuffer2Adapter.h.

References timeCentroid(), and vb2_p.

Referenced by timeCentroid().

virtual Vector<Double>& casa::vi::VisBuffer2Adapter::timeInterval ( ) [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 227 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual const Vector<Double>& casa::vi::VisBuffer2Adapter::timeInterval ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 228 of file VisBuffer2Adapter.h.

References timeInterval(), and vb2_p.

Referenced by timeInterval().

virtual Bool casa::vi::VisBuffer2Adapter::timeRange ( MEpoch ,
MVEpoch ,
MVEpoch  
) const [inline, virtual]

Time range.

Reimplemented from casa::VisBuffer.

Definition at line 324 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual void casa::vi::VisBuffer2Adapter::unSortCorr ( ) [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 374 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual void casa::vi::VisBuffer2Adapter::updateCoordInfo ( const VisBuffer = NULL,
const Bool  = True 
) [inline, virtual]

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

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

Reimplemented from casa::VisBuffer.

Definition at line 395 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual Vector<RigidVector<Double, 3> >& casa::vi::VisBuffer2Adapter::uvw ( ) [inline, virtual]
virtual const Vector<RigidVector<Double, 3> >& casa::vi::VisBuffer2Adapter::uvw ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 254 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual Matrix<Double>& casa::vi::VisBuffer2Adapter::uvwMat ( ) [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 256 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual const Matrix<Double>& casa::vi::VisBuffer2Adapter::uvwMat ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 257 of file VisBuffer2Adapter.h.

References uvw(), and vb2_p.

virtual Vector<Int> casa::vi::VisBuffer2Adapter::vecIntRange ( const MSCalEnums::colDef ) const [inline, 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.

Definition at line 318 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual Cube<Complex>& casa::vi::VisBuffer2Adapter::visCube ( ) [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 268 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual const Cube<Complex>& casa::vi::VisBuffer2Adapter::visCube ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 269 of file VisBuffer2Adapter.h.

References vb2_p, and visCube().

Referenced by visCube().

Reimplemented from casa::VisBuffer.

Definition at line 259 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual const Matrix<CStokesVector>& casa::vi::VisBuffer2Adapter::visibility ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 260 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual Vector<Float>& casa::vi::VisBuffer2Adapter::weight ( ) [inline, virtual]

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

Reimplemented from casa::VisBuffer.

Definition at line 292 of file VisBuffer2Adapter.h.

References IllegalOperation.

Referenced by weightMat().

virtual const Vector<Float>& casa::vi::VisBuffer2Adapter::weight ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 293 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual Cube<Float>& casa::vi::VisBuffer2Adapter::weightCube ( ) [inline, virtual]

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

Reimplemented from casa::VisBuffer.

Definition at line 308 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual Matrix<Float>& casa::vi::VisBuffer2Adapter::weightMat ( ) [inline, virtual]

Returns the nPol_p x curNumRow_p weight matrix.

Reimplemented from casa::VisBuffer.

Definition at line 296 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual const Matrix<Float>& casa::vi::VisBuffer2Adapter::weightMat ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 297 of file VisBuffer2Adapter.h.

References vb2_p, and weight().

virtual Cube<Float>& casa::vi::VisBuffer2Adapter::weightSpectrum ( ) [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 302 of file VisBuffer2Adapter.h.

References IllegalOperation.

virtual const Cube<Float>& casa::vi::VisBuffer2Adapter::weightSpectrum ( ) const [inline, virtual]

Reimplemented from casa::VisBuffer.

Definition at line 303 of file VisBuffer2Adapter.h.

References vb2_p, and weightSpectrum().

Referenced by weightSpectrum().


Member Data Documentation

     

Definition at line 463 of file VisBuffer2Adapter.h.

Referenced by construct(), and msColumns().

Definition at line 464 of file VisBuffer2Adapter.h.

Referenced by allSelectedSpectralWindows(), and construct().

Definition at line 465 of file VisBuffer2Adapter.h.

Referenced by nChannel().

Reimplemented from casa::VisBuffer.

Definition at line 466 of file VisBuffer2Adapter.h.

Referenced by nCorr().

Definition at line 467 of file VisBuffer2Adapter.h.

Referenced by nRow().

Reimplemented from casa::VisBuffer.

Definition at line 468 of file VisBuffer2Adapter.h.

Referenced by spectralWindow().

Definition at line 469 of file VisBuffer2Adapter.h.

Referenced by allSelectedSpectralWindows(), and construct().

Reimplemented from casa::VisBuffer.

Definition at line 470 of file VisBuffer2Adapter.h.

Referenced by uvw().


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