casa
$Rev:20696$
|
#include <FlagCalTableHandler.h>
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< Int > | arrayId_p |
Vector< Int > | fieldId_p |
Vector< Int > | spectralWindows_p |
CTIter * | calIter_p |
CTCache * | ctCache_p |
Definition at line 283 of file FlagCalTableHandler.h.
casa::CTBuffer::CTBuffer | ( | CTIter * | ctIter | ) | [inline] |
Definition at line 288 of file FlagCalTableHandler.h.
References ctCache_p, and invalidate().
casa::CTBuffer::~CTBuffer | ( | ) | [inline] |
Definition at line 289 of file FlagCalTableHandler.h.
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] |
Reimplemented from casa::DummyBufferImpl.
Definition at line 291 of file FlagCalTableHandler.h.
References casa::CTCache::arrayId(), arrayId_p, casa::Vector< T >::assign(), ctCache_p, casa::nelements(), and time().
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] |
Reimplemented from casa::DummyBufferImpl.
Definition at line 292 of file FlagCalTableHandler.h.
References casa::Vector< T >::assign(), ctCache_p, casa::CTCache::fieldId(), fieldId_p, casa::nelements(), and time().
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] |
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.
Vector<Int> casa::CTBuffer::arrayId_p [mutable, private] |
Definition at line 329 of file FlagCalTableHandler.h.
Referenced by arrayId().
CTIter* casa::CTBuffer::calIter_p [private] |
Definition at line 332 of file FlagCalTableHandler.h.
CTCache* casa::CTBuffer::ctCache_p [private] |
Definition at line 333 of file FlagCalTableHandler.h.
Referenced by antenna1(), antenna2(), arrayId(), correlationTypes(), CTBuffer(), fieldId(), flagCube(), getChannelNumbers(), getFrequencies(), invalidate(), nChannels(), nCorrelations(), nRows(), observationId(), scan(), spectralWindow(), spectralWindows(), time(), visCube(), visCubeCorrected(), and visCubeModel().
Vector<Int> casa::CTBuffer::fieldId_p [mutable, private] |
Definition at line 330 of file FlagCalTableHandler.h.
Referenced by fieldId().
Vector<Int> casa::CTBuffer::spectralWindows_p [mutable, private] |
Definition at line 331 of file FlagCalTableHandler.h.
Referenced by spectralWindows().