28 #ifndef LATTICES_LATTICECLEANPROGRESS_H
29 #define LATTICES_LATTICECLEANPROGRESS_H
44 template <
class T>
class Vector;
45 template <
class T>
class Matrix;
102 const Int numberIterations,
105 const Float strengthOptimum,
106 const Int optimumScale,
108 const Float& totalFlux,
118 const Float& maxResidual,
119 const uInt numIterations);
A Vector of integers, for indexing into Array<T> objects.
void basicSetUp(Bool plotMatrices=False)
this will redraw the plot with a new scale; if plotMatrices = False, just draw the boxes...
std::vector< double > Vector
void resizeDataStorage()
As the iterations trickle in, we will from time to time need to make the Matrices larger...
Float currentMinFluxScale
Vector< Float > iterationNumber
Vector< Float > totalFluxes
Matrix< Float > totalFluxesPer
void initialize(const uInt nScales, const Float &maxResidual, const uInt numIterations)
initizalize the arrays and such
Matrix< Float > negResiduals
Vector< Float > baseFluxes
bool Bool
Define the standard types used by Casacore.
Abstract base class to monitor progress in lattice operations.
Standard plotting object for application programmers.
LatticeCleanProgress(PGPlotter *pgplotter=0)
Matrix< Float > posResiduals
Bool info(const Bool lastcall, const Int iteration, const Int numberIterations, const Vector< Float > &maxima, const Block< IPosition > &posMaximum, const Float strengthOptimum, const Int optimumScale, const IPosition &positionOptimum, const Float &totalFlux, const Vector< Float > &totalFluxScale, const Bool resetBase=False)
Print and plot the information.
virtual ~LatticeCleanProgress()
uInt currentTotalIterations
Matrix< Float > maxResiduals
void plotOne(const Int iteration, const Vector< Float > &resid, const Vector< Float > &flux)
Note: you MUST call basicSetUp before calling this.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.