Changeset 4191 for trunk/GSASIIphsGUI.py


Ignore:
Timestamp:
Nov 13, 2019 8:18:50 AM (2 years ago)
Author:
vondreele
Message:

put in dummy phase tab & menu for fullrmc
partial implementation of pdf from TOF data; lacks absorption & wavelength dependent scattering length effects.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIphsGUI.py

    r4183 r4191  
    43264326            wx.MessageBox('Dysnomia failed to make new structure factors','Dysnomia Error',
    43274327                style=wx.ICON_ERROR)
    4328        
    4329        
     4328
     4329################################################################################
     4330#### fullrmc Data page
     4331################################################################################
     4332
     4333    def UpdateFullRMC():
     4334        ''' Present the controls for running fullrmc
     4335        '''
     4336        generalData = data['General']
     4337        pName = generalData['Name'].replace(' ','_')
     4338       
     4339    def OnSetupFullRMC(event):
     4340        print('Setup new run.py - not yet implemented')
     4341           
     4342    def OnLoadFullRMC(event):
     4343        print('Load run.py - not yet implemented')
     4344       
     4345    def OnSaveFullRMC(event):
     4346        print('Save run.py - not yet implemented')
     4347
     4348    def OnEditFullRMC(event):
     4349        print('Edit run.py - not yet implemented')
     4350
     4351    def OnRunFullRMC(event):
     4352        print('Run run.py - not yet implemented')
     4353
     4354           
    43304355################################################################################
    43314356#### Layer Data page
     
    97489773            G2gd.SetDataMenuBar(G2frame,G2frame.dataWindow.MEMMenu)
    97499774            UpdateDysnomia()
     9775        elif text == 'fullrmc':
     9776            G2gd.SetDataMenuBar(G2frame,G2frame.dataWindow.FRMCMenu)
     9777            UpdateFullRMC()
    97509778        elif text == 'Draw Options':
    97519779            G2gd.SetDataMenuBar(G2frame,G2frame.dataWindow.DataDrawOptions)
     
    98929920        G2frame.Bind(wx.EVT_MENU, OnPeaksDelete, id=G2G.wxID_PEAKSDELETE)
    98939921        G2frame.Bind(wx.EVT_MENU, OnPeaksClear, id=G2G.wxID_PEAKSCLEAR)
     9922        # fullrmc
     9923        FillSelectPageMenu(TabSelectionIdDict, G2frame.dataWindow.FRMCMenu)
     9924        G2frame.Bind(wx.EVT_MENU, OnSetupFullRMC, id=G2G.wxID_SETUPFULLRMC)
     9925        G2frame.Bind(wx.EVT_MENU, OnLoadFullRMC, id=G2G.wxID_LOADFULLRMC)
     9926        G2frame.Bind(wx.EVT_MENU, OnSaveFullRMC, id=G2G.wxID_SAVEFULLRMC)
     9927        G2frame.Bind(wx.EVT_MENU, OnEditFullRMC, id=G2G.wxID_EDITFULLRMC)
     9928        G2frame.Bind(wx.EVT_MENU, OnRunFullRMC, id=G2G.wxID_RUNFULLRMC)
    98949929        # MC/SA
    98959930        FillSelectPageMenu(TabSelectionIdDict, G2frame.dataWindow.MCSAMenu)
     
    998310018        G2frame.phaseDisplay.AddPage(G2frame.MCSA,'MC/SA')
    998410019        Pages.append('MC/SA')
     10020        G2frame.FRMC = wx.ScrolledWindow(G2frame.phaseDisplay)
     10021        G2frame.phaseDisplay.AddPage(G2frame.FRMC,'fullrmc')
     10022        Pages.append('fullrmc')
    998510023    Texture = wx.ScrolledWindow(G2frame.phaseDisplay)
    998610024    G2frame.phaseDisplay.AddPage(Texture,'Texture')
Note: See TracChangeset for help on using the changeset viewer.