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

#include <FlagCalTableHandler.h>

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

Public Member Functions

 CTBuffer (CTIter *ctIter)
 
 ~CTBuffer ()
 
virtual casacore::Bool existsColumn (VisBufferComponent2 id) const
 
const casacore::Vector
< casacore::Int > & 
arrayId () const
 
const casacore::Vector
< casacore::Int > & 
fieldId () const
 
casacore::Int spectralWindow () const
 
const casacore::Vector
< casacore::Int > & 
scan () const
 
const casacore::Vector
< casacore::Double > & 
time () const
 
const casacore::Vector
< casacore::Int > & 
antenna1 () const
 
const casacore::Vector
< casacore::Int > & 
antenna2 () const
 
const casacore::Cube
< casacore::Bool > & 
flagCube () const
 
const casacore::Vector
< casacore::Int > & 
getChannelNumbers (casacore::Int rowInBuffer) const
 
casacore::Vector< casacore::IntgetChannelNumbersSelected (casacore::Int) const
 
const casacore::Vector
< casacore::Double > & 
getFrequencies (casacore::Int rowInBuffer, casacore::Int=vi::VisBuffer2::FrameNotSpecified) const
 
casacore::Int nRows () const
 Returns the number of rows in this VisBuffer. More...
 
casacore::Int nChannels () const
 
casacore::Int nCorrelations () const
 Returns the number of correlations along the visCube correlation axis. More...
 
const casacore::Vector
< casacore::Int > & 
spectralWindows () const
 Returns the spectral window ID for the specified row. More...
 
const casacore::Cube
< casacore::Complex > & 
visCube () const
 

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

 
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...
 
const casacore::Cube
< casacore::Complex > & 
visCubeModel () const
 
const casacore::Vector
< casacore::Int > & 
observationId () const
 Convenient public methods for compatibility with casacore::MS-like interface. More...
 
const casacore::Vector
< casacore::Int > & 
correlationTypes () const
 Returns the correlation type of each correlation in the VisCube. More...
 
casacore::Vector
< casacore::Stokes::StokesTypes
getCorrelationTypesDefined () const
 
More...
 
casacore::Vector
< casacore::Stokes::StokesTypes
getCorrelationTypesSelected () const
 
void invalidate ()
 Methods for efficient synchronization with CTIter. More...
 
casacore::Vector< bool > & flagRowRef ()
 
casacore::Cube< bool > & flagCubeRef ()
 
casacore::Cube< std::complex
< float > > & 
visCubeRef ()
 
casacore::Cube< std::complex
< float > > & 
visCubeCorrectedRef ()
 
casacore::Cube< std::complex
< float > > & 
visCubeModelRef ()
 
casacore::Cube< float > & weightSpectrumRef ()
 
casacore::IPosition getShape () const
 
- Public Member Functions inherited from casa::DummyBufferImpl
 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 casacore::Int getChannelNumber (casacore::Int, 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 void setAntenna1 (const casacore::Vector< casacore::Int > &)
 
virtual void setAntenna2 (const casacore::Vector< casacore::Int > &)
 
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 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 void setFlagCube (const casacore::Cube< casacore::Bool > &)
 
virtual const casacore::Vector
< casacore::Bool > & 
flagRow () const
 
virtual void setFlagRow (const casacore::Vector< casacore::Bool > &)
 
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 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 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 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 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 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 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::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 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
 
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
 

Private Attributes

casacore::Vector< casacore::IntarrayId_p
 
casacore::Vector< casacore::IntfieldId_p
 
casacore::Vector< casacore::IntspectralWindows_p
 
CTCachectCache_p
 CTIter *calIter_p;. More...
 

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)
 
- Protected Member Functions inherited from casa::DummyBufferImpl
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 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)
 

Detailed Description

Definition at line 329 of file FlagCalTableHandler.h.

Constructor & Destructor Documentation

casa::CTBuffer::CTBuffer ( CTIter ctIter)
inline

Definition at line 334 of file FlagCalTableHandler.h.

References ctCache_p, and invalidate().

casa::CTBuffer::~CTBuffer ( )
inline

Definition at line 335 of file FlagCalTableHandler.h.

Member Function Documentation

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

Reimplemented from casa::DummyBufferImpl.

Definition at line 358 of file FlagCalTableHandler.h.

References casa::CTCache::antenna1(), and ctCache_p.

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

Reimplemented from casa::DummyBufferImpl.

Definition at line 359 of file FlagCalTableHandler.h.

References casa::CTCache::antenna2(), and ctCache_p.

const casacore::Vector<casacore::Int>& casa::CTBuffer::arrayId ( ) const
inlinevirtual
const casacore::Vector<casacore::Int>& casa::CTBuffer::correlationTypes ( ) const
inlinevirtual

Returns the correlation type of each correlation in the VisCube.

Reimplemented from casa::DummyBufferImpl.

Definition at line 377 of file FlagCalTableHandler.h.

References casa::CTCache::correlationTypes(), and ctCache_p.

virtual casacore::Bool casa::CTBuffer::existsColumn ( VisBufferComponent2  id) const
inlinevirtual
const casacore::Vector<casacore::Int>& casa::CTBuffer::fieldId ( ) const
inlinevirtual
const casacore::Cube<casacore::Bool>& casa::CTBuffer::flagCube ( ) const
inlinevirtual

Reimplemented from casa::DummyBufferImpl.

Definition at line 360 of file FlagCalTableHandler.h.

References ctCache_p, and casa::CTCache::flagCube().

casacore::Cube<bool>& casa::CTBuffer::flagCubeRef ( )
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 385 of file FlagCalTableHandler.h.

