Changeset 2466 for trunk/GSASIImath.py
- Timestamp:
- Sep 13, 2016 9:42:05 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIImath.py
r2448 r2466 51 51 ################################################################################ 52 52 53 def HessianLSQ(func,x0,Hess,args=(),ftol=1.49012e-8,xtol=1.49012e-8, maxcyc=0, Print=False):53 def HessianLSQ(func,x0,Hess,args=(),ftol=1.49012e-8,xtol=1.49012e-8, maxcyc=0,lamda=-3,Print=False): 54 54 55 55 """ … … 75 75 :param int maxcyc: The maximum number of cycles of refinement to execute, if -1 refine 76 76 until other limits are met (ftol, xtol) 77 :param int lamda: initial Marquardt lambda=10**lamda 77 78 :param bool Print: True for printing results (residuals & times) by cycle 78 79 … … 109 110 icycle = 0 110 111 One = np.ones((n,n)) 111 lam = 0.001112 lam = 10.**lamda 112 113 lamMax = lam 113 114 nfev = 0
Note: See TracChangeset
for help on using the changeset viewer.