casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | List of all members
casa::DummyBufferImpl Class Reference

#include <FlagCalTableHandler.h>

Inheritance diagram for casa::DummyBufferImpl:
casa::vi::VisBuffer2 casa::CTBuffer

Public Member Functions

 DummyBufferImpl ()
 
 ~DummyBufferImpl ()
 
virtual void copy (const VisBuffer2 &, casacore::Bool)
 
More...
 
virtual void copyComponents (const VisBuffer2 &, const VisBufferComponents2 &, casacore::Bool=false, casacore::Bool=true)
 Copies the specified components (or just the ones in the cache if fetchIfNeeded is false) from the specified VisBuffer into this one. More...
 
virtual void copyCoordinateInfo (const VisBuffer2 *, casacore::Bool, casacore::Bool=false, casacore::Bool=true)
 Copies the coordinate components (or just the ones in the cache if fetchIfNeeded is false) from the specified VisBuffer into this one. More...
 
virtual void setShape (casacore::Int, casacore::Int, casacore::Int, casacore::Bool)
 
virtual const
vi::VisibilityIterator2
getVi () const
 For attached VBs this returns the VI the VB is attached to. More...
 
virtual casacore::Bool isAttached () const
 
virtual casacore::Bool isFillable () const
 
virtual void writeChangesBack ()
 
More...
 
virtual void initWeightSpectrum (const casacore::Cube< casacore::Float > &)
 
virtual void initSigmaSpectrum (const casacore::Cube< casacore::Float > &)
 
virtual void dirtyComponentsAdd (const VisBufferComponents2 &)
 
virtual void dirtyComponentsAdd (VisBufferComponent2)
 
virtual void dirtyComponentsClear ()
 
virtual VisBufferComponents2 dirtyComponentsGet () const
 
virtual void dirtyComponentsSet (const VisBufferComponents2 &)
 
virtual void dirtyComponentsSet (VisBufferComponent2)
 
virtual const casacore::Matrix
< casacore::Float > & 
imagingWeight () const
 This method returns the imagin g If an imaging weight generator has not been supplied to the associated VisibilityIterator then this method will throw an exception. More...
 
void setImagingWeight (const casacore::Matrix< float > &)
 
virtual casacore::Double getFrequency (casacore::Int, casacore::Int, casacore::Int=FrameNotSpecified) const
 
virtual const casacore::Vector
< casacore::Double > & 
getFrequencies (casacore::Int, casacore::Int=FrameNotSpecified) const
 
virtual casacore::Int getChannelNumber (casacore::Int, casacore::Int) const
 
virtual const casacore::Vector
< casacore::Int > & 
getChannelNumbers (casacore::Int) const
 
virtual void normalize ()
 casacore::Sort/unsort the correlations, if necessary (Rudimentary handling of non-canonically sorted correlations–use with care!) More...
 
virtual void resetWeightsUsingSigma ()
 Set the weight cube using the sigma cube. More...
 
virtual casacore::Bool isNewArrayId () const
 
More...
 
virtual casacore::Bool isNewFieldId () const
 
virtual casacore::Bool isNewMs () const
 
virtual casacore::Bool isNewSpectralWindow () const
 
virtual casacore::Bool isWritable () const
 
virtual casacore::Int msId () const
 
virtual casacore::String msName (casacore::Bool=false) const
 
virtual vi::Subchunk getSubchunk () const
 
virtual const casacore::Vector
< casacore::Int > & 
antenna1 () const
 
virtual void setAntenna1 (const casacore::Vector< casacore::Int > &)
 
virtual const casacore::Vector
< casacore::Int > & 
antenna2 () const
 
virtual void setAntenna2 (const casacore::Vector< casacore::Int > &)
 
virtual const casacore::Vector
< casacore::Int > & 
arrayId () const
 
virtual void setArrayId (const casacore::Vector< casacore::Int > &)
 
virtual casacore::Int dataDescriptionId () const
 
virtual void setDataDescriptionId (casacore::Int)
 
virtual void setDataDescriptionIds (const casacore::Vector< int > &)
 
virtual const casacore::Vector
< casacore::MDirection > & 
direction1 () const
 
virtual const casacore::Vector
< casacore::MDirection > & 
direction2 () const
 
virtual const casacore::Vector
< casacore::Double > & 
exposure () const
 
virtual void setExposure (const casacore::Vector< casacore::Double > &)
 
virtual const casacore::Vector
< casacore::Int > & 
feed1 () const
 
virtual void setFeed1 (const casacore::Vector< casacore::Int > &)
 
virtual const casacore::Vector
< casacore::Int > & 
feed2 () const
 
virtual void setFeed2 (const casacore::Vector< casacore::Int > &)
 
virtual const casacore::Vector
< casacore::Int > & 
fieldId () const
 
virtual void setFieldId (const casacore::Vector< casacore::Int > &)
 
virtual const casacore::Matrix
< casacore::Bool > & 
flag () const
 
virtual void setFlag (const casacore::Matrix< casacore::Bool > &)
 
virtual const casacore::Array
< casacore::Bool > & 
flagCategory () const
 virtual const casacore::Matrix<casacore::Bool> & flag () const = 0; // [nF,nR] virtual void setFlag (const casacore::Matrix<casacore::Bool>& value) = 0; // [nF,nR] More...
 
