Changeset 1994 for trunk/GSASIIimgGUI.py


Ignore:
Timestamp:
Oct 8, 2015 7:02:13 PM (8 years ago)
Author:
toby
Message:

additions to test Andrey's Auto Image Integration

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIimgGUI.py

    r1944 r1994  
    117117        G2frame.dataFrame.GetStatusBar().SetStatusText('Select > 4 points on 1st used ring; LB to pick, RB on point to delete else RB to finish')
    118118        G2frame.ifGetRing = True
    119        
     119               
    120120    def OnRecalibrate(event):
    121121        G2img.ImageRecalibrate(G2frame,data,masks)
     
    10531053    G2frame.dataFrame.Bind(wx.EVT_MENU, OnSaveControls, id=G2gd.wxID_IMSAVECONTROLS)
    10541054    G2frame.dataFrame.Bind(wx.EVT_MENU, OnLoadControls, id=G2gd.wxID_IMLOADCONTROLS)
     1055    try: # remove after AutoInt is completed
     1056        import autoint
     1057        def OnAutoInt(event):
     1058            frame = autoint.AutoIntFrame(G2frame,PollTime=5.0)
     1059
     1060        G2frame.dataFrame.Bind(wx.EVT_MENU, OnAutoInt, id=G2gd.wxID_IMAUTOINTEG)
     1061        print "development code: AutoInt found"
     1062    except ImportError:
     1063        pass
    10551064    G2frame.dataDisplay = wx.Panel(G2frame.dataFrame)
    10561065
Note: See TracChangeset for help on using the changeset viewer.