#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 |
Vector< Int > | getChannelNumbersSelected (Int outputChannelIndex) const |
const Vector< Double > & | getFrequencies (Int rowInBuffer, Int=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. | |
Vector< Stokes::StokesTypes > | getCorrelationTypesDefined () const |
--------------------------------------------------------------------------- | |
Vector< Stokes::StokesTypes > | getCorrelationTypesSelected () const |
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 () |
IPosition | getShape () const |
Private Attributes | |
Vector< Int > | arrayId_p |
Vector< Int > | fieldId_p |
Vector< Int > | spectralWindows_p |
CTIter * | calIter_p |
CTCache * | ctCache_p |
Definition at line 326 of file FlagCalTableHandler.h.
casa::CTBuffer::CTBuffer | ( | CTIter * | ctIter | ) | [inline] |
Definition at line 331 of file FlagCalTableHandler.h.
References ctCache_p, and invalidate().
casa::CTBuffer::~CTBuffer | ( | ) | [inline] |
Definition at line 332 of file FlagCalTableHandler.h.
const Vector<Int>& casa::CTBuffer::antenna1 | ( | void | ) | const [inline, virtual] |
Reimplemented from casa::DummyBufferImpl.
Definition at line 339 of file FlagCalTableHandler.h.
References casa::CTCache::antenna1(), and ctCache_p.
const Vector<Int>& casa::CTBuffer::antenna2 | ( | void | ) | const [inline, virtual] |
Reimplemented from casa::DummyBufferImpl.
Definition at line 340 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 334 of file FlagCalTableHandler.h.
References casa::CTCache::arrayId(), arrayId_p, ctCache_p, casacore::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 358 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 335 of file FlagCalTableHandler.h.
References ctCache_p, casa::CTCache::fieldId(), fieldId_p, casacore::nelements(), and time().
const Cube<Bool>& casa::CTBuffer::flagCube | ( | ) | const [inline, virtual] |
Reimplemented from casa::DummyBufferImpl.
Definition at line 341 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 366 of file FlagCalTableHandler.h.
Vector<bool>& casa::CTBuffer::flagRowRef | ( | ) | [inline, virtual] |
Implements casa::vi::VisBuffer2.
Definition at line 365 of file FlagCalTableHandler.h.
const Vector<Int>& casa::CTBuffer::getChannelNumbers | ( | Int | rowInBuffer | ) | const [inline, virtual] |
Reimplemented from casa::DummyBufferImpl.
Definition at line 342 of file FlagCalTableHandler.h.
References ctCache_p, and casa::CTCache::getChannelNumbers().
Vector<Int> casa::CTBuffer::getChannelNumbersSelected | ( | Int | outputChannelIndex | ) | const [inline, virtual] |
Implements casa::vi::VisBuffer2.
Definition at line 343 of file FlagCalTableHandler.h.
Vector<Stokes::StokesTypes> casa::CTBuffer::getCorrelationTypesDefined | ( | ) | const [inline, virtual] |
---------------------------------------------------------------------------
Frequency reporting methods.
These methods provide information about the frequencies returned in the visibility cubes. The information can returned as the channel numbers (numbered as in the underlying MS data) or in a frame-based frequency. This information reported need not be in the same frame of reference used to select the data. If the frame of reference is specified in the call, then that is the frame that is used to calculate the frequencies. If it is not specified, then the VisibilityIterator will be queried for virtual the reportingFrame = 0; if the user has specified a reporting frame to the virtual VI then that frame will be used = 0; otherwise the frame used to select the frequencies will be used. If the user provides no frequency selection to the VI then the selection frame will TOPO.
Both the channelNumber and frequency reporting methods come in two versions: one returns a single frequency for the specified frequency index and row while the other provides all of the frequencies for the specified row. The frequency index is the zero-based index along the frequency axis of a visibility cube.
Implements casa::vi::VisBuffer2.
Definition at line 359 of file FlagCalTableHandler.h.
Vector<Stokes::StokesTypes> casa::CTBuffer::getCorrelationTypesSelected | ( | ) | const [inline, virtual] |
Implements casa::vi::VisBuffer2.
Definition at line 360 of file FlagCalTableHandler.h.
const Vector<Double>& casa::CTBuffer::getFrequencies | ( | Int | rowInBuffer, | |
Int | = vi::VisBuffer2::FrameNotSpecified | |||
) | const [inline, virtual] |
Reimplemented from casa::DummyBufferImpl.
Definition at line 344 of file FlagCalTableHandler.h.
References ctCache_p, and casa::CTCache::getFrequencies().
IPosition casa::CTBuffer::getShape | ( | ) | const [inline, virtual] |
Implements casa::vi::VisBuffer2.
Definition at line 371 of file FlagCalTableHandler.h.
void casa::CTBuffer::invalidate | ( | ) | [inline, virtual] |
Methods for efficient synchronization with CTIter.
Reimplemented from casa::DummyBufferImpl.
Definition at line 363 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 346 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.
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 347 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 345 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 357 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 337 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 336 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 348 of file FlagCalTableHandler.h.
References ctCache_p, casacore::nelements(), casa::CTCache::spectralWindow(), spectralWindows_p, and time().
const Vector<Double>& casa::CTBuffer::time | ( | void | ) | const [inline, virtual] |
Reimplemented from casa::DummyBufferImpl.
Definition at line 338 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 352 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 353 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 368 of file FlagCalTableHandler.h.
const Cube<Complex>& casa::CTBuffer::visCubeModel | ( | ) | const [inline, virtual] |
Reimplemented from casa::DummyBufferImpl.
Definition at line 354 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 369 of file FlagCalTableHandler.h.
Cube<complex<float> >& casa::CTBuffer::visCubeRef | ( | ) | [inline, virtual] |
Implements casa::vi::VisBuffer2.
Definition at line 367 of file FlagCalTableHandler.h.
Cube<float >& casa::CTBuffer::weightSpectrumRef | ( | ) | [inline, virtual] |
Implements casa::vi::VisBuffer2.
Definition at line 370 of file FlagCalTableHandler.h.
Vector<Int> casa::CTBuffer::arrayId_p [mutable, private] |
Definition at line 375 of file FlagCalTableHandler.h.
Referenced by arrayId().
CTIter* casa::CTBuffer::calIter_p [private] |
Definition at line 378 of file FlagCalTableHandler.h.
CTCache* casa::CTBuffer::ctCache_p [private] |
Definition at line 379 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 376 of file FlagCalTableHandler.h.
Referenced by fieldId().
Vector<Int> casa::CTBuffer::spectralWindows_p [mutable, private] |
Definition at line 377 of file FlagCalTableHandler.h.
Referenced by spectralWindows().