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

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

#include <VisBufferImpl2.h>

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

List of all members.

Public Member Functions

 VisBufferImpl2 ()
 Create empty VisBufferImpl2 you can assign to or attach.
 VisBufferImpl2 (VisibilityIterator2 *iter, VisBufferOptions options)
 Construct VisBufferImpl2 for a particular VisibilityIterator2 The buffer will remain synchronized with the iterator.
virtual ~VisBufferImpl2 ()
 Destructor (detaches from VisIter)
virtual void associateWithVisibilityIterator2 (const VisibilityIterator2 &vi)
virtual void copy (const VisBuffer2 &other, Bool fetchIfNeeded=True)
 Copies all of the components (or just the one in the cache) from the specified VisBuffer into this one.
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 *vb, Bool dirDependent, Bool fetchIfNeeded=True)
 Copies the coordinate components from the specified VisBuffer into this one.
virtual Vector< IntgetCorrelationNumbers () const
 

virtual String getFillErrorMessage () const
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 const VisibilityIterator2getVi () const
 For attached VBs this returns the VI the VB is attached to.
virtual void invalidate ()
virtual Bool isAttached () const
virtual Bool isFillable () const
virtual void setShape (Int nCorrelations, Int nChannels, Int nRows, Bool clearTheCache=True)
virtual void validateShapes () const
virtual void writeChangesBack ()
 

virtual const Vector< Float > & feedPa (Double time) const
 --> This needs to be removed: virtual Bool fetch(const asyncio::PrefetchColumns *pfc);
virtual Float parang0 (Double time) const
 NOMINAL parallactic angle (feed p.a.
virtual const Vector< Float > & parang (Double time) const
 Calculates the parallactic angle of each antenna in the array at the specified time.
virtual MDirection azel0 (Double time) const
 virtual void setVisCubeModel(const Vector<Float>& stokes) = 0; // [1..4] virtual const Matrix<CStokesVector> & visModel () const = 0; // [nF,nR] virtual void setVisModel (Matrix<CStokesVector> &) = 0; // [nF,nR]
virtual const Vector
< MDirection > & 
azel (Double time) const
 Returns the pointing angle for each antenna in the array at the specified time.
virtual Double hourang (Double time) const
 Hour angle for specified time.
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 ()
 Normalize the visCube by the modelVisCube (and optionally also divide visCube_p by its normalized amp)
virtual void resetWeightsUsingSigma ()
 Fill weightMat according to sigma column.
virtual Bool isNewArrayId () const
 Rotate visibility phase for given vector (dim = nrow of vb) of phases (metres)
virtual Bool isNewFieldId () const
virtual Bool isNewMs () const
virtual Bool isNewSpectralWindow () const
virtual Bool isRekeyable () const
virtual Bool isWritable () const
virtual Int msId () const
virtual String msName (Bool stripPath=False) const
virtual Subchunk getSubchunk () const
virtual Bool areCorrelationsSorted () const
virtual IPosition getValidShape (Int) const
virtual VisModelData getVisModelData () 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
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 Vector< Int > & 
antenna1 () const
virtual void setAntenna1 (const Vector< Int > &value)
virtual const Vector< Int > & antenna2 () const
virtual void setAntenna2 (const Vector< Int > &value)
virtual const Vector< Int > & arrayId () const
virtual void setArrayId (const Vector< Int > &)
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< Int > & dataDescriptionIds () const
 virtual Int dataDescriptionId () const; virtual void setDataDescriptionId (Int value);
virtual void setDataDescriptionIds (const Vector< Int > &)
virtual const Vector
< MDirection > & 
direction1 () const
virtual const Vector
< MDirection > & 
direction2 () const
virtual const Vector< Double > & exposure () const
virtual void setExposure (const Vector< Double > &value)
virtual const Vector< Int > & feed1 () const
virtual void setFeed1 (const Vector< Int > &value)
virtual const Vector< Float > & feedPa1 () const
 Calculates the parallactic angle for feed 0 of the row's Antenna1.
virtual const Vector< Int > & feed2 () const
virtual void setFeed2 (const Vector< Int > &value)
virtual const Vector< Float > & feedPa2 () const
 Calculates the parallactic angle for feed 0 of the row's Antenna2.
virtual const Vector< Int > & fieldId () const
virtual void setFieldId (const Vector< Int > &)
virtual const Matrix< Bool > & flag () const
virtual void setFlag (const Matrix< Bool > &)
virtual const Array< Bool > & flagCategory () const
virtual void setFlagCategory (const Array< Bool > &)
virtual const Cube< Bool > & flagCube () const
virtual void setFlagCube (const Cube< Bool > &)
virtual const Vector< Bool > & flagRow () const
virtual void setFlagRow (const Vector< Bool > &)
virtual const Matrix< Float > & imagingWeight () const
 This method returns the imaging weights associated with the VisBuffer.
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 const Vector< Int > & observationId () const
virtual void setObservationId (const Vector< Int > &value)
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< Int > & processorId () const
virtual void setProcessorId (const Vector< Int > &value)
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] = 0;.
virtual const Vector< Int > & scan () const
virtual void setScan (const Vector< Int > &value)
virtual const Matrix< Float > & sigma () const
virtual void setSigma (const Matrix< Float > &)
virtual const Vector< Int > & spectralWindows () const
 virtual const Matrix<Float> & sigmaMat () const; virtual Int spectralWindow () const;
