28 #ifndef LATTICES_LATTSTATSSPECIALIZE_H
29 #define LATTICES_LATTSTATSSPECIALIZE_H
37 template <
class T>
class Vector;
38 template <
class T>
class Array;
39 template <
class T>
class Lattice;
40 template <
class T>
class MaskedLattice;
41 class LatticeExprNode;
87 const Bool fixedMinMax,
const Float datum,
95 const Int& maxPos,
Bool& minMaxInit,
155 #ifndef CASACORE_NO_AUTO_TEMPLATES
156 #include <casacore/lattices/LatticeMath/LattStatsSpecialize2.tcc>
157 #endif //# CASACORE_NO_AUTO_TEMPLATES
static Float getNodeScalarValue(const LatticeExprNode &node, Float)
A 1-D Specialization of the Array class.
std::vector< double > Vector
std::complex< Float > Complex
static Bool setIncludeExclude(String &errorMessage, Vector< T > &range, Bool &noInclude, Bool &noExclude, const Vector< T > &include, const Vector< T > &exclude)
static Float usePixelExc(Float dMin, Float dMax, Float datum)
LatticeExprNode sum(const LatticeExprNode &expr)
A templated, abstract base class for array-like objects with masks.
static Float max(Float v1, Float v2)
static Double getVariance(Double sum, Double sumsq, Double n)
static void accumulate(Double &nPts, Double &sum, Double &mean, Double &nvariance, Double &variance, Double &sumSq, Float &dataMin, Float &dataMax, Int &minPos, Int &maxPos, Bool &minMaxInit, const Bool fixedMinMax, const Float datum, const uInt &pos, const Float useIt)
!!! WARNING !!! BOTH accumulate() METHODS ARE DEPRECATED AND NO LONGER USED BY CASACORE NOR CASA...
static Bool hasSomePoints(Double npts)
static Float min(Float v1, Float v2)
static void setUseItTrue(Float &useIt)
static Float usePixelInc(Float dMin, Float dMax, Float datum)
std::complex< Double > DComplex
static Double getSigma(Double sum, Double sumsq, Double n)
bool Bool
Define the standard types used by Casacore.
static Bool minMax(Float &dataMin, Float &dataMax, const MaskedLattice< Float > *pLattice, const Vector< Float > &range, Bool noInclude, Bool noExclude)
static Double getMean(Double sum, Double n)
static Double getRms(Double sumsq, Double n)
Bridging class to allow C++ expressions involving lattices.
LatticeExprNode mean(const LatticeExprNode &expr)
String: the storage and methods of handling collections of characters.
LatticeExprNode variance(const LatticeExprNode &expr)
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.