Changeset 3693
- Timestamp:
- Oct 22, 2018 3:08:06 PM (4 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIconstrGUI.py
r3691 r3693 1283 1283 parm = '%d::%s'%(pId,Aname) 1284 1284 return parm 1285 1285 1286 1286 Histograms,Phases = G2frame.GetUsedHistogramsAndPhasesfromTree() 1287 1287 UseList = newPhase['Histograms'] … … 1368 1368 # Dep[0] *= -1 1369 1369 # constraints['Phase'].append([IndpCon]+DepConsDict[Usi]+[0.0,None,'c']) 1370 1371 1372 1373 1374 1375 # for iu in list(set(CSU[0])):1376 # if not iu:1377 # continue1378 # Uid = Uids[iu-1]1379 # IndpCon = [1.0,G2obj.G2VarObj('%d::%s:%s'%(npId,Uid[2],ia))]1380 # DepCons = []1381 # for iau in range(3):1382 # for ibu in range(3):1383 # if abs(Trans[Uid[0],iau]) > 1.e-4 and abs(Trans[Uid[1],ibu]) > 1.e-4:1384 # parm = '%d::%s:%s'%(opId,unames[ibu][iau],iat)1385 # if not parm in varyList:1386 # varyList.append(parm)1387 # DepCons.append([Trans[ibu,iau]/detTrans,G2obj.G2VarObj(parm)])1388 # if len(DepCons) == 1:1389 # constraints['Phase'].append([DepCons[0],IndpCon,None,None,'e'])1390 # elif len(DepCons) > 1:1391 # for Dep in DepCons:1392 # Dep[0] *= -11393 # constraints['Phase'].append([IndpCon]+DepCons+[0.0,None,'c'])1394 1370 1395 1371 #how do I do Uij's for most Trans? -
trunk/GSASIIphsGUI.py
r3687 r3693 595 595 title = 'Magnetic atom selection' 596 596 wx.Dialog.__init__(self,parent,wx.ID_ANY,title, 597 pos=wx.DefaultPosition,style=wx.DEFAULT_DIALOG_STYLE )597 pos=wx.DefaultPosition,style=wx.DEFAULT_DIALOG_STYLE|wx.RESIZE_BORDER) 598 598 self.panel = wxscroll.ScrolledPanel(self) #just a dummy - gets destroyed in Draw! 599 599 # self.panel = wx.Panel(self) #just a dummy - gets destroyed in Draw! … … 2564 2564 generalData['SGData'] = copy.deepcopy(magchoice['SGData']) 2565 2565 generalData['Cell'][1:] = magchoice['Cell'][:] 2566 generalData['MagDmin'] = 1.0 2566 2567 SGData = generalData['SGData'] 2567 2568 vvec = np.array([0.,0.,0.]) -
trunk/GSASIIpwdGUI.py
r3687 r3693 3417 3417 mSGData = phase['SGData'] 3418 3418 text,table = G2spc.SGPrint(mSGData,AddInv=True) 3419 if 'magAt oms' in phase:3419 if 'magAtms' in phase: 3420 3420 msg = 'Magnetic space group information for '+phase['Name'] 3421 3421 text[0] = ' Magnetic Space Group: '+mSGData['MagSpGrp']
Note: See TracChangeset
for help on using the changeset viewer.