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

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

#include <VisBufferAsyncWrapper2.h>

Inheritance diagram for casa::vi::VisBufferWrapperAsync2:
casa::vi::VisBuffer2

List of all members.

Public Member Functions

virtual ~VisBufferWrapperAsync2 ()
 Destructor (detaches from VisIter)
virtual void copy (const VisBuffer2 &other, Bool fetchIfNeeded)
 

virtual void copyComponents (const VisBuffer2 &other, const VisBufferComponents2 &components, Bool fetchIfNeeded=True)
 Copies the specified components (or just the one in the cache) from the specified VisBuffer into this one.
virtual void copyCoordinateInfo (const VisBuffer2 *other, Bool includeDirections, Bool fetchIfNeeded=True)
 Copies the coordinate components from the specified VisBuffer into this one.
virtual void setShape (Int nCorrelations, Int nChannels, Int nRows)
virtual const VisibilityIterator2getVi () const
 For attached VBs this returns the VI the VB is attached to.
virtual Bool isAttached () const
virtual Bool isFillable () const
virtual void writeChangesBack ()
 

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 const Matrix< Float > & imagingWeight () const
 This method returns the imaging weights associated with the VisBuffer.
virtual Double getFrequency (Int rowInBuffer, Int frequencyIndex, Int frame=FrameNotSpecified) const
 

virtual const Vector< Double > & getFrequencies (Int rowInBuffer, Int frame=FrameNotSpecified) const
virtual Int getChannelNumber (Int rowInBuffer, Int frequencyIndex) const
virtual const Vector< Int > & getChannelNumbers (Int rowInBuffer) const
virtual void normalize ()
 Sort/unsort the correlations, if necessary (Rudimentary handling of non-canonically sorted correlations--use with care!)
virtual void resetWeightsUsingSigma ()
 Set the weight cube using the sigma cube.
virtual Bool isNewArrayId () const
 

virtual Bool isNewFieldId () const
virtual Bool isNewMs () const
virtual Bool isNewSpectralWindow () const
virtual Bool isWritable () const
virtual Int msId () const
virtual String msName (Bool stripPath=False) const
virtual Subchunk getSubchunk () const
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
virtual void setAntenna1 (const Vector< Int > &value)=0
virtual const Vector< Int > & antenna2 () const =0
virtual void setAntenna2 (const Vector< Int > &value)=0
virtual const Vector< Int > & arrayId () const =0
virtual void setArrayId (const Vector< Int > &)=0
virtual Int dataDescriptionId () const =0
virtual void setDataDescriptionId (Int value)=0
virtual const Vector
< MDirection > & 
direction1 () const =0
virtual const Vector
< MDirection > & 
direction2 () const =0
virtual const Vector< Double > & exposure () const =0
virtual void setExposure (const Vector< Double > &value)=0
virtual const Vector< Int > & feed1 () const =0
virtual void setFeed1 (const Vector< Int > &value)=0
virtual const Vector< Int > & feed2 () const =0
virtual void setFeed2 (const Vector< Int > &value)=0
virtual const Vector< Int > & fieldId () const =0
virtual void setFieldId (const Vector< Int > &)=0
virtual const Matrix< Bool > & flag () const =0
virtual void setFlag (const Matrix< Bool > &value)=0
virtual const Array< Bool > & flagCategory () const =0
virtual void setFlagCategory (const Array< Bool > &value)=0
virtual const Cube< Bool > & flagCube () const =0
virtual void setFlagCube (const Cube< Bool > &value)=0
virtual const Vector< Bool > & flagRow () const =0
virtual void setFlagRow (const Vector< Bool > &value)=0
virtual const Vector< Int > & observationId () const =0
virtual void setObservationId (const Vector< Int > &value)=0
virtual const Vector< Int > & processorId () const =0
virtual void setProcessorId (const Vector< Int > &value)=0
virtual const Vector< Int > & scan () const =0
virtual void setScan (const Vector< Int > &value)=0
virtual const Matrix< Float > & sigma () const =0
virtual void setSigma (const Matrix< Float > &value)=0
virtual const Vector< Int > & stateId () const =0
 virtual const Matrix<Float> & sigmaMat () const = 0; // [nC,nR]
