casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
casa::CEMemProgress Class Reference

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

#include <CEMemProgress.h>

Public Types

enum  EntType {
  ENTROPY,
  EMPINESS
}
 

Public Member Functions

 CEMemProgress (casacore::PGPlotter *pgplotter=0)
 
virtual ~CEMemProgress ()
 
void info (const casacore::Bool lastcall, const casacore::Int iteration, const casacore::Int numberIterations, const casacore::Lattice< casacore::Float > &model, const casacore::Lattice< casacore::Float > &resid, const casacore::Float &maximumRes, const casacore::IPosition &posMaximum, const casacore::Float &totalFlux, const casacore::Float &sigma, const casacore::Float &normGrad, const casacore::Float &entropy)
 people usually don't worry about maximum residual with MEM; we'll do it, though More...
 

Private Member Functions

void basicSetUp (casacore::Bool doPlot=false)
 
void plotOne (const casacore::Int iteration, const casacore::Float sigma, const casacore::Float maxResid, const casacore::Float flux)
 

Private Attributes

casacore::PGPlotteritsPgplotter
 
casacore::Vector< casacore::FloatitsIterationNumbers
 
casacore::Vector< casacore::FloatitsTotalFluxes
 
casacore::Vector< casacore::FloatitsMaxResiduals
 
casacore::Vector< casacore::FloatitsSigmas
 
casacore::Vector< casacore::FloatitsNormGrads
 
casacore::Vector< casacore::FloatitsEntropies
 
casacore::uInt itsCurrentIndex
 
casacore::uInt itsCurrentTotalIterations
 
casacore::Float itsCurrentFluxScale
 
casacore::Float itsCurrentMaxResidualScale
 
casacore::Float itsCurrentSigmaScale
 
casacore::Float itsCurrentNormGradScale
 
casacore::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 as a bridge between the casacore::Lattice module and the casacore::ProgressMeter class (or any other class showing the progress).

Definition at line 79 of file CEMemProgress.h.

Member Enumeration Documentation

Enumerator
ENTROPY 
EMPINESS 

Definition at line 82 of file CEMemProgress.h.

Constructor & Destructor Documentation

casa::CEMemProgress::CEMemProgress ( casacore::PGPlotter pgplotter = 0)
virtual casa::CEMemProgress::~CEMemProgress ( )
virtual

Member Function Documentation

void casa::CEMemProgress::basicSetUp ( casacore::Bool  doPlot = false)
private
void casa::CEMemProgress::info ( const casacore::Bool  lastcall,
const casacore::Int  iteration,
const casacore::Int  numberIterations,
const casacore::Lattice< casacore::Float > &  model,
const casacore::Lattice< casacore::Float > &  resid,
const casacore::Float maximumRes,
const casacore::IPosition posMaximum,
const casacore::Float totalFlux,
const casacore::Float sigma,
const casacore::Float normGrad,
const casacore::Float entropy 
)

people usually don't worry about maximum residual with MEM; we'll do it, though

void casa::CEMemProgress::plotOne ( const casacore::Int  iteration,
const casacore::Float  sigma,
const casacore::Float  maxResid,
const casacore::Float  flux 
)
private

Member Data Documentation

casacore::Float casa::CEMemProgress::itsCurrentEntropyScale
private

Definition at line 131 of file CEMemProgress.h.

casacore::Float casa::CEMemProgress::itsCurrentFluxScale
private

Definition at line 127 of file CEMemProgress.h.

casacore::uInt casa::CEMemProgress::itsCurrentIndex
private

Definition at line 125 of file CEMemProgress.h.

casacore::Float casa::CEMemProgress::itsCurrentMaxResidualScale
private

Definition at line 128 of file CEMemProgress.h.

casacore::Float casa::CEMemProgress::itsCurrentNormGradScale
private

Definition at line 130 of file CEMemProgress.h.

casacore::Float casa::CEMemProgress::itsCurrentSigmaScale
private

Definition at line 129 of file CEMemProgress.h.

casacore::uInt casa::CEMemProgress::itsCurrentTotalIterations
private

Definition at line 126 of file CEMemProgress.h.

casacore::Vector<casacore::Float> casa::CEMemProgress::itsEntropies
private

Definition at line 124 of file CEMemProgress.h.

casacore::Vector<casacore::Float> casa::CEMemProgress::itsIterationNumbers
private

Definition at line 119 of file CEMemProgress.h.

casacore::Vector<casacore::Float> casa::CEMemProgress::itsMaxResiduals
private

Definition at line 121 of file CEMemProgress.h.

casacore::Vector<casacore::Float> casa::CEMemProgress::itsNormGrads
private

Definition at line 123 of file CEMemProgress.h.

casacore::PGPlotter* casa::CEMemProgress::itsPgplotter
private

Definition at line 117 of file CEMemProgress.h.

casacore::Vector<casacore::Float> casa::CEMemProgress::itsSigmas
private

Definition at line 122 of file CEMemProgress.h.

casacore::Vector<casacore::Float> casa::CEMemProgress::itsTotalFluxes
private

Definition at line 120 of file CEMemProgress.h.


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