Changeset 4860 for trunk


Ignore:
Timestamp:
Mar 20, 2021 12:33:38 PM (2 years ago)
Author:
vondreele
Message:

change titles & labels for shift/esd plot since it plots intiial value-result/esd not last shift/esd

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIdataGUI.py

    r4857 r4860  
    73747374        shftesd = data['Lastshft']/data['sig']
    73757375       
    7376         G2plt.PlotNamedFloatHBarGraph(G2frame,shftesd,data['varyList'],Xlabel='Last shift/esd',
    7377             Ylabel='Variables',Title='Last shift/esd',PlotName='Shift/esd')
     7376        G2plt.PlotNamedFloatHBarGraph(G2frame,shftesd,data['varyList'],Xlabel='Total shift/esd',
     7377            Ylabel='Variables',Title='Total shift/esd',PlotName='Shift/esd')
    73787378   
    73797379    if G2frame.PickIdText == G2frame.GetTreeItemsList(item): # don't redo the current data tree item
  • trunk/GSASIIstrMain.py

    r4857 r4860  
    253253            covMatrix = result[1]*Rvals['GOF']**2
    254254            sig = np.sqrt(np.diag(covMatrix))
    255             Lastshft = result[0]-values
     255            Lastshft = result[0]-values     #NOT last shift since values is starting set before current refinement
    256256            Rvals['Max shft/sig'] = np.max(np.nan_to_num(Lastshft/sig))
    257257            if np.any(np.isnan(sig)) or not sig.shape:
Note: See TracChangeset for help on using the changeset viewer.