Changeset 3438 for trunk/GSASIIphsGUI.py
- Timestamp:
- Jun 18, 2018 11:35:30 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIphsGUI.py
r3437 r3438 385 385 MatSizer = wx.BoxSizer(wx.HORIZONTAL) 386 386 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)")) 388 390 # if self.Super: 389 391 # Trmat = wx.FlexGridSizer(4,4,0,0) … … 400 402 commonSizer.Add(common,0,WACV) 401 403 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 403 412 for iy,line in enumerate(self.Trans): 404 413 for ix,val in enumerate(line): … … 444 453 mainSizer.Add(BNSizer,0,WACV) 445 454 else: 446 mag = wx.Button(self.panel,label=' 455 mag = wx.Button(self.panel,label='Make new phase magnetic?') 447 456 mag.Bind(wx.EVT_BUTTON,OnMag) 448 457 mainSizer.Add(mag,0,WACV) … … 450 459 label=' NB: Nonmagnetic atoms will be deleted from new phase'),0,WACV) 451 460 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) 454 463 constr.SetValue(self.ifConstr) 455 464 constr.Bind(wx.EVT_CHECKBOX,OnConstr)
Note: See TracChangeset
for help on using the changeset viewer.