Changeset 4697 for trunk/GSASIIpwdGUI.py


Ignore:
Timestamp:
Jan 2, 2021 9:30:28 AM (3 years ago)
Author:
vondreele
Message:

move superminusone definition to header block in G2pwdrGUI
replace deprecated GetLabel? with GetItemLabelText? in G2restrGUI
set default gain map color to 'gray' & force all gain map > 1200 or < 800 toequal 1000 - gets rid of zingers & other flaws

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpwdGUI.py

    r4695 r4697  
    6565    Pwrm4 = unichr(0x207b)+unichr(0x2074)
    6666    Angstr = unichr(0x00c5)
     67    superMinusOne = unichr(0xaf)+unichr(0xb9)
    6768else:
    6869    GkDelta = chr(0x0394)
     
    7475    Pwrm4 = chr(0x207b)+chr(0x2074)
    7576    Angstr = chr(0x00c5)   
     77    superMinusOne = chr(0xaf)+chr(0xb9)
    7678# trig functions in degrees
    7779sind = lambda x: math.sin(x*math.pi/180.)
     
    13931395        pwddata = G2frame.GPXtree.GetItemPyData(PatternId)[1]
    13941396        auxPlot = G2pwd.MakeRDF(RDFcontrols,background,inst,pwddata)
    1395         if '2' in platform.python_version_tuple()[0]:
    1396             superMinusOne = unichr(0xaf)+unichr(0xb9)
    1397         else:
    1398             superMinusOne = chr(0xaf)+chr(0xb9)
    13991397        for plot in auxPlot:
    14001398            XY = np.array(plot[:2])
Note: See TracChangeset for help on using the changeset viewer.