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

#include <FlagCalTableHandler.h>

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

List of all members.

Public Member Functions

 CTBuffer (CTIter *ctIter)
 ~CTBuffer ()
const Vector< Int > & arrayId () const
const Vector< Int > & fieldId () const
Int spectralWindow () const
const Vector< Int > & scan () const
const Vector< Double > & time () const
const Vector< Int > & antenna1 () const
const Vector< Int > & antenna2 () const
const Cube< Bool > & flagCube () const
const Vector< Int > & getChannelNumbers (Int rowInBuffer) const
const Vector< Double > & getFrequencies (Int rowInBuffer, Int frame=vi::VisBuffer2::FrameNotSpecified) const
Int nRows () const
 Returns the number of rows in this VisBuffer.
Int nChannels () const
Int nCorrelations () const
 Returns the number of correlations along the visCube correlation axis.
const Vector< Int > & spectralWindows () const
 Returns the spectral window ID for the specified row.
const Cube< Complex > & visCube () const
 
Visibility data accessors in order of observed, corrected, float, & model
const Cube< Complex > & visCubeCorrected () const
 virtual const Matrix<CStokesVector> & vis () const = 0; // [nF,nR] virtual void setVis (Matrix<CStokesVector> &) = 0; // [nF,nR]
const Cube< Complex > & visCubeModel () const
const Vector< Int > & observationId () const
 Convenient public methods for compatibility with MS-like interface.
const Vector< Int > & correlationTypes () const
 Returns the correlation type of each correlation in the VisCube.
void invalidate ()
 Methods for efficient synchronization with CTIter.
Vector< bool > & flagRowRef ()
Cube< bool > & flagCubeRef ()
Cube< complex< float > > & visCubeRef ()
Cube< complex< float > > & visCubeCorrectedRef ()
Cube< complex< float > > & visCubeModelRef ()
Cube< float > & weightSpectrumRef ()

Private Attributes

Vector< IntarrayId_p
Vector< IntfieldId_p
Vector< IntspectralWindows_p
CTItercalIter_p
CTCachectCache_p

Detailed Description

Definition at line 283 of file FlagCalTableHandler.h.


Constructor & Destructor Documentation

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

Definition at line 288 of file FlagCalTableHandler.h.

References ctCache_p, and invalidate().

Definition at line 289 of file FlagCalTableHandler.h.


Member Function Documentation

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

Reimplemented from casa::DummyBufferImpl.

Definition at line 296 of file FlagCalTableHandler.h.

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

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

Reimplemented from casa::DummyBufferImpl.

Definition at line 297 of file FlagCalTableHandler.h.

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

const Vector<Int>& casa::CTBuffer::arrayId ( ) const [inline, virtual]
const Vector<Int>& casa::CTBuffer::correlationTypes ( ) const [inline, virtual]

Returns the correlation type of each correlation in the VisCube.

Reimplemented from casa::DummyBufferImpl.

Definition at line 314 of file FlagCalTableHandler.h.

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

const Vector<Int>& casa::CTBuffer::fieldId ( ) const [inline, virtual]
const Cube<Bool>& casa::CTBuffer::flagCube ( ) const [inline, virtual]

Reimplemented from casa::DummyBufferImpl.

Definition at line 298 of file FlagCalTableHandler.h.

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

Cube<bool>& casa::CTBuffer::flagCubeRef ( ) [inline, virtual]

Implements casa::vi::VisBuffer2.

Definition at line 320 of file FlagCalTableHandler.h.

Vector<bool>& casa::CTBuffer::flagRowRef ( ) [inline, virtual]

Implements casa::vi::VisBuffer2.

Definition at line 319 of file FlagCalTableHandler.h.

const Vector<Int>& casa::CTBuffer::getChannelNumbers ( Int  rowInBuffer) const [inline, virtual]

Reimplemented from casa::DummyBufferImpl.

