Changeset 2504
- Timestamp:
- Oct 25, 2016 1:10:18 PM (7 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIgrid.py
r2502 r2504 1563 1563 self.PostfillDataMenu(empty=True) 1564 1564 1565 # Constraints - something amiss here - get weird wx C++ error after refine!1565 # Constraints 1566 1566 self.ConstraintMenu = wx.MenuBar() 1567 1567 self.PrefillDataMenu(self.ConstraintMenu,helpType='Constraints') -
trunk/GSASIIobj.py
r2473 r2504 1596 1596 if self.atom == '*': 1597 1597 s += "Atoms: all; " 1598 elif ":" in s elf(self.atom):1598 elif ":" in str(self.atom): 1599 1599 s += "Rigid body" + str(self.atom) + "; " 1600 1600 elif self.atom is not None: -
trunk/GSASIIphsGUI.py
r2501 r2504 1391 1391 phaseName += ' mag' 1392 1392 newPhase = G2lat.TransformPhase(data,newPhase,Trans,Vec,ifMag) 1393 detTrans = np.abs(nl.det(Trans)) 1393 1394 1394 1395 generalData = newPhase['General'] … … 1398 1399 UseList = newPhase['Histograms'] 1399 1400 for hist in UseList: 1401 UseList[hist]['Scale'] /= detTrans #scale by 1/volume ratio 1400 1402 UseList[hist]['Mustrain'][4:6] = [NShkl*[0.01,],NShkl*[False,]] 1401 1403 UseList[hist]['HStrain'] = [NDij*[0.0,],NDij*[False,]] … … 1405 1407 G2frame.PatternTree.SetItemPyData(sub,newPhase) 1406 1408 if ifMag and ifConstr: 1407 G2cnstG.MagConstraints(G2frame,data,newPhase,Trans,Vec ) #data is old phase1408 G2 gd.MovePatternTreeToGrid(G2frame,sub) #bring up new phase General tab1409 # if nuc - mag transformtion: make constraints here? Needed for Type 4 magnetics 1409 G2cnstG.MagConstraints(G2frame,data,newPhase,Trans,Vec,) #data is old phase 1410 G2frame.PatternTree.SelectItem(sub) 1411 # G2gd.MovePatternTreeToGrid(G2frame,sub) #bring up new phase General tab 1410 1412 1411 1413 ################################################################################
Note: See TracChangeset
for help on using the changeset viewer.