28 #ifndef LATTICES_LATTSTATSSPECIALIZE_H 29 #define LATTICES_LATTSTATSSPECIALIZE_H 33 #include <casacore/casa/aips.h> 34 #include <casacore/casa/BasicSL/Complex.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,
static Float getNodeScalarValue(const LatticeExprNode &node, Float)
std::complex< Float > Complex
static Float usePixelExc(Float dMin, Float dMax, Float datum)
LatticeExprNode sum(const LatticeExprNode &expr)
static Bool setIncludeExclude(String &errorMessage, Vector< Float > &range, Bool &noInclude, Bool &noExclude, const Vector< Float > &include, const Vector< Float > &exclude)
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)
this file contains all the compiler specific defines