#include <SteepestDescentSolver.h>
Public Member Functions | |
SteepestDescentSolver (Int nParams, Vector< Int > polMap, Int nIter=20, Double tol=1E-5) | |
~SteepestDescentSolver () | |
void | setMaxParams (Int nParams) |
Double | solve (VisEquation &ve, EPJones &vj, VisBuffer &vb, Int nAnt, Int SlotNo) |
Double | solve2 (VisEquation &ve, VisIter &vi, EPJones &epj, Int nAnt, Int SlotNo) |
LogIO & | logIO () |
Private Member Functions | |
Vector< Complex > | getVj (const VisBuffer &vb, Int NAnt, Int whichAnt, Int whichPol, Double &sumWt, Int negate=0, Int weighted=1) |
Double | getGOF (const VisBuffer &residual, Int &whichPol, Double &sumWt, const char *msg="") |
Private Attributes | |
Int | maxIter |
Int | maxParams |
VisBuffer | residual_p |
VisBuffer | gradient0_p |
VisBuffer | gradient1_p |
Matrix< Bool > | flags |
LogIO | logIO_p |
Vector< Int > | polMap_p |
Definition at line 48 of file SteepestDescentSolver.h.
casa::SteepestDescentSolver::SteepestDescentSolver | ( | Int | nParams, | |
Vector< Int > | polMap, | |||
Int | nIter = 20 , |
|||
Double | tol = 1E-5 | |||
) |
casa::SteepestDescentSolver::~SteepestDescentSolver | ( | ) | [inline] |
Definition at line 53 of file SteepestDescentSolver.h.
Double casa::SteepestDescentSolver::getGOF | ( | const VisBuffer & | residual, | |
Int & | whichPol, | |||
Double & | sumWt, | |||
const char * | msg = "" | |||
) | [private] |
Vector<Complex> casa::SteepestDescentSolver::getVj | ( | const VisBuffer & | vb, | |
Int | NAnt, | |||
Int | whichAnt, | |||
Int | whichPol, | |||
Double & | sumWt, | |||
Int | negate = 0 , |
|||
Int | weighted = 1 | |||
) | [private] |
LogIO& casa::SteepestDescentSolver::logIO | ( | ) | [inline] |
Definition at line 62 of file SteepestDescentSolver.h.
References logIO_p.
void casa::SteepestDescentSolver::setMaxParams | ( | Int | nParams | ) | [inline] |
Definition at line 55 of file SteepestDescentSolver.h.
References maxParams.
Double casa::SteepestDescentSolver::solve | ( | VisEquation & | ve, | |
EPJones & | vj, | |||
VisBuffer & | vb, | |||
Int | nAnt, | |||
Int | SlotNo | |||
) |
Double casa::SteepestDescentSolver::solve2 | ( | VisEquation & | ve, | |
VisIter & | vi, | |||
EPJones & | epj, | |||
Int | nAnt, | |||
Int | SlotNo | |||
) |
Matrix<Bool> casa::SteepestDescentSolver::flags [private] |
Definition at line 72 of file SteepestDescentSolver.h.
Definition at line 71 of file SteepestDescentSolver.h.
Definition at line 71 of file SteepestDescentSolver.h.
LogIO casa::SteepestDescentSolver::logIO_p [private] |
Definition at line 74 of file SteepestDescentSolver.h.
Referenced by logIO().
Int casa::SteepestDescentSolver::maxIter [private] |
Definition at line 69 of file SteepestDescentSolver.h.
Int casa::SteepestDescentSolver::maxParams [private] |
Definition at line 69 of file SteepestDescentSolver.h.
Referenced by setMaxParams().
Vector<Int> casa::SteepestDescentSolver::polMap_p [private] |
Definition at line 75 of file SteepestDescentSolver.h.
Definition at line 71 of file SteepestDescentSolver.h.