Ignore:
Timestamp:
May 4, 2015 9:10:23 AM (10 years ago)
Author:
vondreele
Message:

redefine azimuthal angle in Sample Parms as the center of the azimuthal bin; the azimuthat angle in Instrument parms is defined as the mean angle for polarization (only 0-90 & slightly different)
some cosmetic changes to GUI displays
fix imports/G2pwd_fxye.py to handle multi time-maps found in HIPPO data & the slightly screwy one in HIPD data

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/GSASIIddataGUI.py

    r1830 r1834  
    145145        scaleRef.SetValue(UseList[G2frame.hist]['Scale'][1])
    146146        scaleRef.Bind(wx.EVT_CHECKBOX, OnScaleRef)
    147         scaleSizer.Add(scaleRef,0,WACV)
     147        scaleSizer.Add(scaleRef,0,WACV|wx.LEFT,5)
    148148        scaleVal = wx.TextCtrl(DData,wx.ID_ANY,
    149149            '%.4f'%(UseList[G2frame.hist]['Scale'][0]),style=wx.TE_PROCESS_ENTER)
     
    470470        Indx[lgmixRef.GetId()] = [G2frame.hist,name]
    471471        lgmixRef.Bind(wx.EVT_CHECKBOX, OnRef)
    472         lgmixSizer.Add(lgmixRef,0,WACV)
     472        lgmixSizer.Add(lgmixRef,0,WACV|wx.LEFT,5)
    473473        lgmixVal = wx.TextCtrl(DData,wx.ID_ANY,
    474474            '%.4f'%(UseList[G2frame.hist][name][1][2]),style=wx.TE_PROCESS_ENTER)
     
    476476        lgmixVal.Bind(wx.EVT_TEXT_ENTER,OnVal)
    477477        lgmixVal.Bind(wx.EVT_KILL_FOCUS,OnVal)
    478         lgmixSizer.Add(lgmixVal,0,WACV)
     478        lgmixSizer.Add(lgmixVal,0,WACV|wx.LEFT,5)
    479479        return lgmixSizer
    480480                   
     
    486486        Indx[reset.GetId()] = [G2frame.hist,name]
    487487        reset.Bind(wx.EVT_CHECKBOX,OnReset)
    488         resetSizer.Add(reset,0,WACV|wx.TOP,5)
     488        resetSizer.Add(reset,0,WACV|wx.TOP|wx.LEFT,5)
    489489        return resetSizer
    490490       
     
    496496        Indx[sizeRef.GetId()] = [G2frame.hist,0]
    497497        sizeRef.Bind(wx.EVT_CHECKBOX, OnRef)
    498         isoSizer.Add(sizeRef,0,WACV)
     498        isoSizer.Add(sizeRef,0,WACV|wx.LEFT,5)
    499499        sizeVal = wx.TextCtrl(DData,wx.ID_ANY,
    500500            fmt%(UseList[G2frame.hist][parm][1][0]),style=wx.TE_PROCESS_ENTER)
     
    583583            Indx[hstrainRef.GetId()] = [G2frame.hist,id]
    584584            hstrainRef.Bind(wx.EVT_CHECKBOX, OnHstrainRef)
    585             hstrainSizer.Add(hstrainRef,0,WACV)
     585            hstrainSizer.Add(hstrainRef,0,WACV|wx.LEFT,5)
    586586            hstrainVal = wx.TextCtrl(DData,wx.ID_ANY,'%.3g'%(val),style=wx.TE_PROCESS_ENTER)
    587587            Indx[hstrainVal.GetId()] = [G2frame.hist,id]
     
    654654            ODFval.Bind(wx.EVT_TEXT_ENTER,OnODFValue)
    655655            ODFval.Bind(wx.EVT_KILL_FOCUS,OnODFValue)
    656             ODFSizer.Add(ODFval,0,WACV)
     656            ODFSizer.Add(ODFval,0,WACV|wx.LEFT,5)
    657657        return ODFSizer
    658658       
     
    702702        extRef.SetValue(UseList[G2frame.hist]['Extinction'][1])
    703703        extRef.Bind(wx.EVT_CHECKBOX, OnExtRef)
    704         extSizer.Add(extRef,0,WACV)
     704        extSizer.Add(extRef,0,WACV|wx.LEFT,5)
    705705        extVal = wx.TextCtrl(DData,wx.ID_ANY,
    706706            '%.2f'%(UseList[G2frame.hist]['Extinction'][0]),style=wx.TE_PROCESS_ENTER)
     
    760760                Indx[Eref.GetId()] = [G2frame.hist,ekey]
    761761                Eref.Bind(wx.EVT_CHECKBOX, OnEref)
    762                 val2Sizer.Add(Eref,0,WACV)
     762                val2Sizer.Add(Eref,0,WACV|wx.LEFT,5)
    763763                Eval = wx.TextCtrl(DData,wx.ID_ANY,
    764764                    '%10.3e'%(UseList[G2frame.hist]['Extinction'][2][ekey][0]),style=wx.TE_PROCESS_ENTER)
     
    778778            Indx[babRef.GetId()] = [G2frame.hist,bab]
    779779            babRef.Bind(wx.EVT_CHECKBOX, OnBabRef)
    780             babSizer.Add(babRef,0,WACV)
     780            babSizer.Add(babRef,0,WACV|wx.LEFT,5)
    781781            babVal = wx.TextCtrl(DData,wx.ID_ANY,
    782782                '%.3f'%(UseList[G2frame.hist]['Babinet']['Bab'+bab][0]),style=wx.TE_PROCESS_ENTER)
     
    821821        useData.Bind(wx.EVT_CHECKBOX, OnUseData)
    822822        useData.SetValue(UseList[G2frame.hist]['Use'])
    823         bottomSizer.Add(showSizer,0,WACV|wx.TOP|wx.BOTTOM,5)
     823        bottomSizer.Add(showSizer,0,WACV|wx.TOP|wx.BOTTOM|wx.LEFT,5)
    824824       
    825825        bottomSizer.Add(ScaleSizer(),0,WACV|wx.BOTTOM,5)
Note: See TracChangeset for help on using the changeset viewer.