Ignore:
Timestamp:
Jun 25, 2017 11:23:22 PM (6 years ago)
Author:
toby
Message:

Plot each histogram after fitting in a sequential refinement

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIstrMain.py

    r2876 r2877  
    256256    return [item for item in phaseVary if item.split(':')[0] in pIds]
    257257
    258 def SeqRefine(GPXfile,dlg):
     258def SeqRefine(GPXfile,dlg,PlotFunction=None,G2frame=None):
    259259    '''Perform a sequential refinement -- cycles through all selected histgrams,
    260260    one at a time
     
    410410            IfOK,Rvals,result,covMatrix,sig = RefineCore(Controls,Histo,Phases,restraintDict,
    411411                rigidbodyDict,parmDict,varyList,calcControls,pawleyLookup,ifPrint,printFile,dlg)
     412            if PlotFunction:
     413                PlotFunction(G2frame,Histo[histogram]['Data'],histogram)
    412414   
    413415            print '  wR = %7.2f%%, chi**2 = %12.6g, reduced chi**2 = %6.2f, last delta chi = %.4f'%(
Note: See TracChangeset for help on using the changeset viewer.