virtual void setFlagCategory (const casacore::Array< casacore::Bool > &)
 
virtual const casacore::Cube
< casacore::Bool > & 
flagCube () const
 
virtual void setFlagCube (const casacore::Cube< casacore::Bool > &)
 
virtual const casacore::Vector
< casacore::Bool > & 
flagRow () const
 
virtual void setFlagRow (const casacore::Vector< casacore::Bool > &)
 
virtual const casacore::Vector
< casacore::Int > & 
observationId () const
 
virtual void setObservationId (const casacore::Vector< casacore::Int > &)
 
virtual const casacore::Vector
< casacore::Int > & 
processorId () const
 
virtual void setProcessorId (const casacore::Vector< casacore::Int > &)
 
virtual const casacore::Vector
< casacore::Int > & 
scan () const
 
virtual void setScan (const casacore::Vector< casacore::Int > &)
 
virtual const casacore::Matrix
< casacore::Float > & 
sigma () const
 
virtual void setSigma (const casacore::Matrix< casacore::Float > &)
 
virtual const casacore::Matrix
< casacore::Float > & 
sigmaMat () const
 
virtual const casacore::Vector
< casacore::Int > & 
stateId () const
 virtual const casacore::Matrix<casacore::Float> & sigmaMat () const = 0; // [nC,nR] More...
 
virtual void setStateId (const casacore::Vector< casacore::Int > &)
 
virtual const casacore::Vector
< casacore::Double > & 
time () const
 
virtual void setTime (const casacore::Vector< casacore::Double > &)
 
virtual const casacore::Vector
< casacore::Double > & 
timeCentroid () const
 
virtual void setTimeCentroid (const casacore::Vector< casacore::Double > &)
 
virtual const casacore::Vector
< casacore::Double > & 
timeInterval () const
 
virtual void setTimeInterval (const casacore::Vector< casacore::Double > &)
 
virtual const casacore::Matrix
< casacore::Double > & 
uvw () const
 
virtual void setUvw (const casacore::Matrix< casacore::Double > &)
 
virtual const casacore::Matrix
< casacore::Float > & 
weight () const
 
virtual void setWeight (const casacore::Matrix< casacore::Float > &)
 
virtual const casacore::Matrix
< casacore::Float > & 
weightMat () const
 
virtual void setWeightMat (const casacore::Matrix< casacore::Float > &)
 
virtual const casacore::Cube
< casacore::Float > & 
weightSpectrum () const
 virtual const casacore::Matrix<casacore::Float> & weightMat () const = 0; // [nC,nR] virtual void setWeightMat (const casacore::Matrix<casacore::Float>& value) = 0; // [nC,nR] More...
 
virtual void setWeightSpectrum (const casacore::Cube< casacore::Float > &)
 
virtual const casacore::Cube
< float > & 
sigmaSpectrum () const
 
virtual void setSigmaSpectrum (const casacore::Cube< float > &)
 
virtual const casacore::Cube
< casacore::Complex > & 
visCube () const
 

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

 
virtual void setVisCube (const casacore::Complex &)
 
virtual void setVisCube (const casacore::Cube< casacore::Complex > &)
 
virtual const casacore::Matrix
< CStokesVector > & 
vis () const
 
virtual void setVis (casacore::Matrix< CStokesVector > &)
 
virtual const casacore::Cube
< casacore::Complex > & 
visCubeCorrected () const
 virtual const casacore::Matrix<CStokesVector> & vis () const = 0; // [nF,nR] virtual void setVis (casacore::Matrix<CStokesVector> &) = 0; // [nF,nR] More...
 
virtual void setVisCubeCorrected (const casacore::Cube< casacore::Complex > &)
 
virtual const casacore::Matrix
< CStokesVector > & 
visCorrected () const
 
virtual void setVisCorrected (const casacore::Matrix< CStokesVector > &)
 
virtual const casacore::Cube
< casacore::Float > & 
visCubeFloat () const
 virtual const casacore::Matrix<CStokesVector> & visCorrected () const = 0; // [nF,nR] virtual void setVisCorrected (const casacore::Matrix<CStokesVector> &) = 0; // [nF,nR] More...
 
virtual void setVisCubeFloat (const casacore::Cube< casacore::Float > &)
 
virtual const casacore::Cube
< casacore::Complex > & 
visCubeModel () const
 
virtual void setVisCubeModel (const casacore::Complex &)
 
virtual void setVisCubeModel (const casacore::Cube< casacore::Complex > &)
 
virtual void setVisCubeModel (const casacore::Vector< casacore::Float > &)
 
virtual const casacore::Matrix
< CStokesVector > & 
visModel () const
 
virtual void setVisModel (casacore::Matrix< CStokesVector > &)
 
virtual casacore::MDirection azel0 (casacore::Double) const
 
More...
 
virtual casacore::Vector
< casacore::MDirection > & 
azel (casacore::Double) const
 Returns the pointing angle for each antenna in the array at the specified time. More...
 
virtual const casacore::Vector
< casacore::SquareMatrix
< casacore::Complex, 2 > > & 
cjones () const
 Returns the Jones C matrix for each antenna. More...
 
