LSSTApplications  11.0-13-gbb96280,12.1.rc1,12.1.rc1+1,12.1.rc1+2,12.1.rc1+5,12.1.rc1+8,12.1.rc1-1-g06d7636+1,12.1.rc1-1-g253890b+5,12.1.rc1-1-g3d31b68+7,12.1.rc1-1-g3db6b75+1,12.1.rc1-1-g5c1385a+3,12.1.rc1-1-g83b2247,12.1.rc1-1-g90cb4cf+6,12.1.rc1-1-g91da24b+3,12.1.rc1-2-g3521f8a,12.1.rc1-2-g39433dd+4,12.1.rc1-2-g486411b+2,12.1.rc1-2-g4c2be76,12.1.rc1-2-gc9c0491,12.1.rc1-2-gda2cd4f+6,12.1.rc1-3-g3391c73+2,12.1.rc1-3-g8c1bd6c+1,12.1.rc1-3-gcf4b6cb+2,12.1.rc1-4-g057223e+1,12.1.rc1-4-g19ed13b+2,12.1.rc1-4-g30492a7
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
 Remove all non-astronomical counts from the Chunk Exposure's pixels.
 
 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.