26 #ifndef SCIMATH_CHAUVENETCRITERIONSTATISTICS_H
27 #define SCIMATH_CHAUVENETCRITERIONSTATISTICS_H
29 #include <casacore/casa/aips.h>
31 #include <casacore/scimath/StatsFramework/ConstrainedRangeStatistics.h>
52 class AccumType,
class DataIterator,
class MaskIterator=
const Bool*,
53 class WeightsIterator=DataIterator
113 #ifndef CASACORE_NO_AUTO_TEMPLATES
114 #include <casacore/scimath/StatsFramework/ChauvenetCriterionStatistics.tcc>
Class to calculate statistics using the so-called Chauvenet criterion.
ChauvenetCriterionStatistics< CASA_STATP > & operator=(const ChauvenetCriterionStatistics< CASA_STATP > &other)
copy semantics
ChauvenetCriterionStatistics(const ChauvenetCriterionStatistics< CASA_STATP > &other)
uInt getNiter() const
get the number of iterations
ChauvenetCriterionStatistics(Double zscore=-1, Int maxIterations=0)
If zscore is not negative, use that value to discard outliers beyond zscore standard deviations from ...
ChauvenetCriterionStatistics()=delete
virtual ~ChauvenetCriterionStatistics()
virtual void reset()
reset object to initial state.
void setCalculateAsAdded(Bool c)
This class does not allow statistics to be calculated as datasets are added, so an exception will be ...
virtual StatisticsData::ALGORITHM algorithm() const
get the algorithm that this object uses for computing stats
virtual StatisticsAlgorithm< CASA_STATP > * clone() const
Clone this instance.
void _setRange()
derived classes need to implement how to set their respective range
Abstract base class for statistics algorithms which are characterized by a range of good values.
ALGORITHM
implemented algorithms
const Double c
Fundamental physical constants (SI units):
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.