#include <Vbi2MsRow.h>
Public Member Functions | |
Vbi2MsRow (Int row, const vi::VisBufferImpl2 *vb) | |
Constructors. | |
Vbi2MsRow (Int row, vi::VisBufferImpl2 *vb) | |
Constructor for read/write access. | |
virtual | ~Vbi2MsRow () |
void | changeRow (Int row) |
void | copy (Vbi2MsRow *other, const VisBufferComponents2 &componentsToCopy) |
Int | antenna1 () const |
Int | antenna2 () const |
Int | arrayId () const |
Int | correlationType () const |
Int | dataDescriptionId () const |
Int | feed1 () const |
Int | feed2 () const |
Int | fieldId () const |
Int | observationId () const |
Int | rowId () const |
Int | processorId () const |
Int | scanNumber () const |
Int | stateId () const |
Double | exposure () const |
Double | interval () const |
Int | spectralWindow () const |
Double | time () const |
Double | timeCentroid () const |
void | setAntenna1 (Int) |
void | setAntenna2 (Int) |
void | setArrayId (Int) |
void | setCorrelationType (Int) |
void | setDataDescriptionId (Int) |
void | setFeed1 (Int) |
void | setFeed2 (Int) |
void | setFieldId (Int) |
void | setObservationId (Int) |
void | setProcessorId (Int) |
void | setRowId (Int) |
void | setScanNumber (Int) |
void | setStateId (Int) |
void | setExposure (Double) |
void | setInterval (Double) |
void | setSpectralWindow (Int) |
void | setTime (Double) |
void | setTimeCentroid (Double) |
const Vector< Double > | uvw () const |
const Double & | uvw (Int i) const |
void | setUvw (const Vector< Double > &) |
void | setUvw (Int i, const Vector< Double > &) |
const Complex & | corrected (Int correlation, Int channel) const |
const Matrix< Complex > & | corrected () const |
Matrix< Complex > & | correctedMutable () |
void | setCorrected (Int correlation, Int channel, const Complex &value) |
void | setCorrected (const Matrix< Complex > &value) |
const Complex & | model (Int correlation, Int channel) const |
const Matrix< Complex > & | model () const |
Matrix< Complex > & | modelMutable () |
void | setModel (Int correlation, Int channel, const Complex &value) |
void | setModel (const Matrix< Complex > &value) |
const Complex & | observed (Int correlation, Int channel) const |
const Matrix< Complex > & | observed () const |
Matrix< Complex > & | observedMutable () |
void | setObserved (Int correlation, Int channel, const Complex &value) |
void | setObserved (const Matrix< Complex > &value) |
const Float & | singleDishData (Int correlation, Int channel) const |
const Matrix< Float > | singleDishData () const |
Matrix< Float > | singleDishDataMutable () |
void | setSingleDishData (Int correlation, Int channel, const Float &value) |
void | setSingleDishData (const Matrix< Float > &value) |
Float | sigma (Int correlation) const |
const Vector< Float > & | sigma () const |
Vector< Float > & | sigmaMutable () const |
void | setSigma (Int correlation, Float value) |
void | setSigma (const Vector< Float > &value) |
Float | weight (Int correlation) const |
const Vector< Float > & | weight () const |
Vector< Float > & | weightMutable () const |
void | setWeight (Int correlation, Float value) |
void | setWeight (const Vector< Float > &value) |
Float | weightSpectrum (Int correlation, Int channel) const |
void | setWeightSpectrum (Int correlation, Int channel, Float value) |
void | setWeightSpectrum (const Matrix< Float > &value) |
const Matrix< Float > & | weightSpectrum () const |
Matrix< Float > & | weightSpectrumMutable () const |
Float | sigmaSpectrum (Int correlation, Int channel) const |
const Matrix< Float > & | sigmaSpectrum () const |
Matrix< Float > & | sigmaSpectrumMutable () const |
void | setSigmaSpectrum (Int correlation, Int channel, Float value) |
void | setSigmaSpectrum (const Matrix< Float > &value) |
Bool | isRowFlagged () const |
const Matrix< Bool > & | flags () const |
void | setFlags (const Matrix< Bool > &flags) |
Bool | isFlagged (Int correlation, Int channel) const |
void | setRowFlag (Bool isFlagged) |
void | setFlags (Bool isFlagged, Int correlation, Int channel) |
Protected Member Functions | |
template<typename T > | |
void | addToCachedArrays (T &cachedArray) |
void | clearArrayCaches () |
Matrix< Bool > & | flagsMutable () |
vi::VisBufferImpl2 * | getVbi () const |
Private Member Functions | |
void | configureArrayCaches () |
template<typename T , typename U > | |
void | copyIf (Bool copyThis, Vbi2MsRow *other, void(Vbi2MsRow::*setter)(T), U(Vbi2MsRow::*getter)() const) |
Private Attributes | |
CachedPlane< Complex > | correctedCache_p |
CachedPlane< Bool > | flagCache_p |
CachedPlane< Complex > | modelCache_p |
CachedPlane< Complex > | observedCache_p |
CachedColumn< Float > | sigmaCache_p |
CachedPlane< Float > | sigmaSpectrumCache_p |
CachedColumn< Float > | weightCache_p |
CachedPlane< Float > | weightSpectrumCache_p |
std::vector< CachedArrayBase * > | arrayCaches_p |
vi::VisBufferImpl2 * | vbi2_p |
Definition at line 133 of file Vbi2MsRow.h.
casa::ms::Vbi2MsRow::Vbi2MsRow | ( | Int | row, | |
const vi::VisBufferImpl2 * | vb | |||
) |
Constructors.
Constructor for read-only access. Attempt to write will throw exception.
casa::ms::Vbi2MsRow::Vbi2MsRow | ( | Int | row, | |
vi::VisBufferImpl2 * | vb | |||
) |
Constructor for read/write access.
virtual casa::ms::Vbi2MsRow::~Vbi2MsRow | ( | ) | [inline, virtual] |
Definition at line 148 of file Vbi2MsRow.h.
void casa::ms::Vbi2MsRow::addToCachedArrays | ( | T & | cachedArray | ) | [inline, protected] |
Definition at line 253 of file Vbi2MsRow.h.
References arrayCaches_p.
Int casa::ms::Vbi2MsRow::antenna1 | ( | ) | const [virtual] |
Implements casa::ms::MsRow.
Int casa::ms::Vbi2MsRow::antenna2 | ( | ) | const [virtual] |
Implements casa::ms::MsRow.
Int casa::ms::Vbi2MsRow::arrayId | ( | ) | const [virtual] |
Implements casa::ms::MsRow.
void casa::ms::Vbi2MsRow::changeRow | ( | Int | row | ) | [virtual] |
Reimplemented from casa::ms::MsRow.
void casa::ms::Vbi2MsRow::clearArrayCaches | ( | ) | [protected] |
void casa::ms::Vbi2MsRow::configureArrayCaches | ( | ) | [private] |
void casa::ms::Vbi2MsRow::copy | ( | Vbi2MsRow * | other, | |
const VisBufferComponents2 & | componentsToCopy | |||
) |
void casa::ms::Vbi2MsRow::copyIf | ( | Bool | copyThis, | |
Vbi2MsRow * | other, | |||
void(Vbi2MsRow::*)(T) | setter, | |||
U(Vbi2MsRow::*)() const | getter | |||
) | [inline, private] |
const Matrix<Complex>& casa::ms::Vbi2MsRow::corrected | ( | ) | const [virtual] |
Implements casa::ms::MsRow.
const Complex& casa::ms::Vbi2MsRow::corrected | ( | Int | correlation, | |
Int | channel | |||
) | const [virtual] |
Implements casa::ms::MsRow.
Matrix<Complex>& casa::ms::Vbi2MsRow::correctedMutable | ( | ) |
Int casa::ms::Vbi2MsRow::correlationType | ( | ) | const [virtual] |
Implements casa::ms::MsRow.
Int casa::ms::Vbi2MsRow::dataDescriptionId | ( | ) | const [virtual] |
Implements casa::ms::MsRow.
Double casa::ms::Vbi2MsRow::exposure | ( | ) | const [virtual] |
Implements casa::ms::MsRow.
Int casa::ms::Vbi2MsRow::feed1 | ( | ) | const [virtual] |
Implements casa::ms::MsRow.
Int casa::ms::Vbi2MsRow::feed2 | ( | ) | const [virtual] |
Implements casa::ms::MsRow.
Int casa::ms::Vbi2MsRow::fieldId | ( | ) | const [virtual] |
Implements casa::ms::MsRow.
const Matrix<Bool>& casa::ms::Vbi2MsRow::flags | ( | ) | const [virtual] |
Implements casa::ms::MsRow.
Matrix<Bool>& casa::ms::Vbi2MsRow::flagsMutable | ( | ) | [protected] |
vi::VisBufferImpl2* casa::ms::Vbi2MsRow::getVbi | ( | ) | const [protected] |
Double casa::ms::Vbi2MsRow::interval | ( | ) | const [virtual] |
Implements casa::ms::MsRow.
Bool casa::ms::Vbi2MsRow::isFlagged | ( | Int | correlation, | |
Int | channel | |||
) | const [virtual] |
Implements casa::ms::MsRow.
Bool casa::ms::Vbi2MsRow::isRowFlagged | ( | ) | const [virtual] |
Implements casa::ms::MsRow.
const Matrix<Complex>& casa::ms::Vbi2MsRow::model | ( | ) | const [virtual] |
Implements casa::ms::MsRow.
const Complex& casa::ms::Vbi2MsRow::model | ( | Int | correlation, | |
Int | channel | |||
) | const [virtual] |
Implements casa::ms::MsRow.
Matrix<Complex>& casa::ms::Vbi2MsRow::modelMutable | ( | ) |
Int casa::ms::Vbi2MsRow::observationId | ( | ) | const [virtual] |
Implements casa::ms::MsRow.
const Matrix<Complex>& casa::ms::Vbi2MsRow::observed | ( | ) | const [virtual] |
Implements casa::ms::MsRow.
const Complex& casa::ms::Vbi2MsRow::observed | ( | Int | correlation, | |
Int | channel | |||
) | const [virtual] |
Implements casa::ms::MsRow.
Matrix<Complex>& casa::ms::Vbi2MsRow::observedMutable | ( | ) |
Int casa::ms::Vbi2MsRow::processorId | ( | ) | const [virtual] |
Implements casa::ms::MsRow.
Int casa::ms::Vbi2MsRow::rowId | ( | ) | const [virtual] |
Implements casa::ms::MsRow.
Int casa::ms::Vbi2MsRow::scanNumber | ( | ) | const [virtual] |
Implements casa::ms::MsRow.
void casa::ms::Vbi2MsRow::setAntenna1 | ( | Int | ) | [virtual] |
Implements casa::ms::MsRow.
void casa::ms::Vbi2MsRow::setAntenna2 | ( | Int | ) | [virtual] |
Implements casa::ms::MsRow.
void casa::ms::Vbi2MsRow::setArrayId | ( | Int | ) | [virtual] |
Implements casa::ms::MsRow.
void casa::ms::Vbi2MsRow::setCorrected | ( | const Matrix< Complex > & | value | ) | [virtual] |
Implements casa::ms::MsRow.
void casa::ms::Vbi2MsRow::setCorrected | ( | Int | correlation, | |
Int | channel, | |||
const Complex & | value | |||
) | [virtual] |
Implements casa::ms::MsRow.
void casa::ms::Vbi2MsRow::setCorrelationType | ( | Int | ) | [virtual] |
Implements casa::ms::MsRow.
void casa::ms::Vbi2MsRow::setDataDescriptionId | ( | Int | ) | [virtual] |
Implements casa::ms::MsRow.
void casa::ms::Vbi2MsRow::setExposure | ( | Double | ) | [virtual] |
Implements casa::ms::MsRow.
void casa::ms::Vbi2MsRow::setFeed1 | ( | Int | ) | [virtual] |
Implements casa::ms::MsRow.
void casa::ms::Vbi2MsRow::setFeed2 | ( | Int | ) | [virtual] |
Implements casa::ms::MsRow.
void casa::ms::Vbi2MsRow::setFieldId | ( | Int | ) | [virtual] |
Implements casa::ms::MsRow.
void casa::ms::Vbi2MsRow::setFlags | ( | Bool | isFlagged, | |
Int | correlation, | |||
Int | channel | |||
) | [virtual] |
Implements casa::ms::MsRow.
void casa::ms::Vbi2MsRow::setFlags | ( | const Matrix< Bool > & | flags | ) | [virtual] |
Implements casa::ms::MsRow.
void casa::ms::Vbi2MsRow::setInterval | ( | Double | ) | [virtual] |
Implements casa::ms::MsRow.
void casa::ms::Vbi2MsRow::setModel | ( | const Matrix< Complex > & | value | ) | [virtual] |
Implements casa::ms::MsRow.
void casa::ms::Vbi2MsRow::setModel | ( | Int | correlation, | |
Int | channel, | |||
const Complex & | value | |||
) | [virtual] |
Implements casa::ms::MsRow.
void casa::ms::Vbi2MsRow::setObservationId | ( | Int | ) | [virtual] |
Implements casa::ms::MsRow.
void casa::ms::Vbi2MsRow::setObserved | ( | const Matrix< Complex > & | value | ) | [virtual] |
Implements casa::ms::MsRow.
void casa::ms::Vbi2MsRow::setObserved | ( | Int | correlation, | |
Int | channel, | |||
const Complex & | value | |||
) | [virtual] |
Implements casa::ms::MsRow.
void casa::ms::Vbi2MsRow::setProcessorId | ( | Int | ) | [virtual] |
Implements casa::ms::MsRow.
void casa::ms::Vbi2MsRow::setRowFlag | ( | Bool | isFlagged | ) | [virtual] |
Implements casa::ms::MsRow.
void casa::ms::Vbi2MsRow::setRowId | ( | Int | ) | [virtual] |
Implements casa::ms::MsRow.
void casa::ms::Vbi2MsRow::setScanNumber | ( | Int | ) | [virtual] |
Implements casa::ms::MsRow.
void casa::ms::Vbi2MsRow::setSigma | ( | const Vector< Float > & | value | ) | [virtual] |
Implements casa::ms::MsRow.
void casa::ms::Vbi2MsRow::setSigma | ( | Int | correlation, | |
Float | value | |||
) | [virtual] |
Implements casa::ms::MsRow.
void casa::ms::Vbi2MsRow::setSigmaSpectrum | ( | const Matrix< Float > & | value | ) |
void casa::ms::Vbi2MsRow::setSigmaSpectrum | ( | Int | correlation, | |
Int | channel, | |||
Float | value | |||
) |
void casa::ms::Vbi2MsRow::setSingleDishData | ( | const Matrix< Float > & | value | ) | [virtual] |
Implements casa::ms::MsRow.
void casa::ms::Vbi2MsRow::setSingleDishData | ( | Int | correlation, | |
Int | channel, | |||
const Float & | value | |||
) | [virtual] |
Implements casa::ms::MsRow.
void casa::ms::Vbi2MsRow::setSpectralWindow | ( | Int | ) |
void casa::ms::Vbi2MsRow::setStateId | ( | Int | ) | [virtual] |
Implements casa::ms::MsRow.
void casa::ms::Vbi2MsRow::setTime | ( | Double | ) | [virtual] |
Implements casa::ms::MsRow.
void casa::ms::Vbi2MsRow::setTimeCentroid | ( | Double | ) | [virtual] |
Implements casa::ms::MsRow.
void casa::ms::Vbi2MsRow::setUvw | ( | Int | i, | |
const Vector< Double > & | ||||
) |
void casa::ms::Vbi2MsRow::setUvw | ( | const Vector< Double > & | ) | [virtual] |
Implements casa::ms::MsRow.
void casa::ms::Vbi2MsRow::setWeight | ( | const Vector< Float > & | value | ) | [virtual] |
Implements casa::ms::MsRow.
void casa::ms::Vbi2MsRow::setWeight | ( | Int | correlation, | |
Float | value | |||
) | [virtual] |
Implements casa::ms::MsRow.
void casa::ms::Vbi2MsRow::setWeightSpectrum | ( | const Matrix< Float > & | value | ) |
void casa::ms::Vbi2MsRow::setWeightSpectrum | ( | Int | correlation, | |
Int | channel, | |||
Float | value | |||
) |
const Vector<Float>& casa::ms::Vbi2MsRow::sigma | ( | ) | const [virtual] |
Implements casa::ms::MsRow.
Float casa::ms::Vbi2MsRow::sigma | ( | Int | correlation | ) | const [virtual] |
Implements casa::ms::MsRow.
Vector<Float>& casa::ms::Vbi2MsRow::sigmaMutable | ( | ) | const |
const Matrix<Float>& casa::ms::Vbi2MsRow::sigmaSpectrum | ( | ) | const [virtual] |
Implements casa::ms::MsRow.
Float casa::ms::Vbi2MsRow::sigmaSpectrum | ( | Int | correlation, | |
Int | channel | |||
) | const [virtual] |
Implements casa::ms::MsRow.
Matrix<Float>& casa::ms::Vbi2MsRow::sigmaSpectrumMutable | ( | ) | const |
const Matrix<Float> casa::ms::Vbi2MsRow::singleDishData | ( | ) | const [virtual] |
Implements casa::ms::MsRow.
const Float& casa::ms::Vbi2MsRow::singleDishData | ( | Int | correlation, | |
Int | channel | |||
) | const [virtual] |
Implements casa::ms::MsRow.
Matrix<Float> casa::ms::Vbi2MsRow::singleDishDataMutable | ( | ) |
Int casa::ms::Vbi2MsRow::spectralWindow | ( | ) | const [virtual] |
Implements casa::ms::MsRow.
Int casa::ms::Vbi2MsRow::stateId | ( | ) | const [virtual] |
Implements casa::ms::MsRow.
Double casa::ms::Vbi2MsRow::time | ( | ) | const [virtual] |
Implements casa::ms::MsRow.
Double casa::ms::Vbi2MsRow::timeCentroid | ( | ) | const [virtual] |
Implements casa::ms::MsRow.
const Double& casa::ms::Vbi2MsRow::uvw | ( | Int | i | ) | const |
const Vector<Double> casa::ms::Vbi2MsRow::uvw | ( | ) | const [virtual] |
Implements casa::ms::MsRow.
const Vector<Float>& casa::ms::Vbi2MsRow::weight | ( | ) | const [virtual] |
Implements casa::ms::MsRow.
Float casa::ms::Vbi2MsRow::weight | ( | Int | correlation | ) | const [virtual] |
Implements casa::ms::MsRow.
Vector<Float>& casa::ms::Vbi2MsRow::weightMutable | ( | ) | const |
const Matrix<Float>& casa::ms::Vbi2MsRow::weightSpectrum | ( | ) | const [virtual] |
Implements casa::ms::MsRow.
Float casa::ms::Vbi2MsRow::weightSpectrum | ( | Int | correlation, | |
Int | channel | |||
) | const [virtual] |
Implements casa::ms::MsRow.
Matrix<Float>& casa::ms::Vbi2MsRow::weightSpectrumMutable | ( | ) | const |
std::vector<CachedArrayBase *> casa::ms::Vbi2MsRow::arrayCaches_p [private] |
Definition at line 275 of file Vbi2MsRow.h.
Referenced by addToCachedArrays().
CachedPlane<Complex> casa::ms::Vbi2MsRow::correctedCache_p [mutable, private] |
Definition at line 266 of file Vbi2MsRow.h.
CachedPlane<Bool> casa::ms::Vbi2MsRow::flagCache_p [mutable, private] |
Definition at line 267 of file Vbi2MsRow.h.
CachedPlane<Complex> casa::ms::Vbi2MsRow::modelCache_p [mutable, private] |
Definition at line 268 of file Vbi2MsRow.h.
CachedPlane<Complex> casa::ms::Vbi2MsRow::observedCache_p [mutable, private] |
Definition at line 269 of file Vbi2MsRow.h.
CachedColumn<Float> casa::ms::Vbi2MsRow::sigmaCache_p [mutable, private] |
Definition at line 270 of file Vbi2MsRow.h.
CachedPlane<Float> casa::ms::Vbi2MsRow::sigmaSpectrumCache_p [mutable, private] |
Definition at line 271 of file Vbi2MsRow.h.
vi::VisBufferImpl2* casa::ms::Vbi2MsRow::vbi2_p [private] |
Definition at line 283 of file Vbi2MsRow.h.
CachedColumn<Float> casa::ms::Vbi2MsRow::weightCache_p [mutable, private] |
Definition at line 272 of file Vbi2MsRow.h.
CachedPlane<Float> casa::ms::Vbi2MsRow::weightSpectrumCache_p [mutable, private] |
Definition at line 273 of file Vbi2MsRow.h.