Changeset 3396 for trunk/GSASIIphsGUI.py
- Timestamp:
- May 22, 2018 3:51:10 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIphsGUI.py
r3393 r3396 5734 5734 cx = colLabels.index('x') 5735 5735 cn = colLabels.index('Name') 5736 cs = colLabels.index('Sym Op') 5736 5737 for i in indx: 5737 5738 atom = atomDData[i] 5738 5739 Dx = np.array(atom[cx:cx+3])-viewPt 5739 5740 dist = np.sqrt(np.sum(np.inner(Amat,Dx)**2,axis=0)) 5740 print ('Atom: %8s (%12s) distance = %.3f'%(atom[cn],atom[c x+3],dist))5741 print ('Atom: %8s (%12s) distance = %.3f'%(atom[cn],atom[cs],dist)) 5741 5742 5742 5743 def OnDrawDAT(event):
Note: See TracChangeset
for help on using the changeset viewer.