Changeset 1839 for trunk/GSASIIphsGUI.py


Ignore:
Timestamp:
May 6, 2015 4:42:51 PM (8 years ago)
Author:
vondreele
Message:

provide graphical display for texture fit, change weighting scheme & suppress negatives

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIphsGUI.py

    r1837 r1839  
    59855985        if Error:
    59865986            wx.MessageBox(Error,caption='Fit Texture Error',style=wx.ICON_EXCLAMATION)
     5987#        x = []
     5988#        y = []
     5989        XY = []
    59875990        for hist in keyList:
    5988             print ' Texture corrections for '+hist
    5989             for ref in refData[hist]:
    5990                 print ' %d %d %d %.3f %.3f'%(int(ref[0]),int(ref[1]),int(ref[2]),ref[5],ref[6])
     5991            x = refData[hist].T[5].T
     5992            y = refData[hist].T[6].T
     5993            xy = [x,y]
     5994            XY.append(np.array(xy))
     5995        XY = np.array(XY)
     5996        G2plt.PlotXY(G2frame,XY,XY2=[],labelX='POobs',labelY='POcalc',newPlot=False,Title='Texture fit error')
    59915997        UpdateTexture()
    59925998        G2plt.PlotTexture(G2frame,data,Start=False)           
Note: See TracChangeset for help on using the changeset viewer.