Ignore:
Timestamp:
Oct 10, 2019 9:57:28 AM (3 years ago)
Author:
vondreele
Message:

fix transform for abc* matrix transposed; fix rounding issue fro transformed atoms
fix mag ss symmetry issues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIlattice.py

    r3888 r4175  
    344344        newPhase['Draw Atoms'] = []
    345345    for atom in newAtoms:
    346         atom[cx:cx+3] = TransformXYZ(atom[cx:cx+3]+Uvec,invTrans.T,Vvec)%1.
     346        xyz = TransformXYZ(atom[cx:cx+3]+Uvec,invTrans.T,Vvec)%1.
     347        atom[cx:cx+3] = np.around(xyz,6)%1.
    347348        if atom[cia] == 'A':
    348349            atom[cia+2:cia+8] = TransformU6(atom[cia+2:cia+8],Trans)
Note: See TracChangeset for help on using the changeset viewer.