virtual const Vector< Int > & stateId () const
 virtual void setSpectralWindows (const Vector<Int> & spectralWindows);
virtual void setStateId (const Vector< Int > &value)
virtual const Vector< Double > & time () const
virtual void setTime (const Vector< Double > &value)
virtual const Vector< Double > & timeCentroid () const
virtual void setTimeCentroid (const Vector< Double > &value)
virtual const Vector< Double > & timeInterval () const
virtual void setTimeInterval (const Vector< Double > &value)
virtual const Matrix< Double > & uvw () const
virtual void setUvw (const Matrix< Double > &value)
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 Cube< Float > & visCubeFloat () const
 virtual const Matrix<CStokesVector> & visCorrected () const; virtual void setVisCorrected (const Matrix<CStokesVector> &);
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 const Cube< Complex > & visCube () const
 virtual void setVisCubeModel(const Vector<Float>& stokes); virtual const Matrix<CStokesVector> & visModel () const; virtual void setVisModel (Matrix<CStokesVector> &);
virtual void setVisCube (const Complex &c)
virtual void setVisCube (const Cube< Complex > &)
virtual const Matrix< Float > & weight () const
 virtual const Matrix<CStokesVector> & vis () const; virtual void setVis (Matrix<CStokesVector> &);
virtual void setWeight (const Matrix< Float > &)
virtual const Cube< Float > & weightSpectrum () const
 virtual const Matrix<Float> & weightMat () const; virtual void setWeightMat (const Matrix<Float>&);
virtual void setWeightSpectrum (const Cube< Float > &)

Public Attributes

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.

Protected Member Functions

void adjustWeightFactorsAndFlags (Matrix< Float > &rowWeightFactors, Bool useWeightSpectrum, Int nRows, Int nCorrelations, Int nChannelsOut)
 Attach to a VisIter.