virtual void setStateId (const Vector< Int > &value)=0
virtual const Vector< Double > & time () const =0
virtual void setTime (const Vector< Double > &value)=0
virtual const Vector< Double > & timeCentroid () const =0
virtual void setTimeCentroid (const Vector< Double > &value)=0
virtual const Vector< Double > & timeInterval () const =0
virtual void setTimeInterval (const Vector< Double > &value)=0
virtual const Matrix< Double > & uvw () const =0
virtual void setUvw (const Matrix< Double > &value)=0
virtual const Matrix< Float > & weight () const =0
virtual void setWeight (const Matrix< Float > &value)=0
virtual const Cube< Float > & weightSpectrum () const =0
 virtual const Matrix<Float> & weightMat () const = 0; // [nC,nR] virtual void setWeightMat (const Matrix<Float>& value) = 0; // [nC,nR]
virtual void setWeightSpectrum (const Cube< Float > &value)=0
virtual const Cube< Complex > & visCube () const
 
Visibility data accessors in order of observed, corrected, float, & model
virtual void setVisCube (const Complex &c)
virtual void setVisCube (const Cube< Complex > &)
virtual const Matrix
< CStokesVector > & 
vis () const
virtual void setVis (Matrix< CStokesVector > &)
virtual const Cube< Complex > & visCubeCorrected () const
 virtual const Matrix<CStokesVector> & vis () const = 0; // [nF,nR] virtual void setVis (Matrix<CStokesVector> &) = 0; // [nF,nR]
virtual void setVisCubeCorrected (const Cube< Complex > &)
virtual const Matrix
< CStokesVector > & 
visCorrected () const
virtual void setVisCorrected (const Matrix< CStokesVector > &)
virtual const Cube< Float > & visCubeFloat () const
 virtual const Matrix<CStokesVector> & visCorrected () const = 0; // [nF,nR] virtual void setVisCorrected (const Matrix<CStokesVector> &) = 0; // [nF,nR]
virtual void setVisCubeFloat (const Cube< Float > &)
virtual const Cube< Complex > & visCubeModel () const
virtual void setVisCubeModel (const Complex &c)
virtual void setVisCubeModel (const Cube< Complex > &vis)
virtual void setVisCubeModel (const Vector< Float > &stokes)
virtual const Matrix
< CStokesVector > & 
visModel () const
virtual void setVisModel (Matrix< CStokesVector > &)
virtual MDirection azel0 (Double time) const
 

virtual const Vector
< MDirection > & 
azel (Double time) const
 Returns the pointing angle for each antenna in the array at the specified time.
virtual const Vector
< SquareMatrix< Complex, 2 > > & 
cjones () const
 Returns the Jones C matrix for each antenna.
virtual const Vector< Int > & correlationTypes () const
 Returns the correlation type of each correlation in the VisCube.
virtual const Vector< Float > & feedPa (Double time) const
 Calculates the parallactic angle for the first receptor of each antenna at the specified time.
virtual const Vector< Float > & feedPa1 () const
 Calculates the parallactic angle for feed 0 of the row's Antenna1.
virtual const Vector< Float > & feedPa2 () const
 Calculates the parallactic angle for feed 0 of the row's Antenna2.
virtual Double hourang (Double time) const
 Returns the hour angle of the array at the specified time.
virtual Int nAntennas () const
virtual Int nChannels () const
virtual Int nCorrelations () const
 Returns the number of correlations along the visCube correlation axis.
virtual Int nRows () const
 Returns the number of rows in this VisBuffer.
virtual Float parang0 (Double time) const
 Calculates the parallactic angle of the array as a whole at the specified time.
virtual const Vector< Float > & parang (Double time) const
 Calculates the parallactic angle of each antenna in the array at the specified time.
virtual const MDirectionphaseCenter () const
 Returns the phase center of the array for the specified row.