casacore::Vector<bool>& casa::CTBuffer::flagRowRef ( )
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 384 of file FlagCalTableHandler.h.

const casacore::Vector<casacore::Int>& casa::CTBuffer::getChannelNumbers ( casacore::Int  rowInBuffer) const
inlinevirtual

Reimplemented from casa::DummyBufferImpl.

Definition at line 361 of file FlagCalTableHandler.h.

References ctCache_p, and casa::CTCache::getChannelNumbers().

casacore::Vector<casacore::Int> casa::CTBuffer::getChannelNumbersSelected ( casacore::Int  ) const
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 362 of file FlagCalTableHandler.h.

casacore::Vector<casacore::Stokes::StokesTypes> casa::CTBuffer::getCorrelationTypesDefined ( ) const
inlinevirtual


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

Definition at line 378 of file FlagCalTableHandler.h.

casacore::Vector<casacore::Stokes::StokesTypes> casa::CTBuffer::getCorrelationTypesSelected ( ) const
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 379 of file FlagCalTableHandler.h.

const casacore::Vector<casacore::Double>& casa::CTBuffer::getFrequencies ( casacore::Int  rowInBuffer,
casacore::Int  = vi::VisBuffer2::FrameNotSpecified 
) const
inlinevirtual

Reimplemented from casa::DummyBufferImpl.

Definition at line 363 of file FlagCalTableHandler.h.

References ctCache_p, and casa::CTCache::getFrequencies().

casacore::IPosition casa::CTBuffer::getShape ( ) const
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 390 of file FlagCalTableHandler.h.

void casa::CTBuffer::invalidate ( )
inlinevirtual

Methods for efficient synchronization with CTIter.

Reimplemented from casa::DummyBufferImpl.

Definition at line 382 of file FlagCalTableHandler.h.

References ctCache_p, and casa::CTCache::invalidate().

Referenced by CTBuffer().

casacore::Int casa::CTBuffer::nChannels ( ) const
inlinevirtual

Reimplemented from casa::DummyBufferImpl.

Definition at line 365 of file FlagCalTableHandler.h.

References ctCache_p, and casa::CTCache::nChannels().

casacore::Int casa::CTBuffer::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).

Reimplemented from casa::DummyBufferImpl.

Definition at line 366 of file FlagCalTableHandler.h.

References ctCache_p, and casa::CTCache::nCorrelations().

casacore::Int casa::CTBuffer::nRows ( ) const
inlinevirtual

Returns the number of rows in this VisBuffer.

Reimplemented from casa::DummyBufferImpl.

Definition at line 364 of file FlagCalTableHandler.h.

References ctCache_p, and casa::CTCache::nRows().

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

Convenient public methods for compatibility with casacore::MS-like interface.

Reimplemented from casa::DummyBufferImpl.

Definition at line 376 of file FlagCalTableHandler.h.

References ctCache_p, and casa::CTCache::observationId().

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

Reimplemented from casa::DummyBufferImpl.

Definition at line 356 of file FlagCalTableHandler.h.

References ctCache_p, and casa::CTCache::scan().

casacore::Int casa::CTBuffer::spectralWindow ( ) const
inlinevirtual

Reimplemented from casa::DummyBufferImpl.

Definition at line 355 of file FlagCalTableHandler.h.

References ctCache_p, and casa::CTCache::spectralWindow().

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

Returns the spectral window ID for the specified row.

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

Reimplemented from casa::DummyBufferImpl.

Definition at line 367 of file FlagCalTableHandler.h.

References casacore::Vector< T >::assign(), ctCache_p, casacore::nelements(), casa::CTCache::spectralWindow(), spectralWindows_p, and time().

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

Reimplemented from casa::DummyBufferImpl.

Definition at line 357 of file FlagCalTableHandler.h.

References ctCache_p, and casa::CTCache::time().

Referenced by arrayId(), fieldId(), and spectralWindows().

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


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

Reimplemented from casa::DummyBufferImpl.

Definition at line 371 of file FlagCalTableHandler.h.

References ctCache_p, and casa::CTCache::visCube().

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

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

Reimplemented from casa::DummyBufferImpl.

Definition at line 372 of file FlagCalTableHandler.h.

References ctCache_p, and casa::CTCache::visCubeCorrected().

casacore::Cube<std::complex<float> >& casa::CTBuffer::visCubeCorrectedRef ( )
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 387 of file FlagCalTableHandler.h.

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

Reimplemented from casa::DummyBufferImpl.

Definition at line 373 of file FlagCalTableHandler.h.

References ctCache_p, and casa::CTCache::visCubeModel().

casacore::Cube<std::complex<float> >& casa::CTBuffer::visCubeModelRef ( )
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 388 of file FlagCalTableHandler.h.

casacore::Cube<std::complex<float> >& casa::CTBuffer::visCubeRef ( )
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 386 of file FlagCalTableHandler.h.

casacore::Cube<float >& casa::CTBuffer::weightSpectrumRef ( )
inlinevirtual

Implements casa::vi::VisBuffer2.

Definition at line 389 of file FlagCalTableHandler.h.

Member Data Documentation

casacore::Vector<casacore::Int> casa::CTBuffer::arrayId_p
mutableprivate

Definition at line 394 of file FlagCalTableHandler.h.

Referenced by arrayId().

CTCache* casa::CTBuffer::ctCache_p
private
casacore::Vector<casacore::Int> casa::CTBuffer::fieldId_p
mutableprivate

Definition at line 395 of file FlagCalTableHandler.h.

Referenced by fieldId().

casacore::Vector<casacore::Int> casa::CTBuffer::spectralWindows_p
mutableprivate

Definition at line 396 of file FlagCalTableHandler.h.

Referenced by spectralWindows().


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