Go to the documentation of this file.
28 #ifndef LATTICES_LATTICECLEANPROGRESS_H
29 #define LATTICES_LATTICECLEANPROGRESS_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/casa/Quanta/Quantum.h>
34 #include <casacore/lattices/Lattices/Lattice.h>
35 #include <casacore/lattices/Lattices/TempLattice.h>
36 #include <casacore/casa/Arrays/IPosition.h>
37 #include <casacore/casa/Containers/Block.h>
38 #include <casacore/casa/Arrays/Vector.h>
39 #include <casacore/casa/Arrays/Matrix.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);
Vector< Float > totalFluxes
A Vector of integers, for indexing into Array<T> objects.
Abstract base class to monitor progress in lattice operations.
void basicSetUp(Bool plotMatrices=False)
this will redraw the plot with a new scale; if plotMatrices = False, just draw the boxes,...
Vector< Float > iterationNumber
Float currentMinFluxScale
Matrix< Float > totalFluxesPer
Matrix< Float > maxResiduals
virtual ~LatticeCleanProgress()
this file contains all the compiler specific defines
Vector< Float > baseFluxes
void initialize(const uInt nScales, const Float &maxResidual, const uInt numIterations)
initizalize the arrays and such
LatticeCleanProgress(PGPlotter *pgplotter=0)
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.
Matrix< Float > negResiduals
bool Bool
Define the standard types used by Casacore.
Matrix< Float > posResiduals
Standard plotting object for application programmers.
void plotOne(const Int iteration, const Vector< Float > &resid, const Vector< Float > &flux)
Note: you MUST call basicSetUp before calling this.
void resizeDataStorage()
As the iterations trickle in, we will from time to time need to make the Matrices larger.
uInt currentTotalIterations