26#ifndef LATTICES_LATTICECLEANPROGRESS_H
27#define LATTICES_LATTICECLEANPROGRESS_H
30#include <casacore/casa/aips.h>
31#include <casacore/casa/Quanta/Quantum.h>
32#include <casacore/lattices/Lattices/Lattice.h>
33#include <casacore/lattices/Lattices/TempLattice.h>
34#include <casacore/casa/Arrays/IPosition.h>
35#include <casacore/casa/Containers/Block.h>
36#include <casacore/casa/Arrays/Vector.h>
37#include <casacore/casa/Arrays/Matrix.h>
96 const Float strengthOptimum,
const Int optimumScale,
const IPosition& positionOptimum,
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
For temporary backward namespace compatibility, use casa as alias for casacore.
bool Bool
Define the standard types used by Casacore.