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

#include <Vbi2MsRow.h>

Inheritance diagram for casa::ms::Vbi2MsRow:
casa::ms::MsRow

Public Member Functions

 Vbi2MsRow (casacore::Int row, const vi::VisBufferImpl2 *vb)
 Constructors. More...
 
 Vbi2MsRow (casacore::Int row, vi::VisBufferImpl2 *vb)
 Constructor for read/write access. More...
 
virtual ~Vbi2MsRow ()
 
void changeRow (casacore::Int row)
 
void copy (Vbi2MsRow *other, const VisBufferComponents2 &componentsToCopy)
 
casacore::Int antenna1 () const
 
casacore::Int antenna2 () const
 
casacore::Int arrayId () const
 
casacore::Int correlationType () const
 
casacore::Int dataDescriptionId () const
 
casacore::Int feed1 () const
 
casacore::Int feed2 () const
 
casacore::Int fieldId () const
 
casacore::Int observationId () const
 
casacore::Int rowId () const
 
casacore::Int processorId () const
 
casacore::Int scanNumber () const
 
casacore::Int stateId () const
 
casacore::Double exposure () const
 
casacore::Double interval () const
 
casacore::Int spectralWindow () const
 
casacore::Double time () const
 
casacore::Double timeCentroid () const
 
void setAntenna1 (casacore::Int)
 
void setAntenna2 (casacore::Int)
 
void setArrayId (casacore::Int)
 
void setCorrelationType (casacore::Int)
 
void setDataDescriptionId (casacore::Int)
 
void setFeed1 (casacore::Int)
 
void setFeed2 (casacore::Int)
 
void setFieldId (casacore::Int)
 
void setObservationId (casacore::Int)
 
void setProcessorId (casacore::Int)
 
void setRowId (casacore::Int)
 
void setScanNumber (casacore::Int)
 
void setStateId (casacore::Int)
 
void setExposure (casacore::Double)
 
void setInterval (casacore::Double)
 
void setSpectralWindow (casacore::Int)
 
void setTime (casacore::Double)
 
void setTimeCentroid (casacore::Double)
 
const casacore::Vector
< casacore::Double
uvw () const
 
const casacore::Doubleuvw (casacore::Int i) const
 
void setUvw (const casacore::Vector< casacore::Double > &)
 
void setUvw (casacore::Int i, const casacore::Vector< casacore::Double > &)
 
const casacore::Complex & corrected (casacore::Int correlation, casacore::Int channel) const
 
const casacore::Matrix
< casacore::Complex > & 
corrected () const
 
casacore::Matrix
< casacore::Complex > & 
correctedMutable ()
 
void setCorrected (casacore::Int correlation, casacore::Int channel, const casacore::Complex &value)
 
void setCorrected (const casacore::Matrix< casacore::Complex > &value)
 
const casacore::Complex & model (casacore::Int correlation, casacore::Int channel) const
 
const casacore::Matrix
< casacore::Complex > & 
model () const
 
casacore::Matrix
< casacore::Complex > & 
modelMutable ()
 
void setModel (casacore::Int correlation, casacore::Int channel, const casacore::Complex &value)
 
void setModel (const casacore::Matrix< casacore::Complex > &value)
 
const casacore::Complex & observed (casacore::Int correlation, casacore::Int channel) const
 
const casacore::Matrix
< casacore::Complex > & 
observed () const
 
casacore::Matrix
< casacore::Complex > & 
observedMutable ()
 
void setObserved (casacore::Int correlation, casacore::Int channel, const casacore::Complex &value)
 
void setObserved (const casacore::Matrix< casacore::Complex > &value)
 
const casacore::FloatsingleDishData (casacore::Int correlation, casacore::Int channel) const
 
const casacore::Matrix
< casacore::Float
singleDishData () const
 
casacore::Matrix< casacore::FloatsingleDishDataMutable ()
 