virtual const casacore::Vector
< casacore::Int > & 
correlationTypes () const
 Returns the correlation type of each correlation in the VisCube. More...
 
virtual casacore::Vector
< casacore::Float > & 
feedPa (casacore::Double) const
 Calculates the parallactic angle for the first receptor of each antenna at the specified time. More...
 
virtual const casacore::Vector
< casacore::Float > & 
feedPa1 () const
 Calculates the parallactic angle for feed 0 of the row's Antenna1. More...
 
virtual const casacore::Vector
< casacore::Float > & 
feedPa2 () const
 Calculates the parallactic angle for feed 0 of the row's Antenna2. More...
 
virtual casacore::Double hourang (casacore::Double) const
 Returns the hour angle of the array at the specified time. More...
 
virtual casacore::Int nAntennas () const
 
virtual casacore::Int nChannels () const
 
virtual casacore::Int nCorrelations () const
 Returns the number of correlations along the visCube correlation axis. More...
 
virtual casacore::Int nRows () const
 Returns the number of rows in this VisBuffer. More...
 
virtual casacore::Float parang0 (casacore::Double) const
 Calculates the parallactic angle of the array as a whole at the specified time. More...
 
virtual casacore::Vector
< casacore::Float > & 
parang (casacore::Double) const
 Calculates the parallactic angle of each antenna in the array at the specified time. More...
 
virtual const
casacore::MDirection
phaseCenter () const
 Returns the phase center of the array for the specified row. More...
 
virtual casacore::Int polarizationFrame () const
 Returns the polarization frame for the specified row. More...
 
virtual casacore::Int polarizationId () const
 
virtual const casacore::Vector
< casacore::uInt > & 
rowIds () const
 The returned casacore::Vector serves as a map between the rows in the VisBuffer and the row IDs in the underlying casacore::MS main virtual table: mainTableID [i] = rowIds () [ i] = 0;. More...
 
virtual casacore::Int spectralWindow () const
 
virtual const casacore::Vector
< casacore::Int > & 
spectralWindows () const
 Returns the spectral window ID for the specified row. More...
 
virtual void setSpectralWindows (const casacore::Vector< casacore::Int > &)
 
virtual casacore::Bool modelDataIsVirtual () const
 
virtual void setFillable (casacore::Bool)
 
virtual const casacore::Vector
< casacore::Int > & 
dataDescriptionIds () const
 virtual casacore::Int dataDescriptionId () const = 0; virtual void setDataDescriptionId (casacore::Int value) = 0; More...
 
virtual casacore::Vector
< casacore::Int
getCorrelationTypes () const
 
virtual void validateShapes () const
 
virtual casacore::Float getWeightScaled (casacore::Int) const
 virtual const casacore::Matrix<CStokesVector> & visModel () const = 0; // [nF,nR] virtual void setVisModel (casacore::Matrix<CStokesVector> &) = 0; // [nF,nR] More...
 
virtual casacore::Float getWeightScaled (casacore::Int, casacore::Int) const
 
virtual casacore::Float getWeightScaled (casacore::Int, casacore::Int, casacore::Int) const
 
virtual casacore::Float getSigmaScaled (casacore::Int) const
 
virtual casacore::Float getSigmaScaled (casacore::Int, casacore::Int) const
 
virtual casacore::Float getSigmaScaled (casacore::Int, casacore::Int, casacore::Int) const
 
virtual casacore::CountedPtr
< vi::WeightScaling
getWeightScaling () const
 
virtual void phaseCenterShift (const casacore::Vector< casacore::Double > &)
 Rotate visibility phase for given vector (dim = nrow of vb) of phases (metres) More...
 
virtual void phaseCenterShift (casacore::Double, casacore::Double)
 Rotate visibility phase for phase center offsets (arcsecs) More...
 
- Public Member Functions inherited from casa::vi::VisBuffer2
 VisBuffer2 (const VisBuffer2 &)=delete
 make noncopyable... More...
 
VisBuffer2operator= (const VisBuffer2 &)=delete
 
 VisBuffer2 ()
 
virtual ~VisBuffer2 ()
 Used by framework. More...
 
virtual ms::MsRowgetRow (casacore::Int row) const
 
virtual ms::MsRowgetRowMutable (casacore::Int row)
 
virtual const
casacore::MeasurementSet
ms () const
 
virtual const vi::SubtableColumnssubtableColumns () const
 
virtual casacore::Bool existsColumn (VisBufferComponent2 id) const =0
 
virtual casacore::Vector
< casacore::Stokes::StokesTypes
getCorrelationTypesDefined () const =0
 
More...
 
virtual casacore::Vector
< casacore::Stokes::StokesTypes
getCorrelationTypesSelected () const =0
 
virtual casacore::Vector
< casacore::Int
getChannelNumbersSelected (casacore::Int outputChannelIndex) const =0
 
casacore::Data accessors and setters (where appropriate) There are the methods that allows access to the items cached in the VisBuffer.The straight accessors provide read-only access to the item.Where the item is allowed to be modified
 
virtual casacore::IPosition getShape () const =0
 

Protected Member Functions

