28 #ifndef LATTICES_LATTICECLEANPROGRESS_H
29 #define LATTICES_LATTICECLEANPROGRESS_H
100 const Int numberIterations,
103 const Float strengthOptimum,
104 const Int optimumScale,
106 const Float& totalFlux,
116 const Float& maxResidual,
117 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...
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.