void setSingleDishData (casacore::Int correlation, casacore::Int channel, const casacore::Float &value)
 
void setSingleDishData (const casacore::Matrix< casacore::Float > &value)
 
casacore::Float sigma (casacore::Int correlation) const
 
const casacore::Vector
< casacore::Float > & 
sigma () const
 
casacore::Vector
< casacore::Float > & 
sigmaMutable () const
 
void setSigma (casacore::Int correlation, casacore::Float value)
 
void setSigma (const casacore::Vector< casacore::Float > &value)
 
casacore::Float weight (casacore::Int correlation) const
 
const casacore::Vector
< casacore::Float > & 
weight () const
 
casacore::Vector
< casacore::Float > & 
weightMutable () const
 
void setWeight (casacore::Int correlation, casacore::Float value)
 
void setWeight (const casacore::Vector< casacore::Float > &value)
 
casacore::Float weightSpectrum (casacore::Int correlation, casacore::Int channel) const
 
void setWeightSpectrum (casacore::Int correlation, casacore::Int channel, casacore::Float value)
 
void setWeightSpectrum (const casacore::Matrix< casacore::Float > &value)
 
const casacore::Matrix
< casacore::Float > & 
weightSpectrum () const
 
casacore::Matrix
< casacore::Float > & 
weightSpectrumMutable () const
 
casacore::Float sigmaSpectrum (casacore::Int correlation, casacore::Int channel) const
 
const casacore::Matrix
< casacore::Float > & 
sigmaSpectrum () const
 
casacore::Matrix
< casacore::Float > & 
sigmaSpectrumMutable () const
 
void setSigmaSpectrum (casacore::Int correlation, casacore::Int channel, casacore::Float value)
 
void setSigmaSpectrum (const casacore::Matrix< casacore::Float > &value)
 
casacore::Bool isRowFlagged () const
 
const casacore::Matrix
< casacore::Bool > & 
flags () const
 
void setFlags (const casacore::Matrix< casacore::Bool > &flags)
 
casacore::Bool isFlagged (casacore::Int correlation, casacore::Int channel) const
 
void setRowFlag (casacore::Bool isFlagged)
 
void setFlags (casacore::Bool isFlagged, casacore::Int correlation, casacore::Int channel)
 
- Public Member Functions inherited from casa::ms::MsRow
 MsRow (casacore::Int row, const vi::VisBuffer2 *vb)
 Constructors. More...
 
 MsRow (casacore::Int row, vi::VisBuffer2 *vb)
 Constructor for read/write access. More...
 
virtual ~MsRow ()
 

Protected Member Functions

template<typename T >
void addToCachedArrays (T &cachedArray)
 
void clearArrayCaches ()
 
casacore::Matrix
< casacore::Bool > & 
flagsMutable ()
 
vi::VisBufferImpl2getVbi () const
 
- Protected Member Functions inherited from casa::ms::MsRow
casacore::Bool isWritable () const
 
casacore::uInt row () const
 
vi::VisBuffer2vb () const
 

Private Member Functions

void configureArrayCaches ()
 
template<typename T , typename U >
void copyIf (casacore::Bool copyThis, Vbi2MsRow *other, void(Vbi2MsRow::*setter)(T), U(Vbi2MsRow::*getter)() const)
 

Private Attributes

CachedPlane< casacore::Complex > correctedCache_p
 
CachedPlane< casacore::BoolflagCache_p
 
CachedPlane< casacore::Complex > modelCache_p
 
CachedPlane< casacore::Complex > observedCache_p
 
CachedColumn< casacore::FloatsigmaCache_p
 
CachedPlane< casacore::FloatsigmaSpectrumCache_p
 
CachedColumn< casacore::FloatweightCache_p
 
CachedPlane< casacore::FloatweightSpectrumCache_p
 
std::vector< CachedArrayBase * > arrayCaches_p
 
vi::VisBufferImpl2vbi2_p
 