virtual void configureNewSubchunk (casacore::Int, const casacore::String &, casacore::Bool, casacore::Bool, casacore::Bool, casacore::Bool, const vi::Subchunk &, casacore::Int, casacore::Int, casacore::Int, const casacore::Vector< casacore::Int > &, const casacore::Vector< casacore::Stokes::StokesTypes > &, const casacore::Vector< casacore::Stokes::StokesTypes > &, casacore::CountedPtr< vi::WeightScaling >)
 
virtual void invalidate ()
 
virtual casacore::Bool isRekeyable () const
 
virtual void setRekeyable (casacore::Bool)
 
- Protected Member Functions inherited from casa::vi::VisBuffer2
virtual void associateWithVi2 (const VisibilityIterator2 *)
 
virtual void configureNewSubchunk (casacore::Int msId, const casacore::String &msName, casacore::Bool isNewMs, casacore::Bool isNewArrayId, casacore::Bool isNewFieldId, casacore::Bool isNewSpectralWindow, const Subchunk &subchunk, casacore::Int nRows, casacore::Int nChannels, casacore::Int nCorrelations, const casacore::Vector< casacore::Int > &correlations, const casacore::Vector< casacore::Stokes::StokesTypes > &correlationsDefined, const casacore::Vector< casacore::Stokes::StokesTypes > &correlationsSelected, casacore::CountedPtr< WeightScaling > weightScaling)=0
 
virtual bool setWritability (bool)
 
virtual casacore::Vector
< casacore::Bool > & 
flagRowRef ()=0
 
virtual casacore::Cube
< casacore::Bool > & 
flagCubeRef ()=0
 
virtual casacore::Cube
< casacore::Complex > & 
visCubeRef ()=0
 
virtual casacore::Cube
< casacore::Complex > & 
visCubeCorrectedRef ()=0
 
virtual casacore::Cube
< casacore::Complex > & 
visCubeModelRef ()=0
 
virtual casacore::Cube
< casacore::Float > & 
weightSpectrumRef ()=0
 

Additional Inherited Members

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

Detailed Description

Definition at line 52 of file FlagCalTableHandler.h.

Constructor & Destructor Documentation

casa::DummyBufferImpl::DummyBufferImpl ( )
inline

Definition at line 55 of file FlagCalTableHandler.h.

casa::DummyBufferImpl::~DummyBufferImpl ( )
inline

Definition at line 56 of file FlagCalTableHandler.h.

Member Function Documentation

virtual const casacore::Vector<casacore::Int>& casa::DummyBufferImpl::antenna1 ( void  ) const
inlinevirtual

Reimplemented in casa::CTBuffer.

Definition at line 106 of file FlagCalTableHandler.h.

virtual const casacore::Vector<casacore::Int>& casa::DummyBufferImpl::antenna2 ( void  ) const
inlinevirtual

Implements casa::vi::VisBuffer2.

Reimplemented in casa::CTBuffer.

Definition at line 108 of file FlagCalTableHandler.h.

virtual const casacore::Vector<casacore::Int>& casa::DummyBufferImpl::arrayId ( ) const
inlinevirtual

Implements casa::vi::VisBuffer2.

Reimplemented in casa::CTBuffer.

Definition at line 110 of file FlagCalTableHandler.h.

virtual casacore::Vector<casacore::MDirection>& casa::DummyBufferImpl::azel ( casacore::Double  time) const
inlinevirtual

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

Implements casa::vi::VisBuffer2.

Definition at line 180 of file FlagCalTableHandler.h.

virtual casacore::MDirection casa::DummyBufferImpl::azel0 ( casacore::Double  time) const
inlinevirtual


Accessors for data derived from the casacore::MS main table data

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

Implements casa::vi::VisBuffer2.

Definition at line 179 of file FlagCalTableHandler.h.

virtual const casacore::Vector<casacore::SquareMatrix<casacore::Complex, 2> >& casa::DummyBufferImpl::cjones ( ) const
inlinevirtual

Returns the Jones C matrix for each antenna.

Implements casa::vi::VisBuffer2.

Definition at line 181 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::configureNewSubchunk ( casacore::Int  ,
const casacore::String ,
casacore::Bool  ,
casacore::Bool  ,
casacore::Bool  ,
casacore::Bool  ,
const vi::Subchunk &  ,
casacore::Int  ,
casacore::Int  ,
casacore::Int  ,
const casacore::Vector< casacore::Int > &  ,
const casacore::Vector< casacore::Stokes::StokesTypes > &  ,
const casacore::Vector< casacore::Stokes::StokesTypes > &  ,
casacore::CountedPtr< vi::WeightScaling  
)
inlineprotectedvirtual

Definition at line 222 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::copy ( const VisBuffer2 other,
casacore::Bool  fetchIfNeeded 
)
inlinevirtual


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.

Definition at line 58 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::copyComponents ( const VisBuffer2 other,
const VisBufferComponents2 components,
casacore::Bool  allowShapeChange = false,
casacore::Bool  fetchIfNeeded = true 
)
inlinevirtual

Copies the specified components (or just the ones in the cache if fetchIfNeeded is false) from the specified VisBuffer into this one.

If this VB is not empty it will must have the same shape as the other VB unless allowShapeChange is true; in that case this VB will change changes to match the other VB flushing the cached data.

Implements casa::vi::VisBuffer2.