virtual Int polarizationFrame () const
 Returns the polarization frame for the specified row.
virtual Int polarizationId () const
virtual const Vector< uInt > & rowIds () const
 The returned Vector serves as a map between the rows in the VisBuffer and the row IDs in the underlying MS main virtual table: mainTableID [i] = rowIds () [ i];.
virtual Int spectralWindow () const
 Returns the spectral window ID for the specified row.

Protected Member Functions

 VisBufferWrapperAsync2 (VisibilityIterator2 &iter)
VisBuffer2getWrappedVisBuffer () const
void wrap (VisBuffer2 *vba)

Private Attributes

VisBuffer2wrappedVb_p
VisibilityIterator2wrappedVisIterAsync_p

Friends

class ViReadImplAsync

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 77 of file VisBufferAsyncWrapper2.h.


Constructor & Destructor Documentation

Destructor (detaches from VisIter)


Member Function Documentation

virtual const Vector<Int>& casa::vi::VisBufferWrapperAsync2::antenna2 ( ) const [pure virtual]

Implements casa::vi::VisBuffer2.

virtual const Vector<Int>& casa::vi::VisBufferWrapperAsync2::arrayId ( ) const [pure virtual]

Implements casa::vi::VisBuffer2.

virtual const Vector<MDirection>& casa::vi::VisBufferWrapperAsync2::azel ( Double  time) const [virtual]

Returns the pointing angle for each antenna in the array at the specified time.

Implements casa::vi::VisBuffer2.

virtual MDirection casa::vi::VisBufferWrapperAsync2::azel0 ( Double  time) const [virtual]


Accessors for data derived from the MS main table data

Returns the pointing angle for the array as a whole at the specified time.

Implements casa::vi::VisBuffer2.

virtual const Vector<SquareMatrix<Complex, 2> >& casa::vi::VisBufferWrapperAsync2::cjones ( ) const [virtual]

Returns the Jones C matrix for each antenna.

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferWrapperAsync2::copy ( const VisBuffer2 other,
Bool  fetchIfNeeded 
) [virtual]


Copying methods

These methods allow copying portions of the data between two VisBuffers. Because of the complicated semantics of a VisBuffer the assignment and copy-construction methods are not used as they are likely to confuse VisBuffer users.

Copies all of the components from the specified VisBuffer into this one. Uncached values will be cleared in this VB.

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferWrapperAsync2::copyComponents ( const VisBuffer2 other,
const VisBufferComponents2 components,
Bool  fetchIfNeeded = True 
) [virtual]

Copies the specified components (or just the one in the cache) from the specified VisBuffer into this one.

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferWrapperAsync2::copyCoordinateInfo ( const VisBuffer2 other,
Bool  includeDirections,
Bool  fetchIfNeeded = True 
) [virtual]

Copies the coordinate components from the specified VisBuffer into this one.

Depending on includeDirections the direction related ones are copied or not.

Implements casa::vi::VisBuffer2.

virtual const Vector<Int>& casa::vi::VisBufferWrapperAsync2::correlationTypes ( ) const [virtual]

Returns the correlation type of each correlation in the VisCube.

Implements casa::vi::VisBuffer2.

virtual Int casa::vi::VisBufferWrapperAsync2::dataDescriptionId ( ) const [pure virtual]
virtual const Vector<MDirection>& casa::vi::VisBufferWrapperAsync2::direction1 ( ) const [pure virtual]

Implements casa::vi::VisBuffer2.

virtual const Vector<MDirection>& casa::vi::VisBufferWrapperAsync2::direction2 ( ) const [pure virtual]

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferWrapperAsync2::dirtyComponentsAdd ( const VisBufferComponents2 additionalDirtyComponents) [virtual]

Implements casa::vi::VisBuffer2.

Implements casa::vi::VisBuffer2.

Implements casa::vi::VisBuffer2.

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferWrapperAsync2::dirtyComponentsSet ( const VisBufferComponents2 dirtyComponents) [virtual]

Implements casa::vi::VisBuffer2.

Implements casa::vi::VisBuffer2.

