Changeset 4107
- Timestamp:
- Aug 21, 2019 4:00:10 PM (4 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIimage.py
r4104 r4107 202 202 P = 2.*R0**2*zdis*npcosd(phi0-phi) 203 203 Rcalc = (P+Q)/R 204 M = (Robs-Rcalc)* 10. #why 10? does make "chi**2" more reasonable204 M = (Robs-Rcalc)*25. #why 25? does make "chi**2" more reasonable 205 205 return M 206 206 … … 334 334 P = 2.*R0**2*zdis*npcosd(phi0-phi) 335 335 Rcalc = (P+Q)/R 336 return (Robs-Rcalc)* 10. #why 10? does make "chi**2" more reasonable336 return (Robs-Rcalc)*25. #why 25? does make "chi**2" more reasonable 337 337 338 338 p0 = [parmDict[key] for key in varyList] -
trunk/GSASIIimgGUI.py
r4105 r4107 325 325 #GSASIIpath.IPyBreak() 326 326 print('\nFitting',obsArr.shape[0],'ring picks...') 327 result = G2img.FitMultiDist(obsArr,varList,parmDict) 327 result = G2img.FitMultiDist(obsArr,varList,parmDict,covar=True) 328 covar = result[3] 329 covData = {'title':'Multi-distance recalibrate','covMatrix':covar,'varyList':varList,'variables':result[1]} 330 Id = G2gd.GetGPXtreeItemId(G2frame,G2frame.root,'Covariance') 331 G2frame.GPXtree.SetItemPyData(Id,covData) 332 328 333 # create a sequential table? 329 334 # Id = G2gd.GetGPXtreeItemId(G2frame,G2frame.root,'Sequential image calibration results')
Note: See TracChangeset
for help on using the changeset viewer.