Go to the documentation of this file.
29 #ifndef SCIMATH_GRIDDER_H
30 #define SCIMATH_GRIDDER_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/casa/Arrays/Array.h>
34 #include <casacore/casa/Arrays/Vector.h>
35 #include <casacore/casa/Arrays/Matrix.h>
45 template <
class Domain,
class Range>
57 const Range&
value) = 0;
111 #ifndef CASACORE_NO_AUTO_TEMPLATES
112 #include <casacore/scimath/Mathematics/Gridder.tcc>
113 #endif //# CASACORE_NO_AUTO_TEMPLATES
A Vector of integers, for indexing into Array<T> objects.
virtual void fillCorrectionVectors()
Vector< Domain > & position(Vector< Domain > &gpos, const Vector< Domain > &pos)
Vector< Int > zeroShapeVec
virtual Bool onGrid(const Vector< Int > &loc, const Vector< Int > &delta)
virtual Bool degrid(const Array< Range > &, const Vector< Domain > &position, Range &value)=0
virtual Range correctionFactor1D(Int loc, Int len)=0
Correction factor for 1 dimension.
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
void setOffset(const Vector< Int > &off)
virtual Bool onGrid(const Vector< Int > &loc)
Gridder(const IPosition &shape, const Vector< Domain > &scale, const Vector< Domain > &offset)
virtual Bool grid(Array< Range > &, const Vector< Domain > &position, const Range &value)=0
this file contains all the compiler specific defines
Vector< Vector< Range > > correctionVectors
A base class for gridding.
template <class T, class U> class vector;
LatticeExprNode floor(const LatticeExprNode &expr)
bool Bool
Define the standard types used by Casacore.
Vector< Int > & location(Vector< Int > &loc, const Vector< Domain > &pos)
virtual Range correct(const IPosition &loc)
virtual Bool onGrid(const Vector< Domain > &pos)
void setOffset(const IPosition &off)
virtual void correctX1D(Vector< Range > &factor, const Int locy)
Return a correction vector in x for loc y.