Detailed Description

Definition at line 133 of file Vbi2MsRow.h.

Constructor & Destructor Documentation

casa::ms::Vbi2MsRow::Vbi2MsRow ( casacore::Int  row,
const vi::VisBufferImpl2 vb 
)

Constructors.

Constructor for read-only access. Attempt to write will throw exception.

casa::ms::Vbi2MsRow::Vbi2MsRow ( casacore::Int  row,
vi::VisBufferImpl2 vb 
)

Constructor for read/write access.

virtual casa::ms::Vbi2MsRow::~Vbi2MsRow ( )
inlinevirtual

Definition at line 148 of file Vbi2MsRow.h.

Member Function Documentation

template<typename T >
void casa::ms::Vbi2MsRow::addToCachedArrays ( T &  cachedArray)
inlineprotected

Definition at line 253 of file Vbi2MsRow.h.

References arrayCaches_p.

casacore::Int casa::ms::Vbi2MsRow::antenna1 ( ) const
virtual

Implements casa::ms::MsRow.

casacore::Int casa::ms::Vbi2MsRow::antenna2 ( ) const
virtual

Implements casa::ms::MsRow.

casacore::Int casa::ms::Vbi2MsRow::arrayId ( ) const
virtual

Implements casa::ms::MsRow.

void casa::ms::Vbi2MsRow::changeRow ( casacore::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 
)
template<typename T , typename U >
void casa::ms::Vbi2MsRow::copyIf ( casacore::Bool  copyThis,
Vbi2MsRow other,
void(Vbi2MsRow::*)(T)  setter,
U(Vbi2MsRow::*)() const  getter 
)
private
const casacore::Complex& casa::ms::Vbi2MsRow::corrected ( casacore::Int  correlation,
casacore::Int  channel 
) const
virtual

Implements casa::ms::MsRow.

const casacore::Matrix<casacore::Complex>& casa::ms::Vbi2MsRow::corrected ( ) const
virtual

Implements casa::ms::MsRow.

casacore::Matrix<casacore::Complex>& casa::ms::Vbi2MsRow::correctedMutable ( )
casacore::Int casa::ms::Vbi2MsRow::correlationType ( ) const
virtual

Implements casa::ms::MsRow.

casacore::Int casa::ms::Vbi2MsRow::dataDescriptionId ( ) const
virtual

Implements casa::ms::MsRow.

casacore::Double casa::ms::Vbi2MsRow::exposure ( ) const
virtual

Implements casa::ms::MsRow.

casacore::Int casa::ms::Vbi2MsRow::feed1 ( ) const
virtual

Implements casa::ms::MsRow.

casacore::Int casa::ms::Vbi2MsRow::feed2 ( ) const
virtual

Implements casa::ms::MsRow.

casacore::Int casa::ms::Vbi2MsRow::fieldId ( ) const
virtual

Implements casa::ms::MsRow.

const casacore::Matrix<casacore::Bool>& casa::ms::Vbi2MsRow::flags ( ) const
virtual

Implements casa::ms::MsRow.

casacore::Matrix<casacore::Bool>& casa::ms::Vbi2MsRow::flagsMutable ( )
protected
vi::VisBufferImpl2* casa::ms::Vbi2MsRow::getVbi ( ) const
protected
casacore::Double casa::ms::Vbi2MsRow::interval ( ) const
virtual

Implements casa::ms::MsRow.

casacore::Bool casa::ms::Vbi2MsRow::isFlagged ( casacore::Int  correlation,
casacore::Int  channel 
) const
virtual

Implements casa::ms::MsRow.

casacore::Bool casa::ms::Vbi2MsRow::isRowFlagged ( ) const
virtual

Implements casa::ms::MsRow.

const casacore::Complex& casa::ms::Vbi2MsRow::model ( casacore::Int  correlation,
casacore::Int  channel 
) const
virtual

Implements casa::ms::MsRow.

