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>
100 const Int numberIterations,
103 const Float strengthOptimum,
104 const Int optimumScale,
106 const Float& totalFlux,
116 const Float& maxResidual,
117 const uInt numIterations);
void resizeDataStorage()
As the iterations trickle in, we will from time to time need to make the Matrices larger.
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 > totalFluxesPer
Matrix< Float > maxResiduals
void plotOne(const Int iteration, const Vector< Float > &resid, const Vector< Float > &flux)
Note: you MUST call basicSetUp before calling this.
uInt currentTotalIterations
Matrix< Float > posResiduals
Float currentMinFluxScale
Vector< Float > totalFluxes
LatticeCleanProgress(PGPlotter *pgplotter=0)
Matrix< Float > negResiduals
Vector< Float > iterationNumber
virtual ~LatticeCleanProgress()
void basicSetUp(Bool plotMatrices=False)
this will redraw the plot with a new scale; if plotMatrices = False, just draw the boxes,...
Vector< Float > baseFluxes
void initialize(const uInt nScales, const Float &maxResidual, const uInt numIterations)
initizalize the arrays and such
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.