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

#include <SteepestDescentSolver.h>

Inheritance diagram for casa::SteepestDescentSolver:
casa::Iterate

Public Member Functions

 SteepestDescentSolver (casacore::Int nParams, casacore::Vector< casacore::Int > polMap, casacore::Int nIter=20, casacore::Double tol=1E-5)
 
 ~SteepestDescentSolver ()
 
void setMaxParams (casacore::Int nParams)
 
casacore::Double solve (VisEquation &ve, EPJones &vj, VisBuffer &vb, casacore::Int nAnt, casacore::Int SlotNo)
 
casacore::Double solve2 (VisEquation &ve, VisIter &vi, EPJones &epj, casacore::Int nAnt, casacore::Int SlotNo)
 
casacore::LogIOlogIO ()
 
- Public Member Functions inherited from casa::Iterate
 Iterate ()
 Constructor. More...
 
virtual ~Iterate ()
 
void setFree ()
 Is this a free variable? More...
 
void setNotFree ()
 
casacore::Bool free ()
 
void setNumberIterations (const casacore::Int n)
 
void setGain (const casacore::Float g)
 
void setTolerance (const casacore::Float t)
 
void setThreshold (const casacore::Float t)
 
void setMode (const casacore::String m)
 
casacore::Int numberIterations ()
 
casacore::Float gain ()
 
casacore::Float tolerance ()
 
virtual casacore::Float threshold ()
 
const casacore::String mode ()
 

Private Member Functions

casacore::Vector
< casacore::Complex > 
getVj (const VisBuffer &vb, casacore::Int NAnt, casacore::Int whichAnt, casacore::Int whichPol, casacore::Double &sumWt, casacore::Int negate=0, casacore::Int weighted=1)
 
casacore::Double getGOF (const VisBuffer &residual, casacore::Int &whichPol, casacore::Double &sumWt, const char *msg="")
 

Private Attributes

casacore::Int maxParams
 
VisBuffer residual_p
 
VisBuffer gradient0_p
 
VisBuffer gradient1_p
 
casacore::Matrix< casacore::Boolflags
 
casacore::LogIO logIO_p
 
casacore::Vector< casacore::IntpolMap_p
 

Detailed Description

Definition at line 48 of file SteepestDescentSolver.h.

Constructor & Destructor Documentation

casa::SteepestDescentSolver::SteepestDescentSolver ( casacore::Int  nParams,
casacore::Vector< casacore::Int polMap,
casacore::Int  nIter = 20,
casacore::Double  tol = 1E-5 
)
casa::SteepestDescentSolver::~SteepestDescentSolver ( )
inline

Definition at line 53 of file SteepestDescentSolver.h.

Member Function Documentation

casacore::Double casa::SteepestDescentSolver::getGOF ( const VisBuffer residual,
casacore::Int whichPol,
casacore::Double sumWt,
const char *  msg = "" 
)
private
casacore::Vector<casacore::Complex> casa::SteepestDescentSolver::getVj ( const VisBuffer vb,
casacore::Int  NAnt,
casacore::Int  whichAnt,
casacore::Int  whichPol,
casacore::Double sumWt,
casacore::Int  negate = 0,
casacore::Int  weighted = 1 
)
private
casacore::LogIO& casa::SteepestDescentSolver::logIO ( )
inline

Definition at line 62 of file SteepestDescentSolver.h.

References logIO_p.

void casa::SteepestDescentSolver::setMaxParams ( casacore::Int  nParams)
inline

Definition at line 55 of file SteepestDescentSolver.h.

References maxParams.

casacore::Double casa::SteepestDescentSolver::solve ( VisEquation ve,
EPJones vj,
VisBuffer vb,
casacore::Int  nAnt,
casacore::Int  SlotNo 
)
casacore::Double casa::SteepestDescentSolver::solve2 ( VisEquation ve,
VisIter vi,
EPJones epj,
casacore::Int  nAnt,
casacore::Int  SlotNo 
)

Member Data Documentation

casacore::Matrix<casacore::Bool> casa::SteepestDescentSolver::flags
private

Definition at line 72 of file SteepestDescentSolver.h.

VisBuffer casa::SteepestDescentSolver::gradient0_p
private

Definition at line 71 of file SteepestDescentSolver.h.

VisBuffer casa::SteepestDescentSolver::gradient1_p
private

Definition at line 71 of file SteepestDescentSolver.h.

casacore::LogIO casa::SteepestDescentSolver::logIO_p
private

Definition at line 74 of file SteepestDescentSolver.h.

Referenced by logIO().

casacore::Int casa::SteepestDescentSolver::maxParams
private

Definition at line 69 of file SteepestDescentSolver.h.

Referenced by setMaxParams().

casacore::Vector<casacore::Int> casa::SteepestDescentSolver::polMap_p
private

Definition at line 75 of file SteepestDescentSolver.h.

VisBuffer casa::SteepestDescentSolver::residual_p
private

Definition at line 71 of file SteepestDescentSolver.h.


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