28 #ifndef LATTICES_LATTICEHISTSPECIALIZE_H 29 #define LATTICES_LATTICEHISTSPECIALIZE_H 33 #include <casacore/casa/aips.h> 34 #include <casacore/casa/BasicSL/Complex.h> 39 template <
class T>
class Vector;
40 template <
class T>
class Block;
108 const Float* pInData,
const Bool* pInMask,
static uInt bin(Float datum, Float min, Float width, uInt nBins)
static Float mul(Float v1, Float v2)
Multiply.
static void plot(PGPlotter &plot, Bool doGauss, Bool doCumu, Bool doLog, Float linearSum, Float yMax, Float binWidth, const Vector< Float > &values, const Vector< Float > &counts, const Vector< Float > &stats, uInt whereLabel, uInt ci, Bool page)
Plot histograms.
std::complex< Float > Complex
static void makeGauss(uInt &nGPts, Float &gMax, Vector< Float > &gX, Vector< Float > &gY, Float dMean, Float dSigma, Float dSum, Float xMin, Float xMax, Float binWidth, Bool doCumu, Bool doLog)
LatticeExprNode min(const LatticeExprNode &left, const LatticeExprNode &right)
Specialized functions for LatticeHistograms.
bool Bool
Define the standard types used by Casacore.
static Float setBinWidth(Float dmin, Float dmax, uInt nBins)
Set bin width.
static void makeCumulative(Vector< Float > &counts, Float &yMax, uInt nBins, Float scale)
Make historgam cumulative.
Standard plotting object for application programmers.
static void process(const Float *pInData, const Bool *pInMask, Block< Float > *pHist, const Vector< Float > &clip, Float binWidth, uInt offset, uInt nrval, uInt nBins, uInt dataIncr, uInt maskIncr)
Process data chunk creating histogram.
static void makeLogarithmic(Vector< Float > &counts, Float &yMax, uInt nBins)
Make histogram logarithmic.
static void plotHist(const Vector< Float > &x, const Vector< Float > &y, PGPlotter &plotter)
this file contains all the compiler specific defines