Changeset 4540


Ignore:
Timestamp:
Aug 12, 2020 1:54:34 PM (14 months ago)
Author:
vondreele
Message:

another fix to Instrument Parameters plot for pink peaks

remove commented out code

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r4539 r4540  
    56775677            Xp.append(4.0*math.pi*sind(peak[0]/2.0)/lam)
    56785678            try:
    5679                 s = math.sqrt(peak[4])*math.pi/18000.
     5679                s = math.sqrt(peak[isig])*math.pi/18000.
    56805680            except ValueError:
    56815681                s = 0.01
    5682             g = peak[6]*math.pi/18000.
     5682            g = peak[igam]*math.pi/18000.
    56835683            G = G2pwd.getgamFW(g,s)         #/2.
    56845684            Yp.append(sq8ln2*s/tand(peak[0]/2.))
  • trunk/GSASIIpwdGUI.py

    r4536 r4540  
    912912        UpdatePeakGrid(G2frame,newpeaks)
    913913               
    914 #    def RefreshPeakGrid(event):
    915 #       
    916 #        event.StopPropagation()
    917 #        data['peaks'] = G2frame.PeakTable.GetData()
    918 #        T = []
    919 #        for peak in data['peaks']:T.append(peak[0])
    920 #        D = dict(zip(T,data['peaks']))
    921 #        T.sort()
    922 #        X = []
    923 #        for key in T: X.append(D[key])
    924 #        data['peaks'] = X       
    925        
    926914    def setBackgroundColors():
    927915       for r in range(reflGrid.GetNumberRows()):
Note: See TracChangeset for help on using the changeset viewer.