Definition at line 59 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::copyCoordinateInfo ( const VisBuffer2 other,
casacore::Bool  includeDirections,
casacore::Bool  allowShapeChange = false,
casacore::Bool  fetchIfNeeded = true 
)
inlinevirtual

Copies the coordinate components (or just the ones in the cache if fetchIfNeeded is false) from the specified VisBuffer into this one.

If this VB is not empty it will must have the same shape as the other VB unless allowShapeChange is true; in that case this VB will change changes to match the other VB flushing the cached data. The basic coordinate components are: Antenna1, Antenna2, ArrayId, DataDescriptionIds, FieldId, SpectralWindows, casacore::Time, NRows, Feed1, Feed2 The directional coordinates (copied if includeDirections is true): Direction1, Direction2, FeedPa1, FeedPa2

Implements casa::vi::VisBuffer2.

Definition at line 63 of file FlagCalTableHandler.h.

virtual const casacore::Vector<casacore::Int>& casa::DummyBufferImpl::correlationTypes ( ) const
inlinevirtual

Returns the correlation type of each correlation in the VisCube.

Implements casa::vi::VisBuffer2.

Reimplemented in casa::CTBuffer.

Definition at line 182 of file FlagCalTableHandler.h.

virtual casacore::Int casa::DummyBufferImpl::dataDescriptionId ( ) const
inlinevirtual

Definition at line 112 of file FlagCalTableHandler.h.

virtual const casacore::Vector<casacore::Int>& casa::DummyBufferImpl::dataDescriptionIds ( ) const
inlinevirtual

virtual casacore::Int dataDescriptionId () const = 0; virtual void setDataDescriptionId (casacore::Int value) = 0;

Implements casa::vi::VisBuffer2.

Definition at line 204 of file FlagCalTableHandler.h.

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

Implements casa::vi::VisBuffer2.

Definition at line 115 of file FlagCalTableHandler.h.

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

Implements casa::vi::VisBuffer2.

Definition at line 116 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::dirtyComponentsAdd ( const VisBufferComponents2 )
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 76 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::dirtyComponentsAdd ( VisBufferComponent2  )
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 77 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::dirtyComponentsClear ( )
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 78 of file FlagCalTableHandler.h.

virtual VisBufferComponents2 casa::DummyBufferImpl::dirtyComponentsGet ( ) const
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 79 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::dirtyComponentsSet ( const VisBufferComponents2 )
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 80 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::dirtyComponentsSet ( VisBufferComponent2  )
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 81 of file FlagCalTableHandler.h.

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

Implements casa::vi::VisBuffer2.

Definition at line 117 of file FlagCalTableHandler.h.

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

Implements casa::vi::VisBuffer2.

Definition at line 119 of file FlagCalTableHandler.h.

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

Implements casa::vi::VisBuffer2.

Definition at line 121 of file FlagCalTableHandler.h.

virtual casacore::Vector<casacore::Float>& casa::DummyBufferImpl::feedPa ( casacore::Double  time) const
inlinevirtual

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

Implements casa::vi::VisBuffer2.

Definition at line 183 of file FlagCalTableHandler.h.

virtual const casacore::Vector<casacore::Float>& casa::DummyBufferImpl::feedPa1 ( ) const
inlinevirtual

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

Implements casa::vi::VisBuffer2.

Definition at line 184 of file FlagCalTableHandler.h.

virtual const casacore::Vector<casacore::Float>& casa::DummyBufferImpl::feedPa2 ( ) const
inlinevirtual

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

Implements casa::vi::VisBuffer2.

Definition at line 185 of file FlagCalTableHandler.h.

virtual const casacore::Vector<casacore::Int>& casa::DummyBufferImpl::fieldId ( ) const
inlinevirtual

Implements casa::vi::VisBuffer2.

Reimplemented in casa::CTBuffer.

Definition at line 123 of file FlagCalTableHandler.h.

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

Definition at line 125 of file FlagCalTableHandler.h.

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

virtual const casacore::Matrix<casacore::Bool> & flag () const = 0; // [nF,nR] virtual void setFlag (const casacore::Matrix<casacore::Bool>& value) = 0; // [nF,nR]

Implements casa::vi::VisBuffer2.

Definition at line 127 of file FlagCalTableHandler.h.

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

Implements casa::vi::VisBuffer2.

Reimplemented in casa::CTBuffer.

Definition at line 129 of file FlagCalTableHandler.h.

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

Implements casa::vi::VisBuffer2.

Definition at line 131 of file FlagCalTableHandler.h.

virtual casacore::Int casa::DummyBufferImpl::getChannelNumber ( casacore::Int  ,
casacore::Int   
) const
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 90 of file FlagCalTableHandler.h.

virtual const casacore::Vector<casacore::Int>& casa::DummyBufferImpl::getChannelNumbers ( casacore::Int  ) const
inlinevirtual

Implements casa::vi::VisBuffer2.

Reimplemented in casa::CTBuffer.

Definition at line 91 of file FlagCalTableHandler.h.

virtual casacore::Vector<casacore::Int> casa::DummyBufferImpl::getCorrelationTypes ( ) const
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 205 of file FlagCalTableHandler.h.

virtual const casacore::Vector<casacore::Double>& casa::DummyBufferImpl::getFrequencies ( casacore::Int  ,
casacore::Int  = FrameNotSpecified 
) const
inlinevirtual

