Changeset 3287
- Timestamp:
- Feb 16, 2018 2:10:45 PM (5 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIImath.py
r3285 r3287 1646 1646 opr = drawatom[dcs-1] 1647 1647 sop,ssop,icent,cent,unit = G2spc.OpsfromStringOps(opr,SGData,SSGData) 1648 drxyz = (np.inner(sop[0],atxyz)+sop[1] )*icent+cent+np.array(unit)1648 drxyz = (np.inner(sop[0],atxyz)+sop[1]+cent)*icent+np.array(unit) 1649 1649 tauT = G2spc.getTauT(tau,sop,ssop,drxyz,modul)[-1] 1650 1650 tauT *= icent #invert wave on -1 -
trunk/GSASIIphsGUI.py
r3283 r3287 5564 5564 for key in Opp: 5565 5565 if noDuplicate(Opp[key],atomData): 5566 unit = np.array(eval(key))*1.-item[3]5566 unit = item[3]+np.array(eval(key))*1. 5567 5567 cell = '%d+%d,%d,%d'%(item[2],unit[0],unit[1],unit[2]) 5568 5568 atom[cx:cx+3] = Opp[key] 5569 5569 atom[cs-1] = cell 5570 5570 atomData.append(atom[:cuij+9]) #not SS stuff 5571 # GSASIIpath.IPyBreak()5572 5571 data['Drawing']['Atoms'] = atomData 5573 5572 finally: -
trunk/GSASIIspc.py
r3286 r3287 1673 1673 ''' 1674 1674 XYZ = (np.array(xyz)+10.)%1. 1675 cell = np.asarray(np.rint( xyz-XYZ),dtype=np.int32)1675 cell = np.asarray(np.rint(XYZ-xyz),dtype=np.int32) 1676 1676 return XYZ,cell 1677 1677 … … 1721 1721 Cell = [] 1722 1722 X = np.array(XYZ) 1723 if Move:1724 X = MoveToUnitCell(X)[0]1725 1723 for ic,cen in enumerate(SGData['SGCen']): 1726 1724 C = np.array(cen)
Note: See TracChangeset
for help on using the changeset viewer.