void adjustWeightAndSigmaMatrices (Int nChannelsAveraged, Int nChannelsOut, Int nRows, Int nCorrelations, Int nChannelsSelected, const Matrix< Float > &rowWeightFactors)
Int averageChannelFrequencies (Int nChannelsOut, const Vector< Int > &channels, const Matrix< Int > &averagingBounds)
void averageFlagInfoChannels (const Matrix< Int > &averagingBounds, Int nChannelsOut, Bool useWeightSpectrum)
template<typename T >
void averageVisCubeChannels (T &dataCache, Int nChanOut, const Matrix< Int > &averagingbounds)
virtual void cacheClear (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 (Matrix< Float > &rowWeightFactors, Bool useWeightSpectrum)
virtual void configureNewSubchunk (Int msId, const String &msName, Bool isNewMs, Bool isNewArrayId, Bool isNewFieldId, Bool isNewSpectralWindow, const Subchunk &subchunk, Int nRows, Int nChannels, Int nCorrelations, const Vector< Int > &correlations)
virtual void copyRow (Int sourceRow, Int destinationRow)
virtual void deleteRows (const Vector< 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)
void normalizeRow (Int row, Int nCorrelations, const Matrix< Bool > &flagged, Cube< Complex > &visCube, Cube< Complex > &modelCube, Matrix< Float > &weightMat)
virtual void sortCorrelationsAux (Bool makeSorted)
virtual VisibilityIterator2getViP () const
void registerCacheItem (VbCacheItemBase *)
virtual void resizeRows (Int newNRows)
virtual void stateCopy (const VisBufferImpl2 &other)
virtual void setFillable (Bool isFillable)
virtual void setRekeyable (Bool isRekeyable)
virtual void setupValidShapes ()
template<typename Coord >
void updateCoord (Coord &item, const Coord &otherItem)
virtual Vector< Bool > & flagRowRef ()
virtual Cube< Bool > & flagCubeRef ()
virtual Cube< Complex > & visCubeRef ()
virtual Cube< Complex > & visCubeCorrectedRef ()
virtual Cube< Complex > & visCubeModelRef ()
virtual Cube< Float > & weightSpectrumRef ()

Private Member Functions

virtual Bool areCorrelationsInCanonicalOrder () const
void checkVisIterBase (const char *func, const char *file, int line, const char *extra="") const
void construct (VisibilityIterator2 *vi, VisBufferOptions options)
void constructCache ()
void setIterationInfo (Int msId, const String &msName, Bool isNewMs, Bool isNewArrayId, Bool isNewFieldId, Bool isNewSpectralWindow, const Subchunk &subchunk, const Vector< Int > &correlations)
virtual void validate ()
Fillers These methods fill the
needed value into the cache
This usually means getting it
from the attached
VisibilityIterator2 but the
needed value can be generated
as well The name of the filler
should match up with the
accessor 
method (see above) as well as the member name in the cache(see VisBufferCache class in VisBuffer.cc).*/virtual void fillAntenna1(Vector< Int > &value) const
virtual void fillAntenna2 (Vector< Int > &value) const
virtual void fillArrayId (Vector< Int > &value) const
virtual void fillCorrType (Vector< Int > &value) const
virtual void fillCubeCorrected (Cube< Complex > &value) const
virtual void fillCubeModel (Cube< Complex > &value) const
virtual void fillCubeObserved (Cube< Complex > &value) const
virtual void fillDataDescriptionId (Int &value) const
virtual void fillDataDescriptionIds (Vector< Int > &value) const
virtual void fillDirection1 (Vector< MDirection > &value) const
virtual void fillDirection2 (Vector< MDirection > &value) const
virtual void fillDirectionAux (Vector< MDirection > &value, const Vector< Int > &antenna, const Vector< Int > &feed, const Vector< Float > &feedPa) const
virtual void fillExposure (Vector< Double > &value) const
virtual void fillFeed1 (Vector< Int > &value) const
virtual void fillFeed2 (Vector< Int > &value) const
virtual void fillFeedPa1 (Vector< Float > &feedPa) const
virtual void fillFeedPa2 (Vector< Float > &feedPa) const
virtual void fillFeedPaAux (Vector< Float > &feedPa, const Vector< Int > &antenna, const Vector< Int > &feed) const
virtual void fillFieldId (Vector< Int > &value) const
virtual void fillFlag (Matrix< Bool > &value) const
virtual void fillFlagCategory (Array< Bool > &value) const
virtual void fillFlagCube (Cube< Bool > &value) const
virtual void fillFlagRow (Vector< Bool > &value) const
virtual void fillFloatData (Cube< Float > &value) const
virtual void fillImagingWeight (Matrix< Float > &value) const
virtual void fillJonesC (Vector< SquareMatrix< Complex, 2 > > &value) const
virtual void fillNAntennas (Int &value) const
virtual void fillNChannel (Int &value) const
virtual void fillNCorr (Int &value) const
virtual void fillNRow (Int &value) const
virtual void fillObservationId (Vector< Int > &value) const
virtual void fillPhaseCenter (MDirection &value) const
virtual void fillPolFrame (Int &value) const
virtual void fillPolarizationId (Int &value) const
virtual void fillProcessorId (Vector< Int > &value) const
virtual void fillRowIds (Vector< uInt > &value) const
virtual void fillScan (Vector< Int > &value) const
virtual void fillSigma (Matrix< Float > &value) const
virtual void fillSpectralWindows (Vector< Int > &value) const
 virtual void fillSigmaMat (Matrix<Float>& value) const; virtual void fillSpectralWindow (Int& value) const;
virtual void fillStateId (Vector< Int > &value) const
virtual void fillTime (Vector< Double > &value) const
virtual void fillTimeCentroid (Vector< Double > &value) const
virtual void fillTimeInterval (Vector< Double > &value) const
virtual void fillUvw (Matrix< Double > &value) const
virtual void fillWeight (Matrix< Float > &value) const
 virtual void fillVisibilityCorrected (Matrix<CStokesVector>& value) const; virtual void fillVisibilityModel (Matrix<CStokesVector>& value) const; virtual void fillVisibilityObserved (Matrix<CStokesVector>& value) const;
virtual void fillWeightSpectrum (Cube< Float > &value) const
 virtual void fillWeightMat (Matrix<Float>& value) const;

Private Attributes

VisBufferCachecache_p
VisBufferStatestate_p

Friends

class VLAT
class VbCacheItemBase
class VisBufferCache
class VisBufferState
class VisBuffer2
class VisBufferImpl2Async
class VisBufferImpl2AsyncWrapper
class ViReadImpl
class ViReadImplAsync

Detailed Description

VisBufferImpls encapsulate one chunk of visibility data for processing.

Intended use:

Public interface

Prerequisite

Etymology

VisBufferImpl is a buffer for visibility data

Synopsis

This class contains 'one iteration' of the VisibilityIterator2 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 VisBufferImpl is to be used.

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

Definition at line 107 of file VisBufferImpl2.h.


Constructor & Destructor Documentation

Create empty VisBufferImpl2 you can assign to or attach.

Construct VisBufferImpl2 for a particular VisibilityIterator2 The buffer will remain synchronized with the iterator.

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

Destructor (detaches from VisIter)


Member Function Documentation

void casa::vi::VisBufferImpl2::adjustWeightAndSigmaMatrices ( Int  nChannelsAveraged,
Int  nChannelsOut,
Int  nRows,
Int  nCorrelations,
Int  nChannelsSelected,
const Matrix< Float > &  rowWeightFactors 
) [protected]
void casa::vi::VisBufferImpl2::adjustWeightFactorsAndFlags ( Matrix< Float > &  rowWeightFactors,
Bool  useWeightSpectrum,
Int  nRows,
Int  nCorrelations,
Int  nChannelsOut 
) [protected]

Attach to a VisIter.

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

virtual void cacheCopy (const VisBufferImpl2 & other, Bool markAsCached);

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 Vector<Int>& casa::vi::VisBufferImpl2::antenna1 ( ) const [virtual]
virtual const Vector<Int>& casa::vi::VisBufferImpl2::antenna2 ( ) const [virtual]

Implements casa::vi::VisBuffer2.

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

Implements casa::vi::VisBuffer2.

Int casa::vi::VisBufferImpl2::averageChannelFrequencies ( Int  nChannelsOut,
const Vector< Int > &  channels,
const Matrix< Int > &  averagingBounds 
) [protected]
void casa::vi::VisBufferImpl2::averageFlagInfoChannels ( const Matrix< Int > &  averagingBounds,
Int  nChannelsOut,
Bool  useWeightSpectrum 
) [protected]
template<typename T >
void casa::vi::VisBufferImpl2::averageVisCubeChannels ( T &  dataCache,
Int  nChanOut,
const Matrix< Int > &  averagingbounds 
) [protected]
virtual const Vector<MDirection>& casa::vi::VisBufferImpl2::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::VisBufferImpl2::azel0 ( Double  time) const [virtual]

virtual void setVisCubeModel(const Vector<Float>& stokes) = 0; // [1..4] virtual const Matrix<CStokesVector> & visModel () const = 0; // [nF,nR] virtual void setVisModel (Matrix<CStokesVector> &) = 0; // [nF,nR]


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 void casa::vi::VisBufferImpl2::cacheClear ( Bool  markAsCached = False) [protected, virtual]
virtual void casa::vi::VisBufferImpl2::cacheResizeAndZero ( const VisBufferComponents2 exclusions = VisBufferComponents2()) [protected, virtual]
virtual void casa::vi::VisBufferImpl2::checkVisIter ( const char *  func,
const char *  file,
int  line,
const char *  extra = "" 
) const [protected, virtual]
void casa::vi::VisBufferImpl2::checkVisIterBase ( const char *  func,
const char *  file,
int  line,
const char *  extra = "" 
) const [private]
virtual const Vector<SquareMatrix<Complex, 2> >& casa::vi::VisBufferImpl2::cjones ( ) const [virtual]

Returns the Jones C matrix for each antenna.

Implements casa::vi::VisBuffer2.

void casa::vi::VisBufferImpl2::computeRowWeightFactors ( Matrix< Float > &  rowWeightFactors,
Bool  useWeightSpectrum 
) [protected]
virtual void casa::vi::VisBufferImpl2::configureNewSubchunk ( Int  msId,
const String msName,
Bool  isNewMs,
Bool  isNewArrayId,
Bool  isNewFieldId,
Bool  isNewSpectralWindow,
const Subchunk &  subchunk,
Int  nRows,
Int  nChannels,
Int  nCorrelations,
const Vector< Int > &  correlations 
) [protected, virtual]

Implements casa::vi::VisBuffer2.

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

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

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferImpl2::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::VisBufferImpl2::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 void casa::vi::VisBufferImpl2::copyRow ( Int  sourceRow,
Int  destinationRow 
) [protected, virtual]
virtual const Vector<Int>& casa::vi::VisBufferImpl2::correlationTypes ( ) const [virtual]

Returns the correlation type of each correlation in the VisCube.

Implements casa::vi::VisBuffer2.

virtual const Vector<Int>& casa::vi::VisBufferImpl2::dataDescriptionIds ( ) const [virtual]

virtual Int dataDescriptionId () const; virtual void setDataDescriptionId (Int value);

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferImpl2::deleteRows ( const Vector< Int > &  rowsToDelete) [protected, virtual]
virtual const Vector<MDirection>& casa::vi::VisBufferImpl2::direction1 ( ) const [virtual]

Implements casa::vi::VisBuffer2.

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

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferImpl2::dirtyComponentsAdd ( const VisBufferComponents2 additionalDirtyComponents) [protected, virtual]

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferImpl2::dirtyComponentsAdd ( VisBufferComponent2  component) [protected, virtual]

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferImpl2::dirtyComponentsClear ( ) [protected, virtual]

Implements casa::vi::VisBuffer2.

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferImpl2::dirtyComponentsSet ( const VisBufferComponents2 dirtyComponents) [protected, virtual]

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferImpl2::dirtyComponentsSet ( VisBufferComponent2  component) [protected, virtual]

Implements casa::vi::VisBuffer2.

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

Implements casa::vi::VisBuffer2.

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

Implements casa::vi::VisBuffer2.

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

Implements casa::vi::VisBuffer2.

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

--> This needs to be removed: virtual Bool fetch(const asyncio::PrefetchColumns *pfc);

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 VisBufferImpl2 only to benefit from caching of the feed and antenna IDs.

Note that feed_pa is a function instead of a cached value

Implements casa::vi::VisBuffer2.

virtual const Vector<Float>& casa::vi::VisBufferImpl2::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::VisBufferImpl2::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::VisBufferImpl2::fieldId ( ) const [virtual]

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferImpl2::fillAntenna2 ( Vector< Int > &  value) const [private, virtual]
virtual void casa::vi::VisBufferImpl2::fillArrayId ( Vector< Int > &  value) const [private, virtual]
virtual void casa::vi::VisBufferImpl2::fillCorrType ( Vector< Int > &  value) const [private, virtual]
virtual void casa::vi::VisBufferImpl2::fillCubeCorrected ( Cube< Complex > &  value) const [private, virtual]
virtual void casa::vi::VisBufferImpl2::fillCubeModel ( Cube< Complex > &  value) const [private, virtual]
virtual void casa::vi::VisBufferImpl2::fillCubeObserved ( Cube< Complex > &  value) const [private, virtual]
virtual void casa::vi::VisBufferImpl2::fillDataDescriptionId ( Int value) const [private, virtual]
virtual void casa::vi::VisBufferImpl2::fillDataDescriptionIds ( Vector< Int > &  value) const [private, virtual]
virtual void casa::vi::VisBufferImpl2::fillDirection1 ( Vector< MDirection > &  value) const [private, virtual]
virtual void casa::vi::VisBufferImpl2::fillDirection2 ( Vector< MDirection > &  value) const [private, virtual]
virtual void casa::vi::VisBufferImpl2::fillDirectionAux ( Vector< MDirection > &  value,
const Vector< Int > &  antenna,
const Vector< Int > &  feed,
const Vector< Float > &  feedPa 
) const [private, virtual]
virtual void casa::vi::VisBufferImpl2::fillExposure ( Vector< Double > &  value) const [private, virtual]
virtual void casa::vi::VisBufferImpl2::fillFeed1 ( Vector< Int > &  value) const [private, virtual]
virtual void casa::vi::VisBufferImpl2::fillFeed2 ( Vector< Int > &  value) const [private, virtual]
virtual void casa::vi::VisBufferImpl2::fillFeedPa1 ( Vector< Float > &  feedPa) const [private, virtual]
virtual void casa::vi::VisBufferImpl2::fillFeedPa2 ( Vector< Float > &  feedPa) const [private, virtual]
virtual void casa::vi::VisBufferImpl2::fillFeedPaAux ( Vector< Float > &  feedPa,
const Vector< Int > &  antenna,
const Vector< Int > &  feed 
) const [private, virtual]
virtual void casa::vi::VisBufferImpl2::fillFieldId ( Vector< Int > &  value) const [private, virtual]
virtual void casa::vi::VisBufferImpl2::fillFlag ( Matrix< Bool > &  value) const [private, virtual]
virtual void casa::vi::VisBufferImpl2::fillFlagCategory ( Array< Bool > &  value) const [private, virtual]
virtual void casa::vi::VisBufferImpl2::fillFlagCube ( Cube< Bool > &  value) const [private, virtual]
virtual void casa::vi::VisBufferImpl2::fillFlagRow ( Vector< Bool > &  value) const [private, virtual]
virtual void casa::vi::VisBufferImpl2::fillFloatData ( Cube< Float > &  value) const [private, virtual]
virtual void casa::vi::VisBufferImpl2::fillImagingWeight ( Matrix< Float > &  value) const [private, virtual]
virtual void casa::vi::VisBufferImpl2::fillJonesC ( Vector< SquareMatrix< Complex, 2 > > &  value) const [private, virtual]
virtual void casa::vi::VisBufferImpl2::fillNAntennas ( Int value) const [private, virtual]
virtual void casa::vi::VisBufferImpl2::fillNChannel ( Int value) const [private, virtual]
virtual void casa::vi::VisBufferImpl2::fillNCorr ( Int value) const [private, virtual]
virtual void casa::vi::VisBufferImpl2::fillNRow ( Int value) const [private, virtual]
virtual void casa::vi::VisBufferImpl2::fillObservationId ( Vector< Int > &  value) const [private, virtual]
virtual void casa::vi::VisBufferImpl2::fillPhaseCenter ( MDirection value) const [private, virtual]
virtual void casa::vi::VisBufferImpl2::fillPolarizationId ( Int value) const [private, virtual]
virtual void casa::vi::VisBufferImpl2::fillPolFrame ( Int value) const [private, virtual]
virtual void casa::vi::VisBufferImpl2::fillProcessorId ( Vector< Int > &  value) const [private, virtual]
virtual void casa::vi::VisBufferImpl2::fillRowIds ( Vector< uInt > &  value) const [private, virtual]
virtual void casa::vi::VisBufferImpl2::fillScan ( Vector< Int > &  value) const [private, virtual]
virtual void casa::vi::VisBufferImpl2::fillSigma ( Matrix< Float > &  value) const [private, virtual]
virtual void casa::vi::VisBufferImpl2::fillSpectralWindows ( Vector< Int > &  value) const [private, virtual]

virtual void fillSigmaMat (Matrix<Float>& value) const; virtual void fillSpectralWindow (Int& value) const;

virtual void casa::vi::VisBufferImpl2::fillStateId ( Vector< Int > &  value) const [private, virtual]
virtual void casa::vi::VisBufferImpl2::fillTime ( Vector< Double > &  value) const [private, virtual]
virtual void casa::vi::VisBufferImpl2::fillTimeCentroid ( Vector< Double > &  value) const [private, virtual]
virtual void casa::vi::VisBufferImpl2::fillTimeInterval ( Vector< Double > &  value) const [private, virtual]
virtual void casa::vi::VisBufferImpl2::fillUvw ( Matrix< Double > &  value) const [private, virtual]
virtual void casa::vi::VisBufferImpl2::fillWeight ( Matrix< Float > &  value) const [private, virtual]

virtual void fillVisibilityCorrected (Matrix<CStokesVector>& value) const; virtual void fillVisibilityModel (Matrix<CStokesVector>& value) const; virtual void fillVisibilityObserved (Matrix<CStokesVector>& value) const;

virtual void casa::vi::VisBufferImpl2::fillWeightSpectrum ( Cube< Float > &  value) const [private, virtual]

virtual void fillWeightMat (Matrix<Float>& value) const;

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

Implements casa::vi::VisBuffer2.

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

Implements casa::vi::VisBuffer2.

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

Implements casa::vi::VisBuffer2.

virtual Cube<Bool>& casa::vi::VisBufferImpl2::flagCubeRef ( ) [protected, virtual]

Implements casa::vi::VisBuffer2.

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

Implements casa::vi::VisBuffer2.

virtual Vector<Bool>& casa::vi::VisBufferImpl2::flagRowRef ( ) [protected, virtual]

Implements casa::vi::VisBuffer2.

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

Implements casa::vi::VisBuffer2.

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

Implements casa::vi::VisBuffer2.


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 = 0; if the user has specified a reporting frame to the virtual VI then that frame will be used = 0; 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 const Vector<Double>& casa::vi::VisBufferImpl2::getFrequencies ( Int  rowInBuffer,
Int  frame = FrameNotSpecified 
) const [virtual]

Implements casa::vi::VisBuffer2.

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

Implements casa::vi::VisBuffer2.

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

Implements casa::vi::VisBuffer2.

virtual IPosition casa::vi::VisBufferImpl2::getValidShape ( Int  ) const [virtual]
virtual const VisibilityIterator2* casa::vi::VisBufferImpl2::getVi ( ) const [virtual]

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

For free VBs this method returns False.

Implements casa::vi::VisBuffer2.

virtual VisibilityIterator2* casa::vi::VisBufferImpl2::getViP ( ) const [protected, virtual]
virtual Double casa::vi::VisBufferImpl2::hourang ( Double  time) const [virtual]

Hour angle for specified time.

Implements casa::vi::VisBuffer2.

virtual const Matrix<Float>& casa::vi::VisBufferImpl2::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.

virtual void casa::vi::VisBufferImpl2::invalidate ( ) [virtual]

Implements casa::vi::VisBuffer2.

virtual Bool casa::vi::VisBufferImpl2::isAttached ( ) const [virtual]

Implements casa::vi::VisBuffer2.

virtual Bool casa::vi::VisBufferImpl2::isFillable ( ) const [virtual]

Implements casa::vi::VisBuffer2.

virtual Bool casa::vi::VisBufferImpl2::isNewArrayId ( ) const [virtual]

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

Update coordinate info - useful for copied VisBufferImpl2s 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.

Implements casa::vi::VisBuffer2.

virtual Bool casa::vi::VisBufferImpl2::isNewFieldId ( ) const [virtual]

Implements casa::vi::VisBuffer2.

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

Implements casa::vi::VisBuffer2.

Implements casa::vi::VisBuffer2.

virtual Bool casa::vi::VisBufferImpl2::isRekeyable ( ) const [virtual]

Implements casa::vi::VisBuffer2.

virtual Bool casa::vi::VisBufferImpl2::isWritable ( ) const [virtual]

Implements casa::vi::VisBuffer2.

Fillers These methods fill the needed value into the cache This usually means getting it from the attached VisibilityIterator2 but the needed value can be generated as well The name of the filler should match up with the accessor casa::vi::VisBufferImpl2::method ( see  above) const [private]
virtual Int casa::vi::VisBufferImpl2::msId ( ) const [virtual]

Implements casa::vi::VisBuffer2.

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

Implements casa::vi::VisBuffer2.

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

Implements casa::vi::VisBuffer2.

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

Implements casa::vi::VisBuffer2.

virtual Int casa::vi::VisBufferImpl2::nCorrelations ( ) const [virtual]

Returns the number of correlations along the visCube correlation axis.

Implements casa::vi::VisBuffer2.

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

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

Implements casa::vi::VisBuffer2.

void casa::vi::VisBufferImpl2::normalizeRow ( Int  row,
Int  nCorrelations,
const Matrix< Bool > &  flagged,
Cube< Complex > &  visCube,
Cube< Complex > &  modelCube,
Matrix< Float > &  weightMat 
) [protected]
virtual Int casa::vi::VisBufferImpl2::nRows ( ) const [virtual]

Returns the number of rows in this VisBuffer.

Implements casa::vi::VisBuffer2.

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

Implements casa::vi::VisBuffer2.

virtual const Vector<Float>& casa::vi::VisBufferImpl2::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::VisBufferImpl2::parang0 ( Double  time) const [virtual]

NOMINAL parallactic angle (feed p.a.

offset NOT included)

Implements casa::vi::VisBuffer2.

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

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

Implements casa::vi::VisBuffer2.

virtual Int casa::vi::VisBufferImpl2::polarizationFrame ( ) const [virtual]

Returns the polarization frame for the specified row.

Implements casa::vi::VisBuffer2.

virtual Int casa::vi::VisBufferImpl2::polarizationId ( ) const [virtual]

Implements casa::vi::VisBuffer2.

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

Implements casa::vi::VisBuffer2.

Fill weightMat according to sigma column.

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferImpl2::resizeRows ( Int  newNRows) [protected, virtual]
virtual const Vector<uInt>& casa::vi::VisBufferImpl2::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] = 0;.

