Changeset 1551 for trunk/GSASIIpwd.py


Ignore:
Timestamp:
Oct 31, 2014 7:08:24 AM (7 years ago)
Author:
vondreele
Message:

fixes to calibration

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpwd.py

    r1515 r1551  
    12251225        begin = time.time()
    12261226        values =  np.array(Dict2Values(parmDict, varyList))
    1227         result = so.leastsq(errPeakPos,values,full_output=True,ftol=0.0001,
     1227        result = so.leastsq(errPeakPos,values,full_output=True,ftol=0.000001,
    12281228            args=(peakDsp,peakPos,peakWt,dataType,parmDict,varyList))
    12291229        ncyc = int(result[2]['nfev']/2)
     
    12421242        except ValueError:          #result[1] is None on singular matrix
    12431243            print '**** Refinement failed - singular matrix ****'
    1244     return True
    12451244       
    12461245    sigDict = dict(zip(varyList,sig))
    12471246    GetInstParms(parmDict,Inst,varyList)
    12481247    InstPrint(Inst,sigDict)
     1248    return True
    12491249           
    12501250def DoPeakFit(FitPgm,Peaks,Background,Limits,Inst,Inst2,data,prevVaryList=[],oneCycle=False,controls=None,dlg=None):
Note: See TracChangeset for help on using the changeset viewer.