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>
47template <
class AccumType>
100 "Logic Error: This version for complex "
101 "data types should never be called");
107 "Logic Error: This version for complex "
108 "data types should never be called");
113template <
class AccumType>
122#ifndef CASACORE_NO_AUTO_TEMPLATES
123#include "StatsHistogram.tcc"
Represents an unfilled histogram with equal width bins for binning used for quantile computations.
std::vector< AccumType > _maxBinLimits
maximum values for all bins
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)
AccumType getMaxHistLimit() const
max limit value of entire histogram (ie max limit value of last bin)
static uInt _getUInt(const AccumType &v)
This does the obvious conversions.
uInt getNBins() const
get the number of bins
uInt getIndex(AccumType value) const
get the index of the bin containing the specified value
StatsHistogram(AccumType minLimit, AccumType maxLimit, uInt nBins)
Construct a histogram by specifying its minimum and maximum values and the number of desired bins.
void _minMaxIdxRange(Int &minIdx, Int &maxIdx, AccumType value, Bool higher) const
AccumType getBinWidth() const
get the binWidth.
For temporary backward namespace compatibility, use casa as alias for casacore.
ostream & operator<<(ostream &os, const IComplex &)
Show on ostream.
bool Bool
Define the standard types used by Casacore.
NewDelAllocator< T > NewDelAllocator< T >::value