Implements casa::vi::VisBuffer2.

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

Implements casa::vi::VisBuffer2.

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

Implements casa::vi::VisBuffer2.

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

Implements casa::vi::VisBuffer2.

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

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferImpl2::setDataDescriptionIds ( const Vector< Int > &  ) [virtual]

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferImpl2::setExposure ( const Vector< Double > &  value) [virtual]

Implements casa::vi::VisBuffer2.

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

Implements casa::vi::VisBuffer2.

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

Implements casa::vi::VisBuffer2.

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

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferImpl2::setFillable ( Bool  isFillable) [protected, virtual]

Implements casa::vi::VisBuffer2.

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

Implements casa::vi::VisBuffer2.

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

Implements casa::vi::VisBuffer2.

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

Implements casa::vi::VisBuffer2.

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

Implements casa::vi::VisBuffer2.

void casa::vi::VisBufferImpl2::setIterationInfo ( Int  msId,
const String msName,
Bool  isNewMs,
Bool  isNewArrayId,
Bool  isNewFieldId,
Bool  isNewSpectralWindow,
const Subchunk &  subchunk,
const Vector< Int > &  correlations 
) [private]
virtual void casa::vi::VisBufferImpl2::setObservationId ( const Vector< Int > &  value) [virtual]

Implements casa::vi::VisBuffer2.

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

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferImpl2::setRekeyable ( Bool  isRekeyable) [protected, virtual]