Implements casa::vi::VisBuffer2.

Reimplemented in casa::CTBuffer.

Definition at line 88 of file FlagCalTableHandler.h.

virtual casacore::Double casa::DummyBufferImpl::getFrequency ( casacore::Int  ,
casacore::Int  ,
casacore::Int  = FrameNotSpecified 
) const
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 86 of file FlagCalTableHandler.h.

virtual casacore::Float casa::DummyBufferImpl::getSigmaScaled ( casacore::Int  ) const
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 211 of file FlagCalTableHandler.h.

virtual casacore::Float casa::DummyBufferImpl::getSigmaScaled ( casacore::Int  ,
casacore::Int   
) const
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 212 of file FlagCalTableHandler.h.

virtual casacore::Float casa::DummyBufferImpl::getSigmaScaled ( casacore::Int  ,
casacore::Int  ,
casacore::Int   
) const
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 213 of file FlagCalTableHandler.h.

virtual vi::Subchunk casa::DummyBufferImpl::getSubchunk ( ) const
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 104 of file FlagCalTableHandler.h.

virtual const vi::VisibilityIterator2* casa::DummyBufferImpl::getVi ( ) const
inlinevirtual

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

For free VBs this method returns false. N.B.: Use of this method is deprecated.

Reimplemented from casa::vi::VisBuffer2.

Definition at line 68 of file FlagCalTableHandler.h.

virtual casacore::Float casa::DummyBufferImpl::getWeightScaled ( casacore::Int  row) const
inlinevirtual

virtual const casacore::Matrix<CStokesVector> & visModel () const = 0; // [nF,nR] virtual void setVisModel (casacore::Matrix<CStokesVector> &) = 0; // [nF,nR]

Implements casa::vi::VisBuffer2.

Definition at line 208 of file FlagCalTableHandler.h.

virtual casacore::Float casa::DummyBufferImpl::getWeightScaled ( casacore::Int  ,
casacore::Int   
) const
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 209 of file FlagCalTableHandler.h.

virtual casacore::Float casa::DummyBufferImpl::getWeightScaled ( casacore::Int  ,
casacore::Int  ,
casacore::Int   
) const
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 210 of file FlagCalTableHandler.h.

virtual casacore::CountedPtr<vi::WeightScaling> casa::DummyBufferImpl::getWeightScaling ( ) const
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 214 of file FlagCalTableHandler.h.

virtual casacore::Double casa::DummyBufferImpl::hourang ( casacore::Double  time) const
inlinevirtual

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

Implements casa::vi::VisBuffer2.

Definition at line 186 of file FlagCalTableHandler.h.

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

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

Implements casa::vi::VisBuffer2.

Definition at line 83 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::initSigmaSpectrum ( const casacore::Cube< casacore::Float > &  )
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 75 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::initWeightSpectrum ( const casacore::Cube< casacore::Float > &  )
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 74 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::invalidate ( )
inlineprotectedvirtual

Implements casa::vi::VisBuffer2.

Reimplemented in casa::CTBuffer.

Definition at line 230 of file FlagCalTableHandler.h.

virtual casacore::Bool casa::DummyBufferImpl::isAttached ( ) const
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 70 of file FlagCalTableHandler.h.

virtual casacore::Bool casa::DummyBufferImpl::isFillable ( ) const
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 71 of file FlagCalTableHandler.h.

virtual casacore::Bool casa::DummyBufferImpl::isNewArrayId ( ) const
inlinevirtual


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 casacore::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.

Definition at line 97 of file FlagCalTableHandler.h.

virtual casacore::Bool casa::DummyBufferImpl::isNewFieldId ( ) const
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 98 of file FlagCalTableHandler.h.

virtual casacore::Bool casa::DummyBufferImpl::isNewMs ( ) const
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 99 of file FlagCalTableHandler.h.

virtual casacore::Bool casa::DummyBufferImpl::isNewSpectralWindow ( ) const
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 100 of file FlagCalTableHandler.h.

virtual casacore::Bool casa::DummyBufferImpl::isRekeyable ( ) const
inlineprotectedvirtual

Implements casa::vi::VisBuffer2.

Definition at line 231 of file FlagCalTableHandler.h.

virtual casacore::Bool casa::DummyBufferImpl::isWritable ( ) const
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 101 of file FlagCalTableHandler.h.

virtual casacore::Bool casa::DummyBufferImpl::modelDataIsVirtual ( ) const
inlinevirtual

Definition at line 200 of file FlagCalTableHandler.h.

virtual casacore::Int casa::DummyBufferImpl::msId ( ) const
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 102 of file FlagCalTableHandler.h.

virtual casacore::String casa::DummyBufferImpl::msName ( casacore::Bool  = false) const
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 103 of file FlagCalTableHandler.h.

virtual casacore::Int casa::DummyBufferImpl::nAntennas ( ) const
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 187 of file FlagCalTableHandler.h.

virtual casacore::Int casa::DummyBufferImpl::nChannels ( ) const
inlinevirtual

Implements casa::vi::VisBuffer2.

Reimplemented in casa::CTBuffer.

Definition at line 188 of file FlagCalTableHandler.h.

virtual casacore::Int casa::DummyBufferImpl::nCorrelations ( ) const
inlinevirtual

