252 template <
typename T>
277 template <
typename T,
typename U>
A Vector of integers, for indexing into Array<T> objects.
casacore::Int feed1() const
void copy(Vbi2MsRow *other, const VisBufferComponents2 &componentsToCopy)
void setTimeCentroid(casacore::Double)
void setProcessorId(casacore::Int)
A 1-D Specialization of the Array class.
const casacore::Matrix< casacore::Float > & weightSpectrum() const
void setFeed1(casacore::Int)
Share means that the Array will just use the pointer (no copy), however the Array will NOT delete it ...
void copyIf(casacore::Bool copyThis, Vbi2MsRow *other, void(Vbi2MsRow::*setter)(T), U(Vbi2MsRow::*getter)() const)
const casacore::Matrix< casacore::Complex > & model() const
const casacore::Vector< casacore::Float > & sigma() const
void configureArrayCaches()
const IPosition & shape() const
The length of each axis of the Matrix.
std::complex< Float > Complex
casacore::Matrix< casacore::Float > & weightSpectrumMutable() const
casacore::Vector< T > & getCachedColumn(casa::vi::VisBufferImpl2 *vb, casacore::Int row)
casacore::uInt row() const
CachedPlane< casacore::Float > sigmaSpectrumCache_p
vi::VisBufferImpl2 * vbi2_p
void setScanNumber(casacore::Int)
casacore::Vector< casacore::Float > & weightMutable() const
CachedColumn(Accessor accessor)
casacore::Matrix< casacore::Complex > & observedMutable()
void setAntenna1(casacore::Int)
void setRowId(casacore::Int)
const IPosition & shape() const
The length of each axis of the cube.
casacore::Int correlationType() const
A 3-D Specialization of the Array class.
Vbi2MsRow(casacore::Int row, const vi::VisBufferImpl2 *vb)
Constructors.
casacore::Vector< casacore::Float > & sigmaMutable() const
void setFlags(const casacore::Matrix< casacore::Bool > &flags)
const casacore::Matrix< casacore::Complex > & observed() const
std::vector< CachedArrayBase * > arrayCaches_p
CachedPlane< casacore::Bool > flagCache_p
CachedColumn< casacore::Float > weightCache_p
A 2-D Specialization of the Array class.
const casacore::Vector< casacore::Float > & weight() const
void setFieldId(casacore::Int)
casacore::Int spectralWindow() const
void setSigmaSpectrum(casacore::Int correlation, casacore::Int channel, casacore::Float value)
casacore::Int fieldId() const
void setCorrelationType(casacore::Int)
void setFeed2(casacore::Int)
casacore::Matrix< casacore::Complex > & modelMutable()
const casacore::Vector< casacore::Double > uvw() const
void setSpectralWindow(casacore::Int)
void setUvw(const casacore::Vector< casacore::Double > &)
casacore::Matrix< T > & getCachedPlane(casa::vi::VisBufferImpl2 *vb, casacore::Int row)
static void referenceMatrix(casacore::Matrix< T > &cache, const casacore::Cube< T > &src, casacore::Int row)
casacore::Int feed2() const
CachedPlane< casacore::Complex > correctedCache_p
void setAntenna2(casacore::Int)
void setModel(casacore::Int correlation, casacore::Int channel, const casacore::Complex &value)
void setCorrected(casacore::Int correlation, casacore::Int channel, const casacore::Complex &value)
void setWeightSpectrum(casacore::Int correlation, casacore::Int channel, casacore::Float value)
casacore::Matrix< T > cache_p
void setWeight(casacore::Int correlation, casacore::Float value)
void setSingleDishData(casacore::Int correlation, casacore::Int channel, const casacore::Float &value)
casacore::Double exposure() const
casacore::Matrix< casacore::Float > & sigmaSpectrumMutable() const
void setExposure(casacore::Double)
casacore::Int stateId() const
casacore::Double time() const
casacore::Int arrayId() const
void setDataDescriptionId(casacore::Int)
CachedPlane< casacore::Float > weightSpectrumCache_p
void setTime(casacore::Double)
CachedPlane< casacore::Complex > observedCache_p
const casacore::Matrix< casacore::Complex > & corrected() const
const casacore::Matrix< casacore::Float > singleDishData() const
void setStateId(casacore::Int)
const casacore::Cube< T > &(casa::vi::VisBufferImpl2::* Accessor)() const
bool Bool
Define the standard types used by Casacore.
void setRowFlag(casacore::Bool isFlagged)
void setObservationId(casacore::Int)
CachedColumn< casacore::Float > sigmaCache_p
casacore::Int observationId() const
CachedPlane(Accessor accessor)
vi::VisBufferImpl2 * getVbi() const
TableExprNode shape(const TableExprNode &array)
Function operating on any scalar or array resulting in a Double array containing the shape...
casacore::Int antenna1() const
casacore::Bool isRowFlagged() const
casacore::Double interval() const
casacore::Double timeCentroid() const
void setObserved(casacore::Int correlation, casacore::Int channel, const casacore::Complex &value)
casacore::Bool isCached() const
virtual void takeStorage(const IPosition &shape, T *storage, StorageInitPolicy policy=COPY)
Replace the data values with those in the pointer storage.
void addToCachedArrays(T &cachedArray)
void setInterval(casacore::Double)
casacore::Int rowId() const
casacore::Int dataDescriptionId() const
void changeRow(casacore::Int row)
casacore::Matrix< casacore::Bool > & flagsMutable()
CachedPlane< casacore::Complex > modelCache_p
casacore::Int scanNumber() const
void resize(uInt newSize, Bool copy=True)
Old values are copied on resize if copy==True.
virtual ~CachedArrayBase()
const casacore::Matrix< casacore::Float > & sigmaSpectrum() const
vi::VisBuffer2 * vb() const
static void referenceVector(casacore::Vector< T > &cache, const casacore::Matrix< T > &src, casacore::Int row)
casacore::Int processorId() const
void setArrayId(casacore::Int)
casacore::Int antenna2() const
This class encapsulates an enum with values corresponding to the various data components accessible v...
const casacore::Matrix< T > &(casa::vi::VisBufferImpl2::* Accessor)() const
VisBufferImpls encapsulate one chunk of visibility data for processing.
casacore::Bool isFlagged(casacore::Int correlation, casacore::Int channel) const
casacore::Matrix< casacore::Float > singleDishDataMutable()
const casacore::Matrix< casacore::Bool > & flags() const
casacore::Matrix< casacore::Complex > & correctedMutable()
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
void setSigma(casacore::Int correlation, casacore::Float value)
casacore::Vector< T > cache_p