Go to the documentation of this file.
26 #ifndef SCIMATH_STATSHISTOGRAM_H
27 #define SCIMATH_STATSHISTOGRAM_H
29 #include <casacore/casa/Utilities/DataType.h>
30 #include <casacore/casa/aips.h>
31 #include <casacore/casa/Exceptions/Error.h>
34 #include <casacore/casa/iosfwd.h>
108 "Logic Error: This version for complex "
109 "data types should never be called"
118 "Logic Error: This version for complex "
119 "data types should never be called"
125 template <
class AccumType>
135 #ifndef CASACORE_NO_AUTO_TEMPLATES
136 #include "StatsHistogram.tcc"
137 #endif //# CASACORE_NO_AUTO_TEMPLATES
static uInt _getUInt(const AccumType &v)
This does the obvious conversions.
void _minMaxIdxRange(Int &minIdx, Int &maxIdx, AccumType value, Bool higher) const
std::complex< Double > DComplex
std::vector< AccumType > _maxBinLimits
maximum values for all bins
uInt getIndex(AccumType value) const
get the index of the bin containing the specified value
AccumType getMaxHistLimit() const
max limit value of entire histogram (ie max limit value of last bin)
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
const std::vector< AccumType > & getMaxBinLimits() const
max limit values for all bins
AccumType getMinHistLimit() const
min limit value of entire histogram (ie min limit value of first bin)
Represents an unfilled histogram with equal width bins for binning used for quantile computations.
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.
std::complex< Float > Complex
ostream & operator<<(ostream &os, const IComplex &)
Show on ostream.
AccumType getBinWidth() const
get the binWidth.
uInt getNBins() const
get the number of bins