Changeset 3287 for trunk/GSASIImath.py


Ignore:
Timestamp:
Feb 16, 2018 2:10:45 PM (5 years ago)
Author:
vondreele
Message:

fix atom transformation issues in modulation drawings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIImath.py

    r3285 r3287  
    16461646            opr = drawatom[dcs-1]
    16471647            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)
    16491649            tauT = G2spc.getTauT(tau,sop,ssop,drxyz,modul)[-1]
    16501650            tauT *= icent       #invert wave on -1
Note: See TracChangeset for help on using the changeset viewer.