25#ifndef SCIMATH_STATISTICSTYPES_H
26#define SCIMATH_STATISTICSTYPES_H
28#include <casacore/casa/aips.h>
36 template <class AccumType, class DataIterator, class MaskIterator, class WeightsIterator>
37#define CASA_STATP AccumType, DataIterator, MaskIterator, WeightsIterator
38#define CASA_STATQ DataIterator, MaskIterator, WeightsIterator
45#define DataArray std::vector<AccumType>
46#define DataRanges std::vector<std::pair<AccumType, AccumType>>
47#define IncludeLimits std::vector<std::pair<AccumType, AccumType>>
52template <
class AccumType>
55 std::shared_ptr<AccumType>
max;
60 std::shared_ptr<AccumType>
min;
73template <
class AccumType>
76template <
class AccumType>
79template <
class AccumType>
84#ifndef CASACORE_NO_AUTO_TEMPLATES
85#include <casacore/scimath/StatsFramework/StatisticsTypes.tcc>
For temporary backward namespace compatibility, use casa as alias for casacore.
StatsData< AccumType > initializeStatsData()
void copy(double *target, int npixels) const
std::pair< Int64, Int64 > LocationType
Record toRecord(const StatsData< AccumType > &stats)
bool Bool
Define the standard types used by Casacore.
std::vector< uInt64 > BinCountArray
std::shared_ptr< AccumType > max
std::shared_ptr< AccumType > median
std::shared_ptr< AccumType > min
std::shared_ptr< AccumType > medAbsDevMed