Implements casa::vi::VisBuffer2.

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

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferImpl2::setShape ( Int  nCorrelations,
Int  nChannels,
Int  nRows,
Bool  clearTheCache = True 
) [virtual]

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferImpl2::setSigma ( const Matrix< Float > &  ) [virtual]

Implements casa::vi::VisBuffer2.

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

Implements casa::vi::VisBuffer2.

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

Reimplemented from casa::vi::VisBuffer2.

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

Implements casa::vi::VisBuffer2.

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

Implements casa::vi::VisBuffer2.

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

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferImpl2::setupValidShapes ( ) [protected, virtual]
virtual void casa::vi::VisBufferImpl2::setUvw ( const Matrix< Double > &  value) [virtual]

Implements casa::vi::VisBuffer2.

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

Implements casa::vi::VisBuffer2.

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

Implements casa::vi::VisBuffer2.

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

Implements casa::vi::VisBuffer2.

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

Implements casa::vi::VisBuffer2.

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

Implements casa::vi::VisBuffer2.

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

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferImpl2::setWeight ( const Matrix< Float > &  ) [virtual]

Implements casa::vi::VisBuffer2.

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

Implements casa::vi::VisBuffer2.

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

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferImpl2::sortCorr ( ) [virtual]

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

virtual void casa::vi::VisBufferImpl2::sortCorrelationsAux ( Bool  makeSorted) [protected, virtual]
virtual const Vector<Int>& casa::vi::VisBufferImpl2::spectralWindows ( ) const [virtual]