virtual const Vector<Double>& casa::vi::VisBufferWrapperAsync2::exposure ( ) const [pure virtual]

Implements casa::vi::VisBuffer2.

virtual const Vector<Int>& casa::vi::VisBufferWrapperAsync2::feed1 ( ) const [pure virtual]

Implements casa::vi::VisBuffer2.

virtual const Vector<Int>& casa::vi::VisBufferWrapperAsync2::feed2 ( ) const [pure virtual]

Implements casa::vi::VisBuffer2.

virtual const Vector<Float>& casa::vi::VisBufferWrapperAsync2::feedPa ( Double  time) const [virtual]

Calculates the parallactic angle for the first receptor of each antenna at the specified time.

Implements casa::vi::VisBuffer2.

virtual const Vector<Float>& casa::vi::VisBufferWrapperAsync2::feedPa1 ( ) const [virtual]

Calculates the parallactic angle for feed 0 of the row's Antenna1.

Implements casa::vi::VisBuffer2.

virtual const Vector<Float>& casa::vi::VisBufferWrapperAsync2::feedPa2 ( ) const [virtual]

Calculates the parallactic angle for feed 0 of the row's Antenna2.

Implements casa::vi::VisBuffer2.

virtual const Vector<Int>& casa::vi::VisBufferWrapperAsync2::fieldId ( ) const [pure virtual]

Implements casa::vi::VisBuffer2.

virtual const Matrix<Bool>& casa::vi::VisBufferWrapperAsync2::flag ( ) const [pure virtual]

Implements casa::vi::VisBuffer2.

virtual const Array<Bool>& casa::vi::VisBufferWrapperAsync2::flagCategory ( ) const [pure virtual]

Implements casa::vi::VisBuffer2.

virtual const Cube<Bool>& casa::vi::VisBufferWrapperAsync2::flagCube ( ) const [pure virtual]

Implements casa::vi::VisBuffer2.

virtual const Vector<Bool>& casa::vi::VisBufferWrapperAsync2::flagRow ( ) const [pure virtual]

Implements casa::vi::VisBuffer2.

virtual Int casa::vi::VisBufferWrapperAsync2::getChannelNumber ( Int  rowInBuffer,
Int  frequencyIndex 
) const [virtual]

Implements casa::vi::VisBuffer2.

virtual const Vector<Int>& casa::vi::VisBufferWrapperAsync2::getChannelNumbers ( Int  rowInBuffer) const [virtual]

Implements casa::vi::VisBuffer2.

virtual const Vector<Double>& casa::vi::VisBufferWrapperAsync2::getFrequencies ( Int  rowInBuffer,
Int  frame = FrameNotSpecified 
) const [virtual]

Implements casa::vi::VisBuffer2.

virtual Double casa::vi::VisBufferWrapperAsync2::getFrequency ( Int  rowInBuffer,
Int  frequencyIndex,
Int  frame = FrameNotSpecified 
) const [virtual]


Frequency reporting methods.

These methods provide information about the frequencies returned in the visibility cubes. The information can returned as the channel numbers (numbered as in the underlying MS data) or in a frame-based frequency. This information reported need not be in the same frame of reference used to select the data. If the frame of reference is specified in the call, then that is the frame that is used to calculate the frequencies. If it is not specified, then the VisibilityIterator will be queried for virtual the reportingFrame; if the user has specified a reporting frame to the virtual VI then that frame will be used; otherwise the frame used to select the frequencies will be used. If the user provides no frequency selection to the VI then the selection frame will TOPO.

Both the channelNumber and frequency reporting methods come in two versions: one returns a single frequency for the specified frequency index and row while the other provides all of the frequencies for the specified row. The frequency index is the zero-based index along the frequency axis of a visibility cube.

Implements casa::vi::VisBuffer2.

virtual Subchunk casa::vi::VisBufferWrapperAsync2::getSubchunk ( ) const [virtual]

Implements casa::vi::VisBuffer2.

For attached VBs this returns the VI the VB is attached to.

For free VBs this method returns False.

