Changeset 2219 for trunk/GSASIIlattice.py
- Timestamp:
- Apr 19, 2016 11:02:36 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIlattice.py
r2218 r2219 261 261 for atom in Atoms: 262 262 XYZ = np.array(atom[cx:cx+3]) 263 xyz = XYZ%1. 264 unit = XYZ-xyz 263 265 if atom[cia] == 'A': 264 266 Uij = atom[cia+2:cia+8] 265 result = G2spc.GenAtom( XYZ,SGData,False,Uij,True)267 result = G2spc.GenAtom(xyz,SGData,False,Uij,True) 266 268 for item in result: 267 269 if item[0][2] >= .95: item[0][2] -= 1. 268 atom[cx:cx+3] = item[0] 270 atom[cx:cx+3] = item[0]+unit 269 271 atom[cia+2:cia+8] = item[1] 270 272 atomData.append(atom[:cia+9]) #not SS stuff … … 273 275 for item in result: 274 276 if item[0][2] >= .95: item[0][2] -= 1. 275 atom[cx:cx+3] = item[0] 277 atom[cx:cx+3] = item[0]+unit 276 278 atomData.append(atom[:cia+9]) #not SS stuff 277 279 return atomData
Note: See TracChangeset
for help on using the changeset viewer.