virtual const Matrix<Float> & sigmaMat () const; virtual Int spectralWindow () const;

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferImpl2::stateCopy ( const VisBufferImpl2 other) [protected, virtual]
virtual const Vector<Int>& casa::vi::VisBufferImpl2::stateId ( ) const [virtual]

virtual void setSpectralWindows (const Vector<Int> & spectralWindows);

Implements casa::vi::VisBuffer2.

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

Implements casa::vi::VisBuffer2.

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

Implements casa::vi::VisBuffer2.

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

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferImpl2::unSortCorr ( ) [virtual]
template<typename Coord >
void casa::vi::VisBufferImpl2::updateCoord ( Coord &  item,
const Coord &  otherItem 
) [protected]
virtual const Matrix<Double>& casa::vi::VisBufferImpl2::uvw ( ) const [virtual]

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferImpl2::validate ( ) [private, virtual]
virtual void casa::vi::VisBufferImpl2::validateShapes ( ) const [virtual]

Implements casa::vi::VisBuffer2.

virtual const Cube<Complex>& casa::vi::VisBufferImpl2::visCube ( ) const [virtual]

virtual void setVisCubeModel(const Vector<Float>& stokes); virtual const Matrix<CStokesVector> & visModel () const; virtual void setVisModel (Matrix<CStokesVector> &);