Implements casa::vi::VisBuffer2.

virtual Double casa::vi::VisBufferWrapperAsync2::hourang ( Double  time) const [virtual]

Returns the hour angle of the array at the specified time.

Implements casa::vi::VisBuffer2.

virtual const Matrix<Float>& casa::vi::VisBufferWrapperAsync2::imagingWeight ( ) const [virtual]

This method returns the imaging weights associated with the VisBuffer.

If an imaging weight generator has not been supplied to the associated VisibilityIterator then this method will throw an exception.

Implements casa::vi::VisBuffer2.

Implements casa::vi::VisBuffer2.

Implements casa::vi::VisBuffer2.


Subhchunk information methods

These methods provide information related to the current subchunk. The isNewXXX methods return True if the XXX property of the subchunk differs from the previous subchunk.

The methods msId and msName provide information about the MS related to the current subchunk. The msID is the zero-based index of the MS in the sequence of MSs being iterated over.

The isWritable method is True when the attached iterator is writable and False otherwise.

The isRekeyable method is True when the VisBuffer is writable and also allows the modification of non-data fields (e.g., antenna1, fieldId, etc.) A rekeyable VB is one that could be used to create data for a brand new MS.

Implements casa::vi::VisBuffer2.

Implements casa::vi::VisBuffer2.

virtual Bool casa::vi::VisBufferWrapperAsync2::isNewMs ( ) const [virtual]

Implements casa::vi::VisBuffer2.

Implements casa::vi::VisBuffer2.

Implements casa::vi::VisBuffer2.

virtual Int casa::vi::VisBufferWrapperAsync2::msId ( ) const [virtual]

Implements casa::vi::VisBuffer2.

virtual String casa::vi::VisBufferWrapperAsync2::msName ( Bool  stripPath = False) const [virtual]

Implements casa::vi::VisBuffer2.

virtual Int casa::vi::VisBufferWrapperAsync2::nAntennas ( ) const [virtual]

Implements casa::vi::VisBuffer2.

virtual Int casa::vi::VisBufferWrapperAsync2::nChannels ( ) const [virtual]

Implements casa::vi::VisBuffer2.

Returns the number of correlations along the visCube correlation axis.

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferWrapperAsync2::normalize ( ) [virtual]

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

The sorting functionality is a horrible kluge that puts the VisBuffer into a somewhat incoherent state (e.g., after sorting the correlation types array does not correspond to the data) and appears to serve the needs of a tiny piece of code. As such, this refactor is initially not going to support this functionality since it is probably better implemented in the one place that actually needs it. (jjacobs 10/3/12)

virtual void sortCorr (); virtual void unSortCorr();

Normalize the visCube by the modelVisCube.

Implements casa::vi::VisBuffer2.

virtual Int casa::vi::VisBufferWrapperAsync2::nRows ( ) const [virtual]

Returns the number of rows in this VisBuffer.

Implements casa::vi::VisBuffer2.

virtual const Vector<Int>& casa::vi::VisBufferWrapperAsync2::observationId ( ) const [pure virtual]

Implements casa::vi::VisBuffer2.

virtual const Vector<Float>& casa::vi::VisBufferWrapperAsync2::parang ( Double  time) const [virtual]

Calculates the parallactic angle of each antenna in the array at the specified time.

Implements casa::vi::VisBuffer2.

virtual Float casa::vi::VisBufferWrapperAsync2::parang0 ( Double  time) const [virtual]

Calculates the parallactic angle of the array as a whole at the specified time.

Implements casa::vi::VisBuffer2.

virtual const MDirection& casa::vi::VisBufferWrapperAsync2::phaseCenter ( ) const [virtual]

Returns the phase center of the array for the specified row.

Implements casa::vi::VisBuffer2.

Returns the polarization frame for the specified row.

Implements casa::vi::VisBuffer2.

Implements casa::vi::VisBuffer2.

virtual const Vector<Int>& casa::vi::VisBufferWrapperAsync2::processorId ( ) const [pure virtual]

Implements casa::vi::VisBuffer2.

