Ignore:
Timestamp:
Nov 5, 2021 1:03:50 PM (2 years ago)
Author:
vondreele
Message:

fixes to RMCProfile stuff to accomodate creation of vacancies in partially occupied atom sites.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIdataGUI.py

    r5064 r5066  
    26932693            Id = self.GPXtree.AppendItem(self.root,text=HistName)
    26942694            Ymin = np.min(rd.pdfdata[1])                 
    2695             Ymax = np.max(rd.pdfdata[1])                 
     2695            Ymax = np.max(rd.pdfdata[1])
     2696            Rmin = np.min(rd.pdfdata[0])                 
     2697            Rmax = np.max(rd.pdfdata[0])                 
    26962698            valuesdict = {
    26972699                'wtFactor':1.0,'Dummy':False,'ranId':ran.randint(0,sys.maxsize),
     
    27022704            self.GPXtree.SetItemPyData(self.GPXtree.AppendItem(Id,text='PDF Controls'),
    27032705                {'G(R)':[valuesdict,rd.pdfdata,HistName],'diffGRname':'','diffMult':1.0,'Rmax':Ymax,'Type':rd.Type,
    2704                  'dscale':[1.0,False],'Fitrange':[Ymin,Ymax],'qdamp':[0.03,False],'qbroad':[0,False]})
     2706                 'dscale':[1.0,False],'Fitrange':[Rmin,Rmax],'qdamp':[0.03,False],'qbroad':[0,False]})
    27052707            self.GPXtree.SetItemPyData(self.GPXtree.AppendItem(Id,text='PDF Peaks'),
    27062708                {'Limits':[1.,5.],'Background':[2,[0.,-0.2*np.pi],False],'Peaks':[]})
Note: See TracChangeset for help on using the changeset viewer.