Changeset 281 for trunk/GSASIIpwdGUI.py


Ignore:
Timestamp:
May 4, 2011 4:18:44 PM (11 years ago)
Author:
vondreele
Message:

implement reusable GSAS-II image files that can be read into a new project.
fix order of color schemes in contour plots
fix azimuth values from image integration
fix use of correct data structure for calculat all pdfs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpwdGUI.py

    r273 r281  
    14171417        inst = self.PatternTree.GetItemPyData(G2gd.GetPatternTreeItemId(self,powId,'Instrument Parameters'))
    14181418        inst = dict(zip(inst[3],inst[1]))
    1419         auxPlot = G2pwd.CalcPDF(data,inst,xydata)
     1419        auxPlot = G2pwd.CalcPDF(Data,inst,xydata)
    14201420        PDFId = G2gd.GetPatternTreeItemId(self,self.root,'PDF '+powName[4:])
    14211421        self.PatternTree.SetItemPyData(G2gd.GetPatternTreeItemId(self,PDFId,'I(Q)'+powName[4:]),xydata['IofQ'])
     
    14281428        print 'Calculating PDF:'
    14291429        auxPlot = ComputePDF(data)
     1430        print 'Done calculating PDF:'
    14301431        Status.SetStatusText('PDF computed')
    14311432        for plot in auxPlot:
     
    14491450            Status.SetStatusText('All PDFs computed')
    14501451            G2plt.PlotISFG(self,newPlot=True,type='G(R)')
     1452            print ' Done calculating PDFs:'
    14511453       
    14521454    def OnShowTip(self,tip):
Note: See TracChangeset for help on using the changeset viewer.