Set the weight cube using the sigma cube.

Each weight will be the reciprocal of the square of the corresponding element in the model VisCube multiplied by the number of channels in the spectral window. If an element in sigma is zero then the corresponding weight element will also be set to zero.

Implements casa::vi::VisBuffer2.

virtual const Vector<uInt>& casa::vi::VisBufferWrapperAsync2::rowIds ( ) const [virtual]

The returned Vector serves as a map between the rows in the VisBuffer and the row IDs in the underlying MS main virtual table: mainTableID [i] = rowIds () [ i];.

Implements casa::vi::VisBuffer2.

virtual const Vector<Int>& casa::vi::VisBufferWrapperAsync2::scan ( ) const [pure virtual]

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferWrapperAsync2::setAntenna1 ( const Vector< Int > &  value) [pure virtual]

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferWrapperAsync2::setAntenna2 ( const Vector< Int > &  value) [pure virtual]

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferWrapperAsync2::setArrayId ( const Vector< Int > &  ) [pure virtual]

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferWrapperAsync2::setDataDescriptionId ( Int  value) [pure virtual]
virtual void casa::vi::VisBufferWrapperAsync2::setExposure ( const Vector< Double > &  value) [pure virtual]

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferWrapperAsync2::setFeed1 ( const Vector< Int > &  value) [pure virtual]

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferWrapperAsync2::setFeed2 ( const Vector< Int > &  value) [pure virtual]

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferWrapperAsync2::setFieldId ( const Vector< Int > &  ) [pure virtual]

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferWrapperAsync2::setFlag ( const Matrix< Bool > &  value) [pure virtual]

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferWrapperAsync2::setFlagCategory ( const Array< Bool > &  value) [pure virtual]

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferWrapperAsync2::setFlagCube ( const Cube< Bool > &  value) [pure virtual]

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferWrapperAsync2::setFlagRow ( const Vector< Bool > &  value) [pure virtual]

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferWrapperAsync2::setObservationId ( const Vector< Int > &  value) [pure virtual]

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferWrapperAsync2::setProcessorId ( const Vector< Int > &  value) [pure virtual]

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferWrapperAsync2::setScan ( const Vector< Int > &  value) [pure virtual]

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferWrapperAsync2::setShape ( Int  nCorrelations,
Int  nChannels,
Int  nRows 
) [virtual]
virtual void casa::vi::VisBufferWrapperAsync2::setSigma ( const Matrix< Float > &  value) [pure virtual]

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferWrapperAsync2::setStateId ( const Vector< Int > &  value) [pure virtual]

Implements casa::vi::VisBuffer2.

Data accessors and casa::vi::VisBufferWrapperAsync2::setters ( where  appropriate)

Reimplemented from casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferWrapperAsync2::setTime ( const Vector< Double > &  value) [pure virtual]

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferWrapperAsync2::setTimeCentroid ( const Vector< Double > &  value) [pure virtual]

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferWrapperAsync2::setTimeInterval ( const Vector< Double > &  value) [pure virtual]

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferWrapperAsync2::setUvw ( const Matrix< Double > &  value) [pure virtual]

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferWrapperAsync2::setVisCube ( const Complex &  c) [virtual]

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferWrapperAsync2::setVisCube ( const Cube< Complex > &  ) [virtual]

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferWrapperAsync2::setVisCubeCorrected ( const Cube< Complex > &  ) [virtual]

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferWrapperAsync2::setVisCubeFloat ( const Cube< Float > &  ) [virtual]

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferWrapperAsync2::setVisCubeModel ( const Complex &  c) [virtual]

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferWrapperAsync2::setVisCubeModel ( const Cube< Complex > &  vis) [virtual]

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferWrapperAsync2::setVisCubeModel ( const Vector< Float > &  stokes) [virtual]
virtual void casa::vi::VisBufferWrapperAsync2::setWeight ( const Matrix< Float > &  value) [pure virtual]

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferWrapperAsync2::setWeightSpectrum ( const Cube< Float > &  value) [pure virtual]

