|
| ClassicalQuantileComputer ()=delete |
|
| ClassicalQuantileComputer (StatisticsDataset< CASA_STATP > *dataset) |
|
| ClassicalQuantileComputer (const ClassicalQuantileComputer &other) |
| copy semantics More...
|
|
virtual | ~ClassicalQuantileComputer () |
|
ClassicalQuantileComputer & | operator= (const ClassicalQuantileComputer &other) |
| copy semantics More...
|
|
virtual StatisticsAlgorithmQuantileComputer< CASA_STATP > * | clone () const |
| clone this object by returning a pointer to a copy More...
|
|
virtual AccumType | getMedian (uInt64 mynpts, AccumType mymin, AccumType mymax, uInt binningThreshholdSizeBytes, Bool persistSortedArray, uInt nBins) |
| Caller is responsible for passing correct values of mynpts, mymin, and mymax; no checking is done for correctness in this method. More...
|
|
virtual AccumType | getMedianAbsDevMed (uInt64 mynpts, AccumType mymin, AccumType mymax, uInt binningThreshholdSizeBytes, Bool persistSortedArray, uInt nBins) |
| get the median of the absolute deviation about the median of the data. More...
|
|
virtual AccumType | getMedianAndQuantiles (std::map< Double, AccumType > &quantiles, const std::set< Double > &fractions, uInt64 mynpts, AccumType mymin, AccumType mymax, uInt binningThreshholdSizeBytes, Bool persistSortedArray, uInt nBins) |
| If one needs to compute both the median and QuantileComputer values, it is better to call getMedianAndQuantiles() rather than getMedian() and getQuantiles() separately, as the first will scan large data sets fewer times than calling the separate methods. More...
|
|
virtual std::map< Double, AccumType > | getQuantiles (const std::set< Double > &fractions, uInt64 mynpts, AccumType mymin, AccumType mymax, uInt binningThreshholdSizeBytes, Bool persistSortedArray, uInt nBins) |
| Get the specified Quantiles. More...
|
|
virtual void | reset () |
| reset the private fields More...
|
|
| StatisticsAlgorithmQuantileComputer ()=delete |
|
virtual | ~StatisticsAlgorithmQuantileComputer () |
|
void | deleteSortedArray () |
| delete any (partially) sorted array More...
|
|
void | setDataset (StatisticsDataset< CASA_STATP > *ds) |
| This must be called upon the copy or assignment of the associated statistics algorithm object. More...
|
|
std::vector< CASA_STATP > & | _getSortedArray () |
| FIXME make protected once refactor is complete. More...
|
|
void | _setSortedArray (const std::vector< CASA_STATP > &v) |
| FIXME make protected once refactor is complete. More...
|
|
void | setMedian (CountedPtr< CASA_STATP > median) |
|
|
virtual void | _findBins (std::vector< std::vector< uInt64 > > &binCounts, std::vector< CountedPtr< AccumType > > &sameVal, std::vector< Bool > &allSame, const DataIterator &dataBegin, uInt64 nr, uInt dataStride, const std::vector< StatsHistogram< AccumType > > &hist, const std::vector< AccumType > &maxLimit) const |
| Get the counts of data within the specified histogram bins. More...
|
|
virtual void | _findBins (std::vector< std::vector< uInt64 > > &binCounts, std::vector< CountedPtr< AccumType > > &sameVal, std::vector< Bool > &allSame, const DataIterator &dataBegin, uInt64 nr, uInt dataStride, const DataRanges &ranges, Bool isInclude, const std::vector< StatsHistogram< AccumType > > &hist, const std::vector< AccumType > &maxLimit) const |
|
virtual void | _findBins (std::vector< std::vector< uInt64 > > &binCounts, std::vector< CountedPtr< AccumType > > &sameVal, std::vector< Bool > &allSame, const DataIterator &dataBegin, uInt64 nr, uInt dataStride, const MaskIterator &maskBegin, uInt maskStride, const std::vector< StatsHistogram< AccumType > > &hist, const std::vector< AccumType > &maxLimit) const |
|
virtual void | _findBins (std::vector< std::vector< uInt64 > > &binCounts, std::vector< CountedPtr< AccumType > > &sameVal, std::vector< Bool > &allSame, const DataIterator &dataBegin, uInt64 nr, uInt dataStride, const MaskIterator &maskBegin, uInt maskStride, const DataRanges &ranges, Bool isInclude, const std::vector< StatsHistogram< AccumType > > &hist, const std::vector< AccumType > &maxLimit) const |
|
virtual void | _findBins (std::vector< std::vector< uInt64 > > &binCounts, std::vector< CountedPtr< AccumType > > &sameVal, std::vector< Bool > &allSame, const DataIterator &dataBegin, const WeightsIterator &weightsBegin, uInt64 nr, uInt dataStride, const std::vector< StatsHistogram< AccumType > > &hist, const std::vector< AccumType > &maxLimit) const |
|
virtual void | _findBins (std::vector< std::vector< uInt64 > > &binCounts, std::vector< CountedPtr< AccumType > > &sameVal, std::vector< Bool > &allSame, const DataIterator &dataBegin, const WeightsIterator &weightsBegin, uInt64 nr, uInt dataStride, const DataRanges &ranges, Bool isInclude, const std::vector< StatsHistogram< AccumType > > &hist, const std::vector< AccumType > &maxLimit) const |
|
virtual void | _findBins (std::vector< std::vector< uInt64 > > &binCounts, std::vector< CountedPtr< AccumType > > &sameVal, std::vector< Bool > &allSame, const DataIterator &dataBegin, const WeightsIterator &weightsBegin, uInt64 nr, uInt dataStride, const MaskIterator &maskBegin, uInt maskStride, const DataRanges &ranges, Bool isInclude, const std::vector< StatsHistogram< AccumType > > &hist, const std::vector< AccumType > &maxLimit) const |
|
virtual void | _findBins (std::vector< std::vector< uInt64 > > &binCounts, std::vector< CountedPtr< AccumType > > &sameVal, std::vector< Bool > &allSame, const DataIterator &dataBegin, const WeightsIterator &weightBegin, uInt64 nr, uInt dataStride, const MaskIterator &maskBegin, uInt maskStride, const std::vector< StatsHistogram< AccumType > > &hist, const std::vector< AccumType > &maxLimit) const |
|
virtual void | _populateArray (std::vector< AccumType > &ary, const DataIterator &dataBegin, uInt64 nr, uInt dataStride) const |
| populate an unsorted array with valid data. More...
|
|
virtual void | _populateArray (std::vector< AccumType > &ary, const DataIterator &dataBegin, uInt64 nr, uInt dataStride, const DataRanges &ranges, Bool isInclude) const |
| ranges More...
|
|
virtual void | _populateArray (std::vector< AccumType > &ary, const DataIterator &dataBegin, uInt64 nr, uInt dataStride, const MaskIterator &maskBegin, uInt maskStride) const |
|
virtual void | _populateArray (std::vector< AccumType > &ary, const DataIterator &dataBegin, uInt64 nr, uInt dataStride, const MaskIterator &maskBegin, uInt maskStride, const DataRanges &ranges, Bool isInclude) const |
| mask and ranges More...
|
|
virtual void | _populateArray (std::vector< AccumType > &ary, const DataIterator &dataBegin, const WeightsIterator &weightsBegin, uInt64 nr, uInt dataStride) const |
| weights More...
|
|
virtual void | _populateArray (std::vector< AccumType > &ary, const DataIterator &dataBegin, const WeightsIterator &weightsBegin, uInt64 nr, uInt dataStride, const DataRanges &ranges, Bool isInclude) const |
| weights and ranges More...
|
|
virtual void | _populateArray (std::vector< AccumType > &ary, const DataIterator &dataBegin, const WeightsIterator &weightBegin, uInt64 nr, uInt dataStride, const MaskIterator &maskBegin, uInt maskStride) const |
| weights and mask More...
|
|
virtual void | _populateArray (std::vector< AccumType > &ary, const DataIterator &dataBegin, const WeightsIterator &weightBegin, uInt64 nr, uInt dataStride, const MaskIterator &maskBegin, uInt maskStride, const DataRanges &ranges, Bool isInclude) const |
| weights, mask, ranges More...
|
|
virtual void | _populateArrays (std::vector< std::vector< AccumType >> &arys, uInt64 ¤tCount, const DataIterator &dataBegin, uInt64 nr, uInt dataStride, const IncludeLimits &includeLimits, uInt64 maxCount) const |
| Create a std::vector of unsorted arrays, one array for each bin defined by includeLimits . More...
|
|
virtual void | _populateArrays (std::vector< std::vector< AccumType > > &arys, uInt64 ¤tCount, const DataIterator &dataBegin, uInt64 nr, uInt dataStride, const DataRanges &ranges, Bool isInclude, const IncludeLimits &includeLimits, uInt64 maxCount) const |
| ranges More...
|
|
virtual void | _populateArrays (std::vector< std::vector< AccumType > > &arys, uInt64 ¤tCount, const DataIterator &dataBegin, uInt64 nr, uInt dataStride, const MaskIterator &maskBegin, uInt maskStride, const IncludeLimits &includeLimits, uInt64 maxCount) const |
|
virtual void | _populateArrays (std::vector< std::vector< AccumType > > &arys, uInt64 ¤tCount, const DataIterator &dataBegin, uInt64 nr, uInt dataStride, const MaskIterator &maskBegin, uInt maskStride, const DataRanges &ranges, Bool isInclude, const IncludeLimits &includeLimits, uInt64 maxCount) const |
| mask and ranges More...
|
|
virtual void | _populateArrays (std::vector< std::vector< AccumType > > &arys, uInt64 ¤tCount, const DataIterator &dataBegin, const WeightsIterator &weightsBegin, uInt64 nr, uInt dataStride, const IncludeLimits &includeLimits, uInt64 maxCount) const |
| weights More...
|
|
virtual void | _populateArrays (std::vector< std::vector< AccumType > > &arys, uInt64 ¤tCount, const DataIterator &dataBegin, const WeightsIterator &weightsBegin, uInt64 nr, uInt dataStride, const DataRanges &ranges, Bool isInclude, const IncludeLimits &includeLimits, uInt64 maxCount) const |
| weights and ranges More...
|
|
virtual void | _populateArrays (std::vector< std::vector< AccumType > > &arys, uInt64 ¤tCount, const DataIterator &dataBegin, const WeightsIterator &weightBegin, uInt64 nr, uInt dataStride, const MaskIterator &maskBegin, uInt maskStride, const IncludeLimits &includeLimits, uInt64 maxCount) const |
| weights and mask More...
|
|
virtual void | _populateArrays (std::vector< std::vector< AccumType > > &arys, uInt64 ¤tCount, const DataIterator &dataBegin, const WeightsIterator &weightBegin, uInt64 nr, uInt dataStride, const MaskIterator &maskBegin, uInt maskStride, const DataRanges &ranges, Bool isInclude, const IncludeLimits &includeLimits, uInt64 maxCount) const |
| weights, mask, ranges More...
|
|
virtual Bool | _populateTestArray (std::vector< AccumType > &ary, const DataIterator &dataBegin, uInt64 nr, uInt dataStride, uInt maxElements) const |
| no weights, no mask, no ranges More...
|
|
virtual Bool | _populateTestArray (std::vector< AccumType > &ary, const DataIterator &dataBegin, uInt64 nr, uInt dataStride, const DataRanges &ranges, Bool isInclude, uInt maxElements) const |
| ranges More...
|
|
virtual Bool | _populateTestArray (std::vector< AccumType > &ary, const DataIterator &dataBegin, uInt64 nr, uInt dataStride, const MaskIterator &maskBegin, uInt maskStride, uInt maxElements) const |
| mask More...
|
|
virtual Bool | _populateTestArray (std::vector< AccumType > &ary, const DataIterator &dataBegin, uInt64 nr, uInt dataStride, const MaskIterator &maskBegin, uInt maskStride, const DataRanges &ranges, Bool isInclude, uInt maxElements) const |
| mask and ranges More...
|
|
virtual Bool | _populateTestArray (std::vector< AccumType > &ary, const DataIterator &dataBegin, const WeightsIterator &weightBegin, uInt64 nr, uInt dataStride, uInt maxElements) const |
| weights More...
|
|
virtual Bool | _populateTestArray (std::vector< AccumType > &ary, const DataIterator &dataBegin, const WeightsIterator &weightsBegin, uInt64 nr, uInt dataStride, const DataRanges &ranges, Bool isInclude, uInt maxElements) const |
| weights and ranges More...
|
|
virtual Bool | _populateTestArray (std::vector< AccumType > &ary, const DataIterator &dataBegin, const WeightsIterator &weightBegin, uInt64 nr, uInt dataStride, const MaskIterator &maskBegin, uInt maskStride, uInt maxElements) const |
| weights and mask More...
|
|
virtual Bool | _populateTestArray (std::vector< AccumType > &ary, const DataIterator &dataBegin, const WeightsIterator &weightBegin, uInt64 nr, uInt dataStride, const MaskIterator &maskBegin, uInt maskStride, const DataRanges &ranges, Bool isInclude, uInt maxElements) const |
| weights, mask, ranges More...
|
|
Bool | _valuesFromSortedArray (std::map< uInt64, AccumType > &values, uInt64 mynpts, const std::set< uInt64 > &indices, uInt64 maxArraySize, Bool persistSortedArray) |
| get values from sorted array if the array is small enough to be held in memory. More...
|
|
| StatisticsAlgorithmQuantileComputer (StatisticsDataset< CASA_STATP > *ds) |
| ds should be the dataset object held in the StatisticsAlgorithm object. More...
|
|
| StatisticsAlgorithmQuantileComputer (const StatisticsAlgorithmQuantileComputer &other) |
| use copy semantics. More...
|
|
StatisticsAlgorithmQuantileComputer & | operator= (const StatisticsAlgorithmQuantileComputer &other) |
| use copy semantics. More...
|
|
StatisticsDataset< CASA_STATP > * | _getDataset () |
|
CountedPtr< CASA_STATP > | _getMedian () const |
|
CountedPtr< CASA_STATP > | _getMedianAbsDevMedian () const |
|
void | _setMedianAbsDevMedian (CountedPtr< CASA_STATP > medAbsDevMed) |
|