Changeset 2090
- Timestamp:
- Dec 11, 2015 3:06:27 PM (7 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIindex.py
r2076 r2090 870 870 print "%s %.4f %s %d %s %d" % ('Zero =',zero,'Nc/No max =',ncno,' Max Nc =',ncno*Nobs) 871 871 cells = [] 872 lastcell = np.zeros(7) 872 873 for ibrav in range(14): 873 874 begin = time.time() … … 917 918 V = G2lat.calc_V(A) 918 919 if M20 >= 2.0: 919 print "%10.3f %3d %3d %10.5f %10.5f %10.5f %10.3f %10.3f %10.3f %10.2f %10.2f" % (M20,X20,Nc,a,b,c,alp,bet,gam,V,V1) 920 cells.append([M20,X20,ibrav,a,b,c,alp,bet,gam,V,False,False]) 920 cell = [M20,X20,ibrav,a,b,c,alp,bet,gam,V,False,False] 921 newcell = np.array(cell[3:10]) 922 if not np.allclose(newcell,lastcell): 923 print "%10.3f %3d %3d %10.5f %10.5f %10.5f %10.3f %10.3f %10.3f %10.2f %10.2f" \ 924 %(M20,X20,Nc,a,b,c,alp,bet,gam,V,V1) 925 cells.append(cell) 926 lastcell = np.array(cell[3:10]) 921 927 if not GoOn: 922 928 break -
trunk/GSASIIpwdGUI.py
r2056 r2090 2794 2794 UnitCellsTable.SetValue(i,c,False) 2795 2795 UnitCellsTable.SetValue(r,c,True) 2796 gridDisplay. Refresh()2796 gridDisplay.ForceRefresh() 2797 2797 cells[r][-2] = True 2798 2798 ibrav = cells[r][2]
Note: See TracChangeset
for help on using the changeset viewer.