Changeset 2673 for trunk/GSASIIimgGUI.py


Ignore:
Timestamp:
Jan 30, 2017 10:05:43 AM (5 years ago)
Author:
vondreele
Message:

moved GetFileList? to top of G2pwdGUI - needed in two places. The one on GSASII doesn't seem to work & isn't used anywhere.
Put missing import of G2elem & tof2q lambda in G2imgGUI.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIimgGUI.py

    r2671 r2673  
    3030import GSASIIimage as G2img
    3131import GSASIImath as G2mth
     32import GSASIIElem as G2elem
    3233import GSASIIpwdGUI as G2pdG
    3334import GSASIIplot as G2plt
     
    4748asind = lambda x: 180.*math.asin(x)/math.pi
    4849tth2q = lambda t,w:4.0*math.pi*sind(t/2.0)/w
     50tof2q = lambda t,C:2.0*math.pi*C/t
    4951atand = lambda x: 180.*math.atan(x)/math.pi
    5052atan2d = lambda y,x: 180.*math.atan2(y,x)/math.pi
     
    28262828                Qlimits = [0.9*qMax,qMax]
    28272829
    2828                 PWDRname = pwdr[4:]
    28292830                item = pwdr
    28302831                Comments = G2frame.PatternTree.GetItemPyData(G2gd.GetPatternTreeItemId(
Note: See TracChangeset for help on using the changeset viewer.