71 virtual void reset() = 0;
72 virtual void next() = 0;
96 cube_p.reference(dataCube);
103 cube_p.reference(dataCube);
251 std::map<casacore::MS::PredefinedColumns, DataCubeHolderBase*>
dataCubeMap_p;
262 return weight > FLT_MIN ? 1.0 /
std::sqrt (weight) : -1.0;
267 return sigma > FLT_MIN ? 1.0 / (sigma * sigma) : 0.0;
A Vector of integers, for indexing into Array<T> objects.
virtual void setupVecIter()
Methods controlling iteration gmoellen (2017Mar06)
A 1-D Specialization of the Array class.
casacore::Float sigmaToWeight(casacore::Float sigma)
virtual void setupVecIter()
Methods controlling internal iteration gmoellen (2017Mar06)
casacore::Bool present(casacore::MS::PredefinedColumns key)
casacore::IPosition vectorShape_p
virtual casacore::Bool pastEnd()=0
casacore::IPosition & getMatrixShape()
casacore::Cube< T > cube_p
DataCubeHolderBase * selfReference()
void accumulateWeightMatrix(const casacore::Matrix< casacore::Float > &weightMatrix, const casacore::Matrix< casacore::Bool > &flags, casacore::Vector< casacore::Float > &result)
casacore::Matrix< T > matrix_p
casacore::uInt matrixIndex_p
casacore::IPosition & getCubeShape()
DataCubeHolder(const casacore::Matrix< T > &dataMatrix)
A 3-D Specialization of the Array class.
casacore::VectorIterator< T > * veciter_p
Iterator for cube_p gmoellen (2017Mar06)
void setMatrixIndex(casacore::uInt rowIndex)
A 2-D Specialization of the Array class.
casacore::Matrix< T > & getMatrix()
casacore::IPosition & getVectorShape()
PredefinedColumns
The Main table colums with predefined meaning.
virtual void setupVecIter()=0
Methods controlling internal iteration gmoellen (2017Mar06)
casacore::uInt getMatrixIndex()
void setMatrixIndex(casacore::uInt matrixIndex)
casacore::IPosition matrixShape_p
casacore::IPosition & getMatrixShape()
void accumulateWeightCube(const casacore::Cube< casacore::Float > &weightCube, const casacore::Cube< casacore::Bool > &flags, casacore::Matrix< casacore::Float > &result)
virtual ~DataCubeHolder()
Destructor must delete the iterator gmoellen (2017Mar06)
virtual ~DataCubeHolderBase()
DataCubeHolder(casacore::Cube< T > &dataCube)
virtual void reset()
NB: the reference calls below can be avoided if vector_p is a _c++_ reference initialzed in the DCH c...
void accumulateFlagCube(const casacore::Cube< casacore::Bool > &flagCube, casacore::Vector< casacore::Bool > &flagRow)
virtual void setMatrixIndex(casacore::uInt matrixIndex)=0
casacore::IPosition & getVectorShape()
std::map< casacore::MS::PredefinedColumns, DataCubeHolderBase * >::iterator dataCubeMapIter_p
virtual casacore::Bool pastEnd()
LatticeExprNode sqrt(const LatticeExprNode &expr)
bool Bool
Define the standard types used by Casacore.
Convenience methods *casacore::Float weightToSigma(casacore::Float weight)
std::map< casacore::MS::PredefinedColumns, DataCubeHolderBase * > dataCubeMap_p
DataCubeHolder(casacore::Vector< T > &dataVector)
virtual DataCubeHolderBase * selfReference()=0
DataCubeHolder(casacore::Matrix< T > &dataMatrix)
casacore::Vector< T > & getVector()
casacore::uInt vectorIndex_p
Iterate an Vector cursor through another Array.
casacore::uInt getVectorIndex()
void add(casacore::MS::PredefinedColumns key, DataCubeHolderBase *dataCubeHolder)
DataCubeHolder(const casacore::Vector< T > &dataVector)
casacore::Vector< T > vector_p
virtual void setVectorIndex(casacore::uInt vectorIndex)=0
casacore::IPosition cubeShape_p
casacore::IPosition & getCubeShape()
void setVectorIndex(casacore::uInt vectorIndex)
casacore::Matrix< T > & getMatrix(casacore::MS::PredefinedColumns key)
void setVectorIndex(casacore::uInt vectorIndex)
DataCubeHolder(const casacore::Cube< T > &dataCube)
casacore::Vector< T > & getVector(casacore::MS::PredefinedColumns key)