Returns the number of correlations along the visCube correlation axis.

This comes from the "channel" selection and thus can be anything positive integer (e.g., user could select the same correlation more than once).

Implements casa::vi::VisBuffer2.

Reimplemented in casa::CTBuffer.

Definition at line 189 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::normalize ( )
inlinevirtual

casacore::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 () = 0; virtual void unSortCorr() = 0;

Normalize the visCube by the modelVisCube.

Implements casa::vi::VisBuffer2.

Definition at line 93 of file FlagCalTableHandler.h.

virtual casacore::Int casa::DummyBufferImpl::nRows ( ) const
inlinevirtual

Returns the number of rows in this VisBuffer.

Implements casa::vi::VisBuffer2.

Reimplemented in casa::CTBuffer.

Definition at line 190 of file FlagCalTableHandler.h.

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

Implements casa::vi::VisBuffer2.

Reimplemented in casa::CTBuffer.

Definition at line 133 of file FlagCalTableHandler.h.

virtual casacore::Vector<casacore::Float>& casa::DummyBufferImpl::parang ( casacore::Double  time) const
inlinevirtual

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

Implements casa::vi::VisBuffer2.

Definition at line 192 of file FlagCalTableHandler.h.

virtual casacore::Float casa::DummyBufferImpl::parang0 ( casacore::Double  time) const
inlinevirtual

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

Implements casa::vi::VisBuffer2.

Definition at line 191 of file FlagCalTableHandler.h.

virtual const casacore::MDirection& casa::DummyBufferImpl::phaseCenter ( ) const
inlinevirtual

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

Implements casa::vi::VisBuffer2.

Definition at line 193 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::phaseCenterShift ( const casacore::Vector< casacore::Double > &  phase)
inlinevirtual

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

Implements casa::vi::VisBuffer2.

Definition at line 216 of file FlagCalTableHandler.h.

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

Rotate visibility phase for phase center offsets (arcsecs)

Implements casa::vi::VisBuffer2.

Definition at line 217 of file FlagCalTableHandler.h.

virtual casacore::Int casa::DummyBufferImpl::polarizationFrame ( ) const
inlinevirtual

Returns the polarization frame for the specified row.

Implements casa::vi::VisBuffer2.

Definition at line 194 of file FlagCalTableHandler.h.

virtual casacore::Int casa::DummyBufferImpl::polarizationId ( ) const
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 195 of file FlagCalTableHandler.h.

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

Implements casa::vi::VisBuffer2.

Definition at line 135 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::resetWeightsUsingSigma ( )
inlinevirtual

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.

Definition at line 95 of file FlagCalTableHandler.h.

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

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

Implements casa::vi::VisBuffer2.

Definition at line 196 of file FlagCalTableHandler.h.

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

Implements casa::vi::VisBuffer2.

Reimplemented in casa::CTBuffer.

Definition at line 137 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::setAntenna1 ( const casacore::Vector< casacore::Int > &  )
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 107 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::setAntenna2 ( const casacore::Vector< casacore::Int > &  )
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 109 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::setArrayId ( const casacore::Vector< casacore::Int > &  )
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 111 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::setDataDescriptionId ( casacore::Int  )
inlinevirtual

Definition at line 113 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::setDataDescriptionIds ( const casacore::Vector< int > &  )
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 114 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::setExposure ( const casacore::Vector< casacore::Double > &  )
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 118 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::setFeed1 ( const casacore::Vector< casacore::Int > &  )
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 120 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::setFeed2 ( const casacore::Vector< casacore::Int > &  )
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 122 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::setFieldId ( const casacore::Vector< casacore::Int > &  )
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 124 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::setFillable ( casacore::Bool  )
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 203 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::setFlag ( const casacore::Matrix< casacore::Bool > &  )
inlinevirtual

Definition at line 126 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::setFlagCategory ( const casacore::Array< casacore::Bool > &  )
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 128 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::setFlagCube ( const casacore::Cube< casacore::Bool > &  )
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 130 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::setFlagRow ( const casacore::Vector< casacore::Bool > &  )
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 132 of file FlagCalTableHandler.h.

void casa::DummyBufferImpl::setImagingWeight ( const casacore::Matrix< float > &  )
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 84 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::setObservationId ( const casacore::Vector< casacore::Int > &  )
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 134 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::setProcessorId ( const casacore::Vector< casacore::Int > &  )
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 136 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::setRekeyable ( casacore::Bool  )
inlineprotectedvirtual

Implements casa::vi::VisBuffer2.

Definition at line 232 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::setScan ( const casacore::Vector< casacore::Int > &  )
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 138 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::setShape ( casacore::Int  ,
casacore::Int  ,
casacore::Int  ,
casacore::Bool   
)
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 67 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::setSigma ( const casacore::Matrix< casacore::Float > &  )
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 140 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::setSigmaSpectrum ( const casacore::Cube< float > &  )
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 159 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::setSpectralWindows ( const casacore::Vector< casacore::Int > &  )
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 199 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::setStateId ( const casacore::Vector< casacore::Int > &  )
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 143 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::setTime ( const casacore::Vector< casacore::Double > &  )
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 145 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::setTimeCentroid ( const casacore::Vector< casacore::Double > &  )
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 147 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::setTimeInterval ( const casacore::Vector< casacore::Double > &  )
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 149 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::setUvw ( const casacore::Matrix< casacore::Double > &  )
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 151 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::setVis ( casacore::Matrix< CStokesVector > &  )
inlinevirtual

