casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Public Member Functions | Private Member Functions | Private Attributes
casa::CEMemProgress Class Reference

Class to monitor progress in MEM deconvolution. More...

#include <CEMemProgress.h>

List of all members.

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

PGPlotteritsPgplotter
Vector< FloatitsIterationNumbers
Vector< FloatitsTotalFluxes
Vector< FloatitsMaxResiduals
Vector< FloatitsSigmas
Vector< FloatitsNormGrads
Vector< FloatitsEntropies
uInt itsCurrentIndex
uInt itsCurrentTotalIterations
Float itsCurrentFluxScale
Float itsCurrentMaxResidualScale
Float itsCurrentSigmaScale
Float itsCurrentNormGradScale
Float itsCurrentEntropyScale

Detailed Description

Class to monitor progress in MEM deconvolution.

Intended use:

Public interface

Review Status

Date Reviewed:
yyyy/mm/dd

Synopsis

Example

Motivation

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.


Member Enumeration Documentation

Enumerator:
ENTROPY 
EMPINESS 

Definition at line 78 of file CEMemProgress.h.


Constructor & Destructor Documentation

virtual casa::CEMemProgress::~CEMemProgress ( ) [virtual]

Member Function Documentation

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]

Member Data Documentation

Definition at line 127 of file CEMemProgress.h.

Definition at line 123 of file CEMemProgress.h.

Definition at line 121 of file CEMemProgress.h.

Definition at line 124 of file CEMemProgress.h.

Definition at line 126 of file CEMemProgress.h.

Definition at line 125 of file CEMemProgress.h.

Definition at line 122 of file CEMemProgress.h.

Definition at line 120 of file CEMemProgress.h.

Definition at line 115 of file CEMemProgress.h.

Definition at line 117 of file CEMemProgress.h.

Definition at line 119 of file CEMemProgress.h.

Definition at line 113 of file CEMemProgress.h.

Definition at line 118 of file CEMemProgress.h.

Definition at line 116 of file CEMemProgress.h.


The documentation for this class was generated from the following file: