28 #ifndef LATTICES_LATTICESTATSBASE_H
29 #define LATTICES_LATTICESTATSBASE_H
A Vector of integers, for indexing into Array<T> objects.
static Int toStatisticType(const String &statistic)
Returns -1 if the statistic string is not valid.
The total number of available statistics to plot.
The median - the robust stats does not fit well into storage lattice approach.
LatticeExprNode max(const LatticeExprNode &left, const LatticeExprNode &right)
Base class for LatticeStatistics class.
static void setStorageImageShape(IPosition &storeImageShape, const Bool &last, const Int &axisSize, const Vector< Int > &displayAxes, const IPosition &shape)
A storage image is used to accumulate information as a function of the display axes as an image is it...
The first and third quartiles.
LatticeExprNode min(const LatticeExprNode &left, const LatticeExprNode &right)
The total number of accumulation image items (not for general use: note that the accumulation items M...
median of absolute deviation from median
The flux density (can't always compute this - needs the beam)
bool Bool
Define the standard types used by Casacore.
StatisticsTypes
This enum StatisticTypes is provided for use with the LatticeStatistics<T>::setPlotting function...
TableExprNode shape(const TableExprNode &array)
Function operating on any scalar or array resulting in a Double array containing the shape...
static void stretchMinMax(Float &min, Float &max)
Stretch a range by 10%.
TableExprNode regex(const TableExprNode &node)
Functions for regular expression matching and pattern matching.
The variance about the mean.
static std::set< Double > quartileFracs()
String: the storage and methods of handling collections of characters.
static Vector< Int > toStatisticTypes(const String &statistics, const std::regex &delimiter)
Helper function to convert a String containing a list of desired statistics to the correct Vector<Int...
The standard deviation about the mean.
static Bool setNxy(Vector< Int > &nxy, ostream &os)
Check and fill in defaults for a Vector<Int> containing the number of subplots in x and y to be put o...
static String toStatisticName(StatisticsTypes type)
Convert type to string.