LSSTApplications  10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
Namespaces | Macros
NLSolver.cc File Reference
#include <iostream>
#include <limits>
#include <algorithm>
#include "lsst/meas/algorithms/shapelet/NLSolver.h"

Go to the source code of this file.

Namespaces

 lsst
 Estimate image backgrounds.
 
 lsst::meas
 
 lsst::meas::algorithms
 
 lsst::meas::algorithms::shapelet
 

Macros

#define dbg   if(_nlOut) (*_nlOut)
 
#define xdbg   if(_verbose >= 1 && _nlOut) (*_nlOut)
 
#define xxdbg   if(_verbose >= 2 && _nlOut) (*_nlOut)
 
#define CHECKF(normInfF)
 
#define CHECKG(normInfG)
 
#define SHOWFAILFG
 
#define CHECKSTEP(normH)
 

Macro Definition Documentation

#define CHECKF (   normInfF)
Value:
do { \
double checkfTemp = (normInfF); \
if (!(checkfTemp > _fTol)) { \
dbg<<"Found ||f|| ~= 0\n"; \
dbg<<"||f||_inf = "<<checkfTemp<<" < "<<_fTol<<std::endl; \
return true; \
} \
} while (false)
if(width!=gim.getWidth()||height!=gim.getHeight()||x0!=gim.getX0()||y0!=gim.getY0())
Definition: saturated.cc:47
#define dbg
Definition: NLSolver.cc:37

Definition at line 1269 of file NLSolver.cc.

#define CHECKG (   normInfG)
Value:
do { \
double checkgTemp = (normInfG); \
if (!(checkgTemp > _gTol)) { \
dbg<<"Found local minimum of ||f||\n"; \
dbg<<"||g||_inf = "<<checkgTemp<<" < "<<_gTol<<std::endl; \
return true; \
} \
} while (false)
if(width!=gim.getWidth()||height!=gim.getHeight()||x0!=gim.getX0()||y0!=gim.getY0())
Definition: saturated.cc:47
#define dbg
Definition: NLSolver.cc:37

Definition at line 1279 of file NLSolver.cc.

#define CHECKSTEP (   normH)
Value:
do { \
double checkStepTemp1 = (normH); \
double checkStepTemp2 = _minStep*(x.norm()+_minStep); \
if (!(checkStepTemp1 > checkStepTemp2)) { \
dbg<<"Step size became too small\n"; \
dbg<<"||h|| = "<<checkStepTemp1<<" < "<<checkStepTemp2<<std::endl; \
return false; \
} \
} while (false)
if(width!=gim.getWidth()||height!=gim.getHeight()||x0!=gim.getX0()||y0!=gim.getY0())
Definition: saturated.cc:47
double x
#define dbg
Definition: NLSolver.cc:37
#define SHOWFAILFG
Definition: NLSolver.cc:1289

Definition at line 1295 of file NLSolver.cc.

#define dbg   if(_nlOut) (*_nlOut)

Definition at line 37 of file NLSolver.cc.

#define SHOWFAILFG
Value:
do { \
dbg<<"||f||_inf = "<<f.TMV_normInf()<<" !< "<<_fTol<<std::endl; \
dbg<<"||g||_inf = "<<g.TMV_normInf()<<" !< "<<_gTol<<std::endl; \
} while (false)
#define dbg
Definition: NLSolver.cc:37

Definition at line 1289 of file NLSolver.cc.

#define xdbg   if(_verbose >= 1 && _nlOut) (*_nlOut)

Definition at line 38 of file NLSolver.cc.

#define xxdbg   if(_verbose >= 2 && _nlOut) (*_nlOut)

Definition at line 39 of file NLSolver.cc.