Implements casa::vi::VisBuffer2.

virtual const Cube<Complex>& casa::vi::VisBufferImpl2::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 Cube<Complex>& casa::vi::VisBufferImpl2::visCubeCorrectedRef ( ) [protected, virtual]

Implements casa::vi::VisBuffer2.

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

virtual const Matrix<CStokesVector> & visCorrected () const; virtual void setVisCorrected (const Matrix<CStokesVector> &);

Implements casa::vi::VisBuffer2.

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

Implements casa::vi::VisBuffer2.

virtual Cube<Complex>& casa::vi::VisBufferImpl2::visCubeModelRef ( ) [protected, virtual]

Implements casa::vi::VisBuffer2.

virtual Cube<Complex>& casa::vi::VisBufferImpl2::visCubeRef ( ) [protected, virtual]

Implements casa::vi::VisBuffer2.

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

virtual const Matrix<CStokesVector> & vis () const; virtual void setVis (Matrix<CStokesVector> &);

Implements casa::vi::VisBuffer2.

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

virtual const Matrix<Float> & weightMat () const; virtual void setWeightMat (const Matrix<Float>&);

Implements casa::vi::VisBuffer2.

virtual Cube<Float>& casa::vi::VisBufferImpl2::weightSpectrumRef ( ) [protected, virtual]