Definition at line 299 of file FlagCalTableHandler.h.

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

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

Reimplemented from casa::DummyBufferImpl.

Definition at line 300 of file FlagCalTableHandler.h.

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

void casa::CTBuffer::invalidate ( ) [inline, virtual]

Methods for efficient synchronization with CTIter.

Reimplemented from casa::DummyBufferImpl.

Definition at line 317 of file FlagCalTableHandler.h.

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

Referenced by CTBuffer().

Int casa::CTBuffer::nChannels ( ) const [inline, virtual]

Reimplemented from casa::DummyBufferImpl.

Definition at line 302 of file FlagCalTableHandler.h.

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

Int casa::CTBuffer::nCorrelations ( ) const [inline, virtual]

Returns the number of correlations along the visCube correlation axis.

Reimplemented from casa::DummyBufferImpl.

Definition at line 303 of file FlagCalTableHandler.h.

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

Int casa::CTBuffer::nRows ( ) const [inline, virtual]

Returns the number of rows in this VisBuffer.

Reimplemented from casa::DummyBufferImpl.

Definition at line 301 of file FlagCalTableHandler.h.

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

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

Convenient public methods for compatibility with MS-like interface.

Reimplemented from casa::DummyBufferImpl.

Definition at line 313 of file FlagCalTableHandler.h.

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

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

Reimplemented from casa::DummyBufferImpl.

Definition at line 294 of file FlagCalTableHandler.h.

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

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

Reimplemented from casa::DummyBufferImpl.

Definition at line 293 of file FlagCalTableHandler.h.

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

const Vector<Int>& casa::CTBuffer::spectralWindows ( ) const [inline, virtual]

Returns the spectral window ID for the specified row.

virtual Int spectralWindow () const = 0;

Reimplemented from casa::DummyBufferImpl.

Definition at line 304 of file FlagCalTableHandler.h.

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

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

Reimplemented from casa::DummyBufferImpl.

Definition at line 295 of file FlagCalTableHandler.h.

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

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

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


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

Reimplemented from casa::DummyBufferImpl.

Definition at line 308 of file FlagCalTableHandler.h.

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

const Cube<Complex>& casa::CTBuffer::visCubeCorrected ( ) const [inline, virtual]

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

Reimplemented from casa::DummyBufferImpl.

Definition at line 309 of file FlagCalTableHandler.h.

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

Cube<complex<float> >& casa::CTBuffer::visCubeCorrectedRef ( ) [inline, virtual]

Implements casa::vi::VisBuffer2.

Definition at line 322 of file FlagCalTableHandler.h.

const Cube<Complex>& casa::CTBuffer::visCubeModel ( ) const [inline, virtual]

Reimplemented from casa::DummyBufferImpl.

Definition at line 310 of file FlagCalTableHandler.h.

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

Cube<complex<float> >& casa::CTBuffer::visCubeModelRef ( ) [inline, virtual]

Implements casa::vi::VisBuffer2.

Definition at line 323 of file FlagCalTableHandler.h.

Cube<complex<float> >& casa::CTBuffer::visCubeRef ( ) [inline, virtual]

Implements casa::vi::VisBuffer2.

Definition at line 321 of file FlagCalTableHandler.h.

Cube<float >& casa::CTBuffer::weightSpectrumRef ( ) [inline, virtual]

Implements casa::vi::VisBuffer2.

Definition at line 324 of file FlagCalTableHandler.h.


Member Data Documentation

Vector<Int> casa::CTBuffer::arrayId_p [mutable, private]

Definition at line 329 of file FlagCalTableHandler.h.

Referenced by arrayId().

Definition at line 332 of file FlagCalTableHandler.h.

Vector<Int> casa::CTBuffer::fieldId_p [mutable, private]

Definition at line 330 of file FlagCalTableHandler.h.

Referenced by fieldId().

Definition at line 331 of file FlagCalTableHandler.h.

Referenced by spectralWindows().


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