Changeset 3438 for trunk/GSASIIphsGUI.py


Ignore:
Timestamp:
Jun 18, 2018 11:35:30 AM (5 years ago)
Author:
vondreele
Message:

g2strIO
fix magnetic hkl extinctions in reflection generation
remove Uniq & Phi - never used
change all config 'debug' out put to have 'DBG' in message - many places
fix phoenix decode problem for Comments
Display transformation math on Transform dialog box & labels on matrix & vectors
use a general exception in getSelection (G2plot line 7141) to avoid crashes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIphsGUI.py

    r3437 r3438  
    385385        MatSizer = wx.BoxSizer(wx.HORIZONTAL)
    386386        transSizer = wx.BoxSizer(wx.VERTICAL)
    387         transSizer.Add(wx.StaticText(self.panel,label=" XYZ Transformation matrix & vectors: M*(X-U)+V = X'"))
     387        transSizer.Add((5,5),0)
     388        transSizer.Add(wx.StaticText(self.panel,label=
     389            " Cell transformation via g'=gM; g=metric tensor \n XYZ transformation via M*(X-U)+V = X'; M* = inv(M)"))
    388390#        if self.Super:
    389391#            Trmat = wx.FlexGridSizer(4,4,0,0)
     
    400402        commonSizer.Add(common,0,WACV)
    401403        transSizer.Add(commonSizer)
    402         Trmat = wx.FlexGridSizer(3,6,0,0)
     404        Trmat = wx.FlexGridSizer(4,6,0,0)
     405        Trmat.Add((10,0),0)
     406        Trmat.Add(wx.StaticText(self.panel,label='      M'),wx.ALIGN_CENTER)
     407        Trmat.Add((10,0),0)
     408        Trmat.Add((10,0),0)
     409        Trmat.Add(wx.StaticText(self.panel,label='      U'),wx.ALIGN_CENTER)
     410        Trmat.Add(wx.StaticText(self.panel,label='      V'),wx.ALIGN_CENTER)
     411       
    403412        for iy,line in enumerate(self.Trans):
    404413            for ix,val in enumerate(line):
     
    444453                mainSizer.Add(BNSizer,0,WACV)
    445454            else:
    446                 mag = wx.Button(self.panel,label=' Make new phase magnetic?')
     455                mag = wx.Button(self.panel,label='Make new phase magnetic?')
    447456                mag.Bind(wx.EVT_BUTTON,OnMag)
    448457                mainSizer.Add(mag,0,WACV)
     
    450459                label=' NB: Nonmagnetic atoms will be deleted from new phase'),0,WACV)
    451460            constr = wx.CheckBox(self.panel,label=' Make constraints between phases?')
    452             mainSizer.Add(wx.StaticText(self.panel, \
    453                 label=' Constraints not correct for non-diagonal transforms'),0,WACV)
     461#            mainSizer.Add(wx.StaticText(self.panel, \
     462#                label=' Constraints not correct for non-diagonal transforms'),0,WACV)
    454463            constr.SetValue(self.ifConstr)
    455464            constr.Bind(wx.EVT_CHECKBOX,OnConstr)
Note: See TracChangeset for help on using the changeset viewer.