Definition at line 165 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::setVisCorrected ( const casacore::Matrix< CStokesVector > &  )
inlinevirtual

Definition at line 169 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::setVisCube ( const casacore::Complex &  )
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 162 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::setVisCube ( const casacore::Cube< casacore::Complex > &  )
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 163 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::setVisCubeCorrected ( const casacore::Cube< casacore::Complex > &  )
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 167 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::setVisCubeFloat ( const casacore::Cube< casacore::Float > &  )
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 171 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::setVisCubeModel ( const casacore::Complex &  )
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 173 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::setVisCubeModel ( const casacore::Cube< casacore::Complex > &  )
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 174 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::setVisCubeModel ( const casacore::Vector< casacore::Float > &  )
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 175 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::setVisModel ( casacore::Matrix< CStokesVector > &  )
inlinevirtual

Definition at line 177 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::setWeight ( const casacore::Matrix< casacore::Float > &  )
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 153 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::setWeightMat ( const casacore::Matrix< casacore::Float > &  )
inlinevirtual

Definition at line 155 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::setWeightSpectrum ( const casacore::Cube< casacore::Float > &  )
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 157 of file FlagCalTableHandler.h.

virtual const casacore::Matrix<casacore::Float>& casa::DummyBufferImpl::sigma ( ) const
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 139 of file FlagCalTableHandler.h.

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

Definition at line 141 of file FlagCalTableHandler.h.

virtual const casacore::Cube<float>& casa::DummyBufferImpl::sigmaSpectrum ( ) const
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 158 of file FlagCalTableHandler.h.

virtual casacore::Int casa::DummyBufferImpl::spectralWindow ( ) const
inlinevirtual

Reimplemented in casa::CTBuffer.

Definition at line 197 of file FlagCalTableHandler.h.

virtual const casacore::Vector<casacore::Int>& casa::DummyBufferImpl::spectralWindows ( ) const
inlinevirtual

Returns the spectral window ID for the specified row.

virtual casacore::Int spectralWindow () const = 0;

Implements casa::vi::VisBuffer2.

Reimplemented in casa::CTBuffer.

Definition at line 198 of file FlagCalTableHandler.h.

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

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

Implements casa::vi::VisBuffer2.

Definition at line 142 of file FlagCalTableHandler.h.

virtual const casacore::Vector<casacore::Double>& casa::DummyBufferImpl::time ( void  ) const
inlinevirtual

Implements casa::vi::VisBuffer2.

Reimplemented in casa::CTBuffer.

Definition at line 144 of file FlagCalTableHandler.h.

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

Implements casa::vi::VisBuffer2.

Definition at line 146 of file FlagCalTableHandler.h.

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

Implements casa::vi::VisBuffer2.

Definition at line 148 of file FlagCalTableHandler.h.

virtual const casacore::Matrix<casacore::Double>& casa::DummyBufferImpl::uvw ( ) const
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 150 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::validateShapes ( ) const
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 206 of file FlagCalTableHandler.h.

virtual const casacore::Matrix<CStokesVector>& casa::DummyBufferImpl::vis ( ) const
inlinevirtual

Definition at line 164 of file FlagCalTableHandler.h.

virtual const casacore::Matrix<CStokesVector>& casa::DummyBufferImpl::visCorrected ( ) const
inlinevirtual

Definition at line 168 of file FlagCalTableHandler.h.

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


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

Implements casa::vi::VisBuffer2.

Reimplemented in casa::CTBuffer.

Definition at line 161 of file FlagCalTableHandler.h.

virtual const casacore::Cube<casacore::Complex>& casa::DummyBufferImpl::visCubeCorrected ( ) const
inlinevirtual

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

Implements casa::vi::VisBuffer2.

Reimplemented in casa::CTBuffer.

Definition at line 166 of file FlagCalTableHandler.h.

virtual const casacore::Cube<casacore::Float>& casa::DummyBufferImpl::visCubeFloat ( ) const
inlinevirtual

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

Implements casa::vi::VisBuffer2.

Definition at line 170 of file FlagCalTableHandler.h.

virtual const casacore::Cube<casacore::Complex>& casa::DummyBufferImpl::visCubeModel ( ) const
inlinevirtual

Implements casa::vi::VisBuffer2.

Reimplemented in casa::CTBuffer.

Definition at line 172 of file FlagCalTableHandler.h.

virtual const casacore::Matrix<CStokesVector>& casa::DummyBufferImpl::visModel ( ) const
inlinevirtual

Definition at line 176 of file FlagCalTableHandler.h.

virtual const casacore::Matrix<casacore::Float>& casa::DummyBufferImpl::weight ( ) const
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 152 of file FlagCalTableHandler.h.

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

Definition at line 154 of file FlagCalTableHandler.h.

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

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

Implements casa::vi::VisBuffer2.

Definition at line 156 of file FlagCalTableHandler.h.

virtual void casa::DummyBufferImpl::writeChangesBack ( )
inlinevirtual


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.

Definition at line 73 of file FlagCalTableHandler.h.


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