const casacore::Matrix<casacore::Complex>& casa::ms::Vbi2MsRow::model ( ) const
virtual

Implements casa::ms::MsRow.

casacore::Matrix<casacore::Complex>& casa::ms::Vbi2MsRow::modelMutable ( )
casacore::Int casa::ms::Vbi2MsRow::observationId ( ) const
virtual

Implements casa::ms::MsRow.

const casacore::Complex& casa::ms::Vbi2MsRow::observed ( casacore::Int  correlation,
casacore::Int  channel 
) const
virtual

Implements casa::ms::MsRow.

const casacore::Matrix<casacore::Complex>& casa::ms::Vbi2MsRow::observed ( ) const
virtual

Implements casa::ms::MsRow.

casacore::Matrix<casacore::Complex>& casa::ms::Vbi2MsRow::observedMutable ( )
casacore::Int casa::ms::Vbi2MsRow::processorId ( ) const
virtual

Implements casa::ms::MsRow.

casacore::Int casa::ms::Vbi2MsRow::rowId ( ) const
virtual

Implements casa::ms::MsRow.

casacore::Int casa::ms::Vbi2MsRow::scanNumber ( ) const
virtual

Implements casa::ms::MsRow.

void casa::ms::Vbi2MsRow::setAntenna1 ( casacore::Int  )
virtual

Implements casa::ms::MsRow.

void casa::ms::Vbi2MsRow::setAntenna2 ( casacore::Int  )
virtual

Implements casa::ms::MsRow.

void casa::ms::Vbi2MsRow::setArrayId ( casacore::Int  )
virtual

Implements casa::ms::MsRow.

void casa::ms::Vbi2MsRow::setCorrected ( casacore::Int  correlation,
casacore::Int  channel,
const casacore::Complex &  value 
)
virtual

Implements casa::ms::MsRow.

void casa::ms::Vbi2MsRow::setCorrected ( const casacore::Matrix< casacore::Complex > &  value)
virtual

Implements casa::ms::MsRow.

void casa::ms::Vbi2MsRow::setCorrelationType ( casacore::Int  )
virtual

Implements casa::ms::MsRow.

void casa::ms::Vbi2MsRow::setDataDescriptionId ( casacore::Int  )
virtual

Implements casa::ms::MsRow.

void casa::ms::Vbi2MsRow::setExposure ( casacore::Double  )
virtual

Implements casa::ms::MsRow.

void casa::ms::Vbi2MsRow::setFeed1 ( casacore::Int  )
virtual

Implements casa::ms::MsRow.

void casa::ms::Vbi2MsRow::setFeed2 ( casacore::Int  )
virtual

Implements casa::ms::MsRow.

void casa::ms::Vbi2MsRow::setFieldId ( casacore::Int  )
virtual

Implements casa::ms::MsRow.

void casa::ms::Vbi2MsRow::setFlags ( const casacore::Matrix< casacore::Bool > &  flags)
virtual

Implements casa::ms::MsRow.

void casa::ms::Vbi2MsRow::setFlags ( casacore::Bool  isFlagged,
casacore::Int  correlation,
casacore::Int  channel 
)
virtual

Implements casa::ms::MsRow.

void casa::ms::Vbi2MsRow::setInterval ( casacore::Double  )
virtual

Implements casa::ms::MsRow.

void casa::ms::Vbi2MsRow::setModel ( casacore::Int  correlation,
casacore::Int  channel,
const casacore::Complex &  value 
)
virtual

Implements casa::ms::MsRow.

void casa::ms::Vbi2MsRow::setModel ( const casacore::Matrix< casacore::Complex > &  value)
virtual

Implements casa::ms::MsRow.

void casa::ms::Vbi2MsRow::setObservationId ( casacore::Int  )
virtual

Implements casa::ms::MsRow.

void casa::ms::Vbi2MsRow::setObserved ( casacore::Int  correlation,
casacore::Int  channel,
const casacore::Complex &  value 
)
virtual

