CEMemProgress.h

Classes

CEMemProgress -- Class to monitor progress in MEM deconvolution (full description)

class CEMemProgress

Types

enum EntType

ENTROPY = 0
EMPINESS = 1

Interface

Public Members
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)
Private Members
void basicSetUp(Bool doPlot = False)
void plotOne(const Int iteration, const Float sigma, const Float maxResid, const Float flux)

Description

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).

Member Description

enum EntType

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

void basicSetUp(Bool doPlot = False)

void plotOne(const Int iteration, const Float sigma, const Float maxResid, const Float flux)