28 #ifndef LATTICES_LATTICEMATHUTIL_H
29 #define LATTICES_LATTICEMATHUTIL_H
36 template <
class T>
class Array;
37 template <
class T>
class Lattice;
38 template <
class T>
class MaskedLattice;
39 template <
class T>
class MaskedArray;
79 Bool dropDegenerateAxes);
90 Bool dropDegenerateAxes,
153 #ifndef CASACORE_NO_AUTO_TEMPLATES
154 #include <casacore/lattices/LatticeMath/LatticeMathUtil.tcc>
155 #endif //# CASACORE_NO_AUTO_TEMPLATES
A Vector of integers, for indexing into Array<T> objects.
LatticeExprNode mask(const LatticeExprNode &expr)
This function returns the mask of the given expression.
LatticeExprNode max(const LatticeExprNode &left, const LatticeExprNode &right)
A templated, abstract base class for array-like objects with masks.
ABSTRACT CLASSES Deliberately vague to be general enough to allow for many different types of data
A templated, abstract base class for array-like objects.
LatticeExprNode min(const LatticeExprNode &left, const LatticeExprNode &right)
void getMask(size_t const num_mask, bool mask[], std::list< std::pair< size_t, size_t >> &ranges, bool invert=false, bool initialize=true)
bool Bool
Define the standard types used by Casacore.
void minMax(T &min, T &max, const TableVector< T > &tv)
StatisticsTypes
This enum StatisticTypes is provided for use with the LatticeStatistics<T>::setPlotting function...
template <class T, class U> class vector;
static void collapse(Array< T > &data, const IPosition &axes, const MaskedLattice< T > &in, Bool dropDegenerateAxes)
Collapse the specified axes by averaging and recover the pixel values.
Static math functions for Lattices.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.