Class to monitor progress in MEM deconvolution. More...
#include <CEMemProgress.h>
Public Types | |
| enum | EntType { ENTROPY, EMPINESS } |
Public Member Functions | |
| CEMemProgress (PGPlotter *pgplotter=0) | |
| virtual | ~CEMemProgress () |
| void | info (const Bool lastcall, const Int iteration, const Int numberIterations, const Lattice< Float > &model, const Lattice< Float > &resid, const Float &maximumRes, const IPosition &posMaximum, const Float &totalFlux, const Float &sigma, const Float &normGrad, const Float &entropy) |
| people usually don't worry about maximum residual with MEM; we'll do it, though | |
Private Member Functions | |
| void | basicSetUp (Bool doPlot=False) |
| void | plotOne (const Int iteration, const Float sigma, const Float maxResid, const Float flux) |
Private Attributes | |
| PGPlotter * | itsPgplotter |
| Vector< Float > | itsIterationNumbers |
| Vector< Float > | itsTotalFluxes |
| Vector< Float > | itsMaxResiduals |
| Vector< Float > | itsSigmas |
| Vector< Float > | itsNormGrads |
| Vector< Float > | itsEntropies |
| uInt | itsCurrentIndex |
| uInt | itsCurrentTotalIterations |
| Float | itsCurrentFluxScale |
| Float | itsCurrentMaxResidualScale |
| Float | itsCurrentSigmaScale |
| Float | itsCurrentNormGradScale |
| Float | itsCurrentEntropyScale |
Class to monitor progress in MEM deconvolution.
Public interface
Since operations on Lattices can take a while, it can be useful to show the progress. However, making module Lattices dependent on the class ProgressMeter sounded bad. This abstract class serves as a bridge between the Lattice module and the ProgressMeter class (or any other class showing the progress).
Definition at line 75 of file CEMemProgress.h.
Definition at line 78 of file CEMemProgress.h.
| casa::CEMemProgress::CEMemProgress | ( | PGPlotter * | pgplotter = 0 |
) |
| virtual casa::CEMemProgress::~CEMemProgress | ( | ) | [virtual] |
| void casa::CEMemProgress::basicSetUp | ( | Bool | doPlot = False |
) | [private] |
| void casa::CEMemProgress::info | ( | const Bool | lastcall, | |
| const Int | iteration, | |||
| const Int | numberIterations, | |||
| const Lattice< Float > & | model, | |||
| const Lattice< Float > & | resid, | |||
| const Float & | maximumRes, | |||
| const IPosition & | posMaximum, | |||
| const Float & | totalFlux, | |||
| const Float & | sigma, | |||
| const Float & | normGrad, | |||
| const Float & | entropy | |||
| ) |
people usually don't worry about maximum residual with MEM; we'll do it, though
| void casa::CEMemProgress::plotOne | ( | const Int | iteration, | |
| const Float | sigma, | |||
| const Float | maxResid, | |||
| const Float | flux | |||
| ) | [private] |
Float casa::CEMemProgress::itsCurrentEntropyScale [private] |
Definition at line 127 of file CEMemProgress.h.
Float casa::CEMemProgress::itsCurrentFluxScale [private] |
Definition at line 123 of file CEMemProgress.h.
uInt casa::CEMemProgress::itsCurrentIndex [private] |
Definition at line 121 of file CEMemProgress.h.
Float casa::CEMemProgress::itsCurrentMaxResidualScale [private] |
Definition at line 124 of file CEMemProgress.h.
Float casa::CEMemProgress::itsCurrentNormGradScale [private] |
Definition at line 126 of file CEMemProgress.h.
Float casa::CEMemProgress::itsCurrentSigmaScale [private] |
Definition at line 125 of file CEMemProgress.h.
uInt casa::CEMemProgress::itsCurrentTotalIterations [private] |
Definition at line 122 of file CEMemProgress.h.
Vector<Float> casa::CEMemProgress::itsEntropies [private] |
Definition at line 120 of file CEMemProgress.h.
Vector<Float> casa::CEMemProgress::itsIterationNumbers [private] |
Definition at line 115 of file CEMemProgress.h.
Vector<Float> casa::CEMemProgress::itsMaxResiduals [private] |
Definition at line 117 of file CEMemProgress.h.
Vector<Float> casa::CEMemProgress::itsNormGrads [private] |
Definition at line 119 of file CEMemProgress.h.
PGPlotter* casa::CEMemProgress::itsPgplotter [private] |
Definition at line 113 of file CEMemProgress.h.
Vector<Float> casa::CEMemProgress::itsSigmas [private] |
Definition at line 118 of file CEMemProgress.h.
Vector<Float> casa::CEMemProgress::itsTotalFluxes [private] |
Definition at line 116 of file CEMemProgress.h.
1.6.1