Implements casa::ms::MsRow.

void casa::ms::Vbi2MsRow::setObserved ( const casacore::Matrix< casacore::Complex > &  value)
virtual

Implements casa::ms::MsRow.

void casa::ms::Vbi2MsRow::setProcessorId ( casacore::Int  )
virtual

Implements casa::ms::MsRow.

void casa::ms::Vbi2MsRow::setRowFlag ( casacore::Bool  isFlagged)
virtual

Implements casa::ms::MsRow.

void casa::ms::Vbi2MsRow::setRowId ( casacore::Int  )
virtual

Implements casa::ms::MsRow.

void casa::ms::Vbi2MsRow::setScanNumber ( casacore::Int  )
virtual

Implements casa::ms::MsRow.

void casa::ms::Vbi2MsRow::setSigma ( casacore::Int  correlation,
casacore::Float  value 
)
virtual

Implements casa::ms::MsRow.

void casa::ms::Vbi2MsRow::setSigma ( const casacore::Vector< casacore::Float > &  value)
virtual

Implements casa::ms::MsRow.

void casa::ms::Vbi2MsRow::setSigmaSpectrum ( casacore::Int  correlation,
casacore::Int  channel,
casacore::Float  value 
)
void casa::ms::Vbi2MsRow::setSigmaSpectrum ( const casacore::Matrix< casacore::Float > &  value)
void casa::ms::Vbi2MsRow::setSingleDishData ( casacore::Int  correlation,
casacore::Int  channel,
const casacore::Float value 
)
virtual

Implements casa::ms::MsRow.

void casa::ms::Vbi2MsRow::setSingleDishData ( const casacore::Matrix< casacore::Float > &  value)
virtual

Implements casa::ms::MsRow.

void casa::ms::Vbi2MsRow::setSpectralWindow ( casacore::Int  )
void casa::ms::Vbi2MsRow::setStateId ( casacore::Int  )
virtual

Implements casa::ms::MsRow.

void casa::ms::Vbi2MsRow::setTime ( casacore::Double  )
virtual

Implements casa::ms::MsRow.

void casa::ms::Vbi2MsRow::setTimeCentroid ( casacore::Double  )
virtual

Implements casa::ms::MsRow.

void casa::ms::Vbi2MsRow::setUvw ( const casacore::Vector< casacore::Double > &  )
virtual

Implements casa::ms::MsRow.

void casa::ms::Vbi2MsRow::setUvw ( casacore::Int  i,
const casacore::Vector< casacore::Double > &   
)
void casa::ms::Vbi2MsRow::setWeight ( casacore::Int  correlation,
casacore::Float  value 
)
virtual

Implements casa::ms::MsRow.

void casa::ms::Vbi2MsRow::setWeight ( const casacore::Vector< casacore::Float > &  value)
virtual

Implements casa::ms::MsRow.

void casa::ms::Vbi2MsRow::setWeightSpectrum ( casacore::Int  correlation,
casacore::Int  channel,
casacore::Float  value 
)
void casa::ms::Vbi2MsRow::setWeightSpectrum ( const casacore::Matrix< casacore::Float > &  value)
casacore::Float casa::ms::Vbi2MsRow::sigma ( casacore::Int  correlation) const
virtual

Implements casa::ms::MsRow.

const casacore::Vector<casacore::Float>& casa::ms::Vbi2MsRow::sigma ( ) const
virtual

Implements casa::ms::MsRow.

casacore::Vector<casacore::Float>& casa::ms::Vbi2MsRow::sigmaMutable ( ) const
casacore::Float casa::ms::Vbi2MsRow::sigmaSpectrum ( casacore::Int  correlation,
casacore::Int  channel 
) const
virtual

Implements casa::ms::MsRow.

const casacore::Matrix<casacore::Float>& casa::ms::Vbi2MsRow::sigmaSpectrum ( ) const
virtual

