Go to the documentation of this file.
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,
155 #ifndef CASACORE_NO_AUTO_TEMPLATES
156 #include <casacore/lattices/LatticeMath/LattStatsSpecialize2.tcc>
157 #endif //# CASACORE_NO_AUTO_TEMPLATES
static Float max(Float v1, Float v2)
static Double getRms(Double sumsq, Double n)
LatticeExprNode variance(const LatticeExprNode &expr)
A templated, abstract base class for array-like objects with masks.
std::complex< Double > DComplex
static Bool hasSomePoints(Double npts)
static Float usePixelExc(Float dMin, Float dMax, Float datum)
static Float min(Float v1, Float v2)
LatticeExprNode mean(const LatticeExprNode &expr)
static Float usePixelInc(Float dMin, Float dMax, Float datum)
static Double getMean(Double sum, Double n)
static void setUseItTrue(Float &useIt)
static Bool minMax(Float &dataMin, Float &dataMax, const MaskedLattice< Float > *pLattice, const Vector< Float > &range, Bool noInclude, Bool noExclude)
this file contains all the compiler specific defines
Bridging class to allow C++ expressions involving lattices.
static Float getNodeScalarValue(const LatticeExprNode &node, Float)
LatticeExprNode sum(const LatticeExprNode &expr)
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 setIncludeExclude(String &errorMessage, Vector< T > &range, Bool &noInclude, Bool &noExclude, const Vector< T > &include, const Vector< T > &exclude)
String: the storage and methods of handling collections of characters.
bool Bool
Define the standard types used by Casacore.
std::complex< Float > Complex
A 1-D Specialization of the Array class.
static Double getSigma(Double sum, Double sumsq, Double n)
static Double getVariance(Double sum, Double sumsq, Double n)