Implements casa::vi::VisBuffer2.

virtual void casa::vi::VisBufferImpl2::writeChangesBack ( ) [virtual]


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 VbCacheItemBase [friend]

Definition at line 110 of file VisBufferImpl2.h.

friend class ViReadImpl [friend]

Definition at line 116 of file VisBufferImpl2.h.

friend class ViReadImplAsync [friend]

Definition at line 117 of file VisBufferImpl2.h.

friend class VisBuffer2 [friend]

Definition at line 113 of file VisBufferImpl2.h.

friend class VisBufferCache [friend]

Definition at line 111 of file VisBufferImpl2.h.

friend class VisBufferImpl2Async [friend]

Definition at line 114 of file VisBufferImpl2.h.

friend class VisBufferImpl2AsyncWrapper [friend]

Definition at line 115 of file VisBufferImpl2.h.

friend class VisBufferState [friend]

Definition at line 112 of file VisBufferImpl2.h.

friend class VLAT [friend]

Reimplemented in casa::vi::VisBufferImplAsync2.

Definition at line 109 of file VisBufferImpl2.h.


Member Data Documentation

Data accessors and one or more set methods are provided N casa::vi::VisBufferImpl2::B

Definition at line 238 of file VisBufferImpl2.h.

Definition at line 481 of file VisBufferImpl2.h.

Definition at line 482 of file VisBufferImpl2.h.


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