Changeset 612 for trunk/GSASIIphsGUI.py


Ignore:
Timestamp:
May 11, 2012 10:35:51 AM (10 years ago)
Author:
vondreele
Message:

complete combined x/n exercise & fix bugs uncovered in process
made version 0.2.0
moved tutorials in help menu to be 2nd
fixed problem with drawing after f-map generated
fixed some plot errors
reverse sign on macrostrain

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIphsGUI.py

    r609 r612  
    14421442#        elif generalData['Type'] == 'modulated':
    14431443#           ?????   for future
    1444         if not drawingData['Atoms']:
     1444        if not drawingData.get('Atoms'):
    14451445            for atom in atomData:
    14461446                DrawAtomAdd(drawingData,atom)
     
    17821782            dlg.Destroy()
    17831783            G2frame.dataFrame.SetStatusText('')
     1784            G2plt.PlotStructure(G2frame,data)
    17841785           
    17851786    def ResetAtomColors(event):
     
    36443645        mapData['Flip'] = False
    36453646        mapSig = np.std(mapData['rho'])
     3647        if not data['Drawing']:                 #if new drawing - no drawing data!
     3648            SetupDrawingData()
    36463649        data['Drawing']['contourLevel'] = 1.
    36473650        data['Drawing']['mapSize'] = 10.
    36483651        print mapData['MapType']+' computed: rhomax = %.3f rhomin = %.3f sigma = %.3f'%(np.max(mapData['rho']),np.min(mapData['rho']),mapSig)
     3652        UpdateDrawAtoms()
    36493653        G2plt.PlotStructure(G2frame,data)
    36503654       
     
    37013705        G2frame.dataFrame.Bind(wx.EVT_MENU, OnPeaksMove, id=G2gd.wxID_PEAKSMOVE)
    37023706        G2frame.dataFrame.Bind(wx.EVT_MENU, OnPeaksClear, id=G2gd.wxID_PEAKSCLEAR)
     3707        UpdateDrawAtoms()
    37033708        FillMapPeaksGrid()
    37043709        G2plt.PlotStructure(G2frame,data)
Note: See TracChangeset for help on using the changeset viewer.