Implements casa::vi::VisBuffer2.

virtual const Matrix<Float>& casa::vi::VisBufferWrapperAsync2::sigma ( ) const [pure virtual]

Implements casa::vi::VisBuffer2.

Returns the spectral window ID for the specified row.

virtual const Vector<Int>& casa::vi::VisBufferWrapperAsync2::stateId ( ) const [pure virtual]

virtual const Matrix<Float> & sigmaMat () const = 0; // [nC,nR]

Implements casa::vi::VisBuffer2.

virtual const Vector<Double>& casa::vi::VisBufferWrapperAsync2::time ( ) const [pure virtual]

Implements casa::vi::VisBuffer2.

virtual const Vector<Double>& casa::vi::VisBufferWrapperAsync2::timeCentroid ( ) const [pure virtual]

Implements casa::vi::VisBuffer2.

virtual const Vector<Double>& casa::vi::VisBufferWrapperAsync2::timeInterval ( ) const [pure virtual]

Implements casa::vi::VisBuffer2.

virtual const Matrix<Double>& casa::vi::VisBufferWrapperAsync2::uvw ( ) const [pure virtual]

Implements casa::vi::VisBuffer2.

virtual const Matrix<CStokesVector>& casa::vi::VisBufferWrapperAsync2::vis ( ) const [virtual]
virtual const Cube<Complex>& casa::vi::VisBufferWrapperAsync2::visCube ( ) const [virtual]


Visibility data accessors in order of observed, corrected, float, & model

Implements casa::vi::VisBuffer2.

virtual const Cube<Complex>& casa::vi::VisBufferWrapperAsync2::visCubeCorrected ( ) const [virtual]

virtual const Matrix<CStokesVector> & vis () const = 0; // [nF,nR] virtual void setVis (Matrix<CStokesVector> &) = 0; // [nF,nR]

Implements casa::vi::VisBuffer2.

virtual const Cube<Float>& casa::vi::VisBufferWrapperAsync2::visCubeFloat ( ) const [virtual]

virtual const Matrix<CStokesVector> & visCorrected () const = 0; // [nF,nR] virtual void setVisCorrected (const Matrix<CStokesVector> &) = 0; // [nF,nR]

Implements casa::vi::VisBuffer2.

virtual const Cube<Complex>& casa::vi::VisBufferWrapperAsync2::visCubeModel ( ) const [virtual]

Implements casa::vi::VisBuffer2.

virtual const Matrix<Float>& casa::vi::VisBufferWrapperAsync2::weight ( ) const [pure virtual]

Implements casa::vi::VisBuffer2.

virtual const Cube<Float>& casa::vi::VisBufferWrapperAsync2::weightSpectrum ( ) const [pure virtual]

virtual const Matrix<Float> & weightMat () const = 0; // [nC,nR] virtual void setWeightMat (const Matrix<Float>& value) = 0; // [nC,nR]

Implements casa::vi::VisBuffer2.


Dirty component methods

The dirtyComponent methods support the data-flow approach to using VisBuffers (the Visibility Processing Framework). In this approach a VisBuffer is passed to successive processing nodes (e.g., applycal, flagging, etc.) which operate on it and pass it on to the next node in the algorithm. The dirtyComponents mechanism allows a processing node to mark portions of the VisBuffer as modified. If the VisBuffer reaches an write-to-disk node then the modified portions of the VisBuffer will be written out. The user can also explicitly direct that the changes be written out using the writeChangesBack method.

Using a setter on a VisBuffer component will also set the dirty flag for that component. Normally the user should not need to use these methods; however, they are available in case unexpected situations should arise in the future.

Implements casa::vi::VisBuffer2.


Friends And Related Function Documentation

friend class ViReadImplAsync [friend]

Definition at line 79 of file VisBufferAsyncWrapper2.h.


Member Data Documentation

Definition at line 444 of file VisBufferAsyncWrapper2.h.

Definition at line 445 of file VisBufferAsyncWrapper2.h.


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