Changeset 758 for trunk/GSASIIphsGUI.py
- Timestamp:
- Sep 16, 2012 3:16:27 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIphsGUI.py
r757 r758 1566 1566 'vdwScale':0.67,'ellipseProb':50,'sizeH':0.50,'unitCellBox':False, 1567 1567 'showABC':True,'selectedAtoms':[],'Atoms':[],'oldxy':[], 1568 'bondList':{},'viewDir':[0,0,1]} 1569 defaultDrawing['Quaternion'] = G2mth.AV2Q(2*np.pi,np.inner(Amat,[0,0,1])) 1568 'bondList':{},'viewDir':[1,0,0]} 1569 V0 = np.array([0,0,1]) 1570 V = np.inner(Amat,V0) 1571 V /= np.sqrt(np.sum(V**2)) 1572 A = np.arccos(np.sum(V*V0)) 1573 defaultDrawing['Quaternion'] = G2mth.AV2Q(A,[0,1,0]) 1570 1574 try: 1571 1575 drawingData = data['Drawing'] … … 1843 1847 drawAtoms.SetAttr(i,cs+2,attr) 1844 1848 dlg.Destroy() 1845 # event.StopPropagation()1846 1849 UpdateDrawAtoms() 1847 1850 G2plt.PlotStructure(G2frame,data)
Note: See TracChangeset
for help on using the changeset viewer.