Ignore:
Timestamp:
May 30, 2017 4:40:30 PM (6 years ago)
Author:
vondreele
Message:

implement SVD inversion (Moore Penrose invert routine) in Hessian LSQ
clean up commented out code replaced by ValidatedTextCtrl?
set default dM/M to 0.001 (from 0.0001) - more reasonable convergence criterion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIstrMain.py

    r2824 r2846  
    5959        #fl.close()
    6060        Ftol = Controls['min dM/M']
     61        Xtol = Controls['SVDtol']
    6162        Factor = Controls['shift factor']
    6263        if 'Jacobian' in Controls['deriv type']:           
     
    6869            Lamda = Controls.get('Marquardt',-3)
    6970            maxCyc = Controls['max cyc']
    70             result = G2mth.HessianLSQ(G2stMth.errRefine,values,Hess=G2stMth.HessRefine,ftol=Ftol,maxcyc=maxCyc,Print=ifPrint,lamda=Lamda,
     71            result = G2mth.HessianLSQ(G2stMth.errRefine,values,Hess=G2stMth.HessRefine,ftol=Ftol,xtol=Xtol,maxcyc=maxCyc,Print=ifPrint,lamda=Lamda,
    7172                args=([Histograms,Phases,restraintDict,rigidbodyDict],parmDict,varyList,calcControls,pawleyLookup,dlg))
    7273            ncyc = result[2]['num cyc']+1
Note: See TracChangeset for help on using the changeset viewer.