Implements casa::ms::MsRow.

casacore::Matrix<casacore::Float>& casa::ms::Vbi2MsRow::sigmaSpectrumMutable ( ) const
const casacore::Float& casa::ms::Vbi2MsRow::singleDishData ( casacore::Int  correlation,
casacore::Int  channel 
) const
virtual

Implements casa::ms::MsRow.

const casacore::Matrix<casacore::Float> casa::ms::Vbi2MsRow::singleDishData ( ) const
virtual

Implements casa::ms::MsRow.

casacore::Matrix<casacore::Float> casa::ms::Vbi2MsRow::singleDishDataMutable ( )
casacore::Int casa::ms::Vbi2MsRow::spectralWindow ( ) const
virtual

Implements casa::ms::MsRow.

casacore::Int casa::ms::Vbi2MsRow::stateId ( ) const
virtual

Implements casa::ms::MsRow.

casacore::Double casa::ms::Vbi2MsRow::time ( ) const
virtual

Implements casa::ms::MsRow.

casacore::Double casa::ms::Vbi2MsRow::timeCentroid ( ) const
virtual

Implements casa::ms::MsRow.

const casacore::Vector<casacore::Double> casa::ms::Vbi2MsRow::uvw ( ) const
virtual

Implements casa::ms::MsRow.

const casacore::Double& casa::ms::Vbi2MsRow::uvw ( casacore::Int  i) const
casacore::Float casa::ms::Vbi2MsRow::weight ( casacore::Int  correlation) const
virtual

Implements casa::ms::MsRow.

const casacore::Vector<casacore::Float>& casa::ms::Vbi2MsRow::weight ( ) const
virtual

Implements casa::ms::MsRow.

casacore::Vector<casacore::Float>& casa::ms::Vbi2MsRow::weightMutable ( ) const
casacore::Float casa::ms::Vbi2MsRow::weightSpectrum ( casacore::Int  correlation,
casacore::Int  channel 
) const
virtual

Implements casa::ms::MsRow.

const casacore::Matrix<casacore::Float>& casa::ms::Vbi2MsRow::weightSpectrum ( ) const
virtual

Implements casa::ms::MsRow.

casacore::Matrix<casacore::Float>& casa::ms::Vbi2MsRow::weightSpectrumMutable ( ) const

Member Data Documentation

std::vector<CachedArrayBase *> casa::ms::Vbi2MsRow::arrayCaches_p
private

Definition at line 275 of file Vbi2MsRow.h.

Referenced by addToCachedArrays().

CachedPlane<casacore::Complex> casa::ms::Vbi2MsRow::correctedCache_p
mutableprivate

Definition at line 266 of file Vbi2MsRow.h.

CachedPlane<casacore::Bool> casa::ms::Vbi2MsRow::flagCache_p
mutableprivate

Definition at line 267 of file Vbi2MsRow.h.

CachedPlane<casacore::Complex> casa::ms::Vbi2MsRow::modelCache_p
mutableprivate

Definition at line 268 of file Vbi2MsRow.h.

CachedPlane<casacore::Complex> casa::ms::Vbi2MsRow::observedCache_p
mutableprivate

Definition at line 269 of file Vbi2MsRow.h.

CachedColumn<casacore::Float> casa::ms::Vbi2MsRow::sigmaCache_p
mutableprivate

Definition at line 270 of file Vbi2MsRow.h.

CachedPlane<casacore::Float> casa::ms::Vbi2MsRow::sigmaSpectrumCache_p
mutableprivate

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<casacore::Float> casa::ms::Vbi2MsRow::weightCache_p
mutableprivate

Definition at line 272 of file Vbi2MsRow.h.

CachedPlane<casacore::Float> casa::ms::Vbi2MsRow::weightSpectrumCache_p
mutableprivate

Definition at line 